Heap-based buffer overflow in Linux kernel - CVE-2026-99157

 

Heap-based buffer overflow in Linux kernel - CVE-2026-99157

Published: October 29, 2026


Vulnerability identifier: #VU158438
CSH Severity: Low
CVSS v4: 6.8 [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]
CVE-ID: CVE-2026-99157
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to corrupt kernel heap memory, potentially causing a denial of service.

The vulnerability exists due to a heap-based buffer overflow in the Linux kernel BSG reply handling when processing UFS Advanced RPMB commands that return an EHS. A local user can trigger processing of such a command to cause ufshcd_advanced_rpmb_req_handler() to write a 104-byte reply, consisting of a 40-byte header and a 64-byte EHS, into a 96-byte heap buffer, corrupting eight bytes beyond its boundary and potentially causing a denial of service.


Affected software

Linux kernel
Debian Linux
linux (Debian package)

How to mitigate CVE-2026-99157

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
linux (Debian package) - update to 6.12.115-2

External References

Related Security Bulletins