CVE Vulnerabilities

CVE-2023-2163

Incorrect Calculation

Published: Sep 20, 2023 | Modified: Dec 15, 2023
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

Incorrect verifier pruning in BPF in Linux Kernel >=5.4 leads to unsafe code paths being incorrectly marked as safe, resulting in arbitrary read/write in kernel memory, lateral privilege escalation, and container escape.

Weakness

The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux 5.3 (including) 5.4.242 (excluding)
Linux_kernel Linux 5.5 (including) 5.10.179 (excluding)
Linux_kernel Linux 5.11 (including) 5.15.109 (excluding)
Linux_kernel Linux 5.16 (including) 6.1.26 (excluding)
Linux_kernel Linux 6.2 (including) 6.2.13 (excluding)

Potential Mitigations

  • Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences.
  • Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).
  • Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences.
  • Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).

References