CVE-2022-2639

medium
Published 2022-11-15 · Modified 2022-11-11
CVSS v3
CVSS v2
VIR risk
5.5

Description

An integer coercion error was found in the openvswitch kernel module. Given a sufficiently large number of actions, while copying and reserving memory for a new action of a new flow, the reserve_sfa_size() function does not return -EMSGSIZE as expected, potentially leading to an out-of-bounds write access. This flaw allows a local user to crash or potentially escalate their privileges on the system.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2022-8267.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2022-7444.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2022:7444

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2022-7683.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2120175

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2112693

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2096178

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2070220

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2069408

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2062284

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/1946279

vendor Authored 2026-05-27

Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2022:7683

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-2639

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2022:7444

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-2639.html

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2022:7683

vendor Authored 2026-05-27

Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2022:8267

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2022-7933.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2129152

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2123695

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2115278

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2115065

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2114878

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2103153

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2103148

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2090241

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2090240

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2090237

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2090226

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2089815

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2088021

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2084479

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2084183

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2084125

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2074208

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2073064

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2071022

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2070205

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2066819

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2066706

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2066614

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2059928

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2058395

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2053632

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2052312

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2051444

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2037386

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/1980646

vendor Authored 2026-05-27

Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2022:7933

Mitigation details

Source: Red Hat Errata — Red Hat Inc. · View original ↗ · Open-Errata-API

Description kernel: openvswitch: integer underflow leads to out-of-bounds write in reserve_sfa_size() Red Hat statement The `openvswitch` is not supported out of the Layered Products subscriptions (OCP, OSP, RHV). There are no Layered Products based on Red Hat Enterprise Linux 7 at the present time. Therefore, this CVE is not planned to be addressed on Red Hat Enterprise Linux 7. CVSS v3: 7.8…

Description

kernel: openvswitch: integer underflow leads to out-of-bounds write in reserve_sfa_size()

Red Hat statement

The `openvswitch` is not supported out of the Layered Products subscriptions (OCP, OSP, RHV). There are no Layered Products based on Red Hat Enterprise Linux 7 at the present time. Therefore, this CVE is not planned to be addressed on Red Hat Enterprise Linux 7.

CVSS v3: 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

Errata / fixed releases

ProductPackageAdvisoryReleased
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-425.3.1.rt7.213.el8RHSA-2022:74442022-11-08T00:00:00Z
Red Hat Enterprise Linux 8kernel-0:4.18.0-425.3.1.el8RHSA-2022:76832022-11-08T00:00:00Z
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskernel-0:4.18.0-147.78.1.el8_1RHSA-2023:00582023-01-10T00:00:00Z
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchRHSA-2023:00592023-01-10T00:00:00Z
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.95.1.el8_2RHSA-2022:89402022-12-13T00:00:00Z
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.95.1.rt13.146.el8_2RHSA-2022:89412022-12-13T00:00:00Z
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.95.1.el8_2RHSA-2022:89402022-12-13T00:00:00Z
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.95.1.el8_2RHSA-2022:89402022-12-13T00:00:00Z
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchRHSA-2022:89892022-12-13T00:00:00Z
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-rt-0:4.18.0-305.72.1.rt7.144.el8_4RHSA-2022:87652022-12-02T00:00:00Z
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-0:4.18.0-305.72.1.el8_4RHSA-2022:87672022-12-02T00:00:00Z
Red Hat Enterprise Linux 8.4 Extended Update Supportkpatch-patchRHSA-2022:87682022-12-02T00:00:00Z
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.36.1.el8_6RHSA-2022:88092022-12-06T00:00:00Z
Red Hat Enterprise Linux 8.6 Extended Update Supportkpatch-patchRHSA-2022:88312022-12-06T00:00:00Z
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.6.1.el9_1RHSA-2022:82672022-11-15T00:00:00Z
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-162.6.1.rt21.168.el9_1RHSA-2022:79332022-11-15T00:00:00Z
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.6.1.el9_1RHSA-2022:82672022-11-15T00:00:00Z
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.36.1.el9_0RHSA-2022:89732022-12-13T00:00:00Z
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.36.1.rt21.108.el9_0RHSA-2022:89742022-12-13T00:00:00Z
Red Hat Enterprise Linux 9.0 Extended Update Supportkpatch-patchRHSA-2022:90822022-12-15T00:00:00Z
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.36.1.el8_6RHSA-2022:88092022-12-06T00:00:00Z

Package state

ProductPackageState
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelWill not fix
Red Hat Enterprise Linux 7kernel-rtWill not fix

Apply commands

bash fix
Apply RHSA-2022:7444 for Red Hat Enterprise Linux 8
yum update -y kernel-rt
# or:
dnf upgrade -y kernel-rt

Affected

VendorProductVersion
redhatRed Hat Enterprise Linux 6Not affected

OS impact

OSVersionStatusFixed in
redhat rhel9fixed
almalinux almalinux9fixedkernel-rt-debug-core-5.14.0-162.6.1.rt21.168.el9_1.x86_64.rpm
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed5.17.6-1
debian debianbullseyefixed5.10.113-1
debian debianforkyfixed5.17.6-1
debian debiansidfixed5.17.6-1
debian debiantrixiefixed5.17.6-1
almalinux almalinux8fixedkernel-doc-4.18.0-425.3.1.el8.noarch.rpm

References

Verify integrity in audit chain (admin only). AS-IS.