CVE-2026-46064

NameCVE-2026-46064
DescriptionIn the Linux kernel, the following vulnerability has been resolved: ibmasm: fix heap over-read in ibmasm_send_i2o_message() The ibmasm_send_i2o_message() function uses get_dot_command_size() to compute the byte count for memcpy_toio(), but this value is derived from user-controlled fields in the dot_command_header (command_size: u8, data_size: u16) and is never validated against the actual allocation size. A root user can write a small buffer with inflated header fields, causing memcpy_toio() to read up to ~65 KB past the end of the allocation into adjacent kernel heap, which is then forwarded to the service processor over MMIO. Silently clamping the copy size is not sufficient: if the header fields claim a larger size than the buffer, the SP receives a dot command whose own header is inconsistent with the I2O message length, which can cause the SP to desynchronize. Reject such commands outright by returning failure. Validate command_size before calling get_mfa_inbound() to avoid leaking an I2O message frame: reading INBOUND_QUEUE_PORT dequeues a hardware frame from the controller's free pool, and returning without a corresponding set_mfa_inbound() call would permanently exhaust it. Additionally, clamp command_size to I2O_COMMAND_SIZE before the memcpy_toio() so the MMIO write stays within the I2O message frame, consistent with the clamping already performed by outgoing_message_size() for the header field.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4664-1, DLA-4665-1, DLA-4671-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1vulnerable
bullseye (security)5.10.259-1fixed
bookworm6.1.170-3vulnerable
bookworm (security)6.1.176-1fixed
trixie6.12.86-1fixed
trixie (security)6.12.95-1fixed
forky7.0.13-1fixed
sid7.1.3-1fixed
linux-6.1 (PTS)bullseye (security)6.1.176-1~deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebullseye5.10.259-1DLA-4664-1
linuxsourcebookworm6.1.176-1DLA-4665-1
linuxsourcetrixie6.12.86-1
linuxsource(unstable)7.0.4-1
linux-6.1sourcebullseye6.1.176-1~deb11u1DLA-4671-1

Notes

https://git.kernel.org/linus/9aad71144fa3682cca3837a06c8623016790e7ec (7.1-rc1)

Search for package or bug name: Reporting problems