Incorrect calculation of buffer size in Linux kernel - CVE-2021-28039

 

Incorrect calculation of buffer size in Linux kernel - CVE-2021-28039

Published: June 20, 2024


Vulnerability identifier: #VU92416
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-28039
CWE-ID: CWE-131
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to a crash the entire system.

The vulnerability exists due to incorrect calculation of buffer size error within the __aligned() and xen_memory_setup() functions in arch/x86/xen/setup.c, within the xen_vmalloc_p2m_tree() and __set_phys_to_machine() functions in arch/x86/xen/p2m.c. A local user can a crash the entire system.


How to mitigate CVE-2021-28039

Install update from vendor's repository.

Sources