CVE-2026-46128: ipmi: Check event message buffer response for bad data
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ipmi: Check event message buffer response for bad data
The event message buffer response data size got checked later when processing, but check it right after the response comes back. It appears some BMCs may return an empty message instead of an error when fetching events.
There are apparently some new BMCs that make this error, so we need to compensate.
The Linux kernel CVE team has assigned CVE-2026-46128 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.140 with commit 2418e4b21fb1355504d095da5d5f0a210564a43d Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.88 with commit 7f7ada72c07a83b46045ddfeee526bd9e2e3c8f0 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.30 with commit 42432b579a594b66ac32e5e7b7c26e6bc578ec89 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0.7 with commit 24269264c3d59a49eb09b10af2c75b14f2931482 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1-rc3 with commit 36920f30e78e69df01f9691c470b6f3ba8aebf98
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-46128
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/char/ipmi/ipmi_si_intf.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/2418e4b21fb1355504d095da5d5f0a210564a43d https://git.kernel.org/stable/c/7f7ada72c07a83b46045ddfeee526bd9e2e3c8f0 https://git.kernel.org/stable/c/42432b579a594b66ac32e5e7b7c26e6bc578ec89 https://git.kernel.org/stable/c/24269264c3d59a49eb09b10af2c75b14f2931482 https://git.kernel.org/stable/c/36920f30e78e69df01f9691c470b6f3ba8aebf98