Junglewise Threat Intelligence

CVE-2026-45994: Linux Kernel ibmasm out-of-bounds read in command_file_write

CVE-2026-45994 · Severity: info · CVSS 0 · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's IBM ASM service processor driver. This driver allows the operating system to communicate with hardware management components. An attacker with local access could exploit this flaw to read sensitive information from the system's memory, potentially exposing data from other programs or the operating system itself.

Technical details

An out-of-bounds (OOB) read vulnerability exists in the ibmasm driver within the command_file_write() handler in drivers/misc/ibmasm/ibmasmfs.c. The issue stems from a lack of validation of user-supplied buffer sizes against the dot command protocol headers. Specifically, an attacker can control both the allocation size and the header fields (command_size, data_size), allowing them to craft a command where the declared size exceeds the actual buffer allocation. This results in OOB reads during get_dot_command_timeout() and an out-of-bounds memcpy_toio() that leaks kernel heap memory to the service processor. The fix introduces size checks to ensure the buffer is large enough to contain the declared header and payload.

Affected products

  • Linux Linux Kernel Introduced in 2.6.12-rc2; fixed in various stable branches including 6.x and earlier.

Timeline

  • 2026-03-14: disclosed: Initial patch submitted by Tyllis Xu
  • 2026-05-27: advisory: CVE-2026-45994 published

References