# CVE-2022-2639: An integer coercion error was found in the openvswitch kernel module.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-01T20:32:54.000Z
- Modified: 2026-06-17T04:42:15.780Z
- Weaknesses: CWE-192, CWE-681
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- kernel: kernel 5.18
- linux linux_kernel: from 3.18.139 before 3.19; from 4.4.179 before 4.5; from 4.9.169 before 4.9.312; from 4.14.112 before 4.14.277; from 4.19.35 before 4.19.240; from 5.0.8 before 5.4.191; from 5.5 before 5.10.113; from 5.11 before 5.15.36; from 5.16 before 5.17.5
- redhat enterprise_linux: 8.0; 9.0

## References

- <https://github.com/torvalds/linux/commit/cefa91b2332d7009bc0be5d951d6cbbf349f90f8> (exploit, patch)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2084479> (issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-2639](https://www.cve.org/CVERecord?id=CVE-2022-2639), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2639](https://nvd.nist.gov/vuln/detail/CVE-2022-2639), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2639 · Whole record: https://cve.day/CVE-2022-2639.json · Rebuilt by cve.day 2026-11-25T22:58:14.612Z
