Stack-based buffer overflow in Linux kernel - CVE-2026-64504

 

Stack-based buffer overflow in Linux kernel - CVE-2026-64504

Published: July 27, 2026


Vulnerability identifier: #VU139430
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-64504
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker with physical access to execute arbitrary code or cause a denial of service.

The vulnerability exists due to a stack-based buffer overflow in __bmc150_accel_fifo_flush() when processing a device-reported FIFO frame count. An attacker with physical access can tamper with the I2C/SPI bus or use a malicious device that reports an oversized frame count to execute arbitrary code or cause a denial of service.

The issue can overwrite the stack canary, saved registers, and return address during FIFO data transfer.


Affected software

Linux kernel

How to mitigate CVE-2026-64504

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins