CVE Vulnerabilities

CVE-2022-2639

Incorrect Conversion between Numeric Types

Published: Sep 01, 2022 | Modified: Jun 27, 2023
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux 3.18.139 *
Linux_kernel Linux 4.4.179 *
Linux_kernel Linux 4.9.169 *
Linux_kernel Linux 4.14.112 *
Linux_kernel Linux 4.19.35 *
Linux_kernel Linux 5.0.8 *
Linux_kernel Linux 5.5 *
Linux_kernel Linux 5.11 *
Linux_kernel Linux 5.16 *

Potential Mitigations

References