mpi3mr drives Broadcom’s MPI3-generation SAS, SATA and NVMe tri-mode controllers, the current MegaRAID and HBA 9600-series cards in many servers. Management tools talk to the firmware through the driver’s BSG passthrough interface, and the kernel CNA record says “the size of an incoming BSG request is checked using a variable that is narrower than the field it is read from, so large values wrap and pass the check. The copy that follows then uses the full value and writes past the request buffer.” Red Hat rates it Important at 7.8 as a local escalation. On servers with a Broadcom MPI3 controller, upgrade to 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later and reboot, and until then keep the BSG node to root.
CVE-2026-139735 at a glance.
| Component | Linux kernel, Broadcom MPI3 storage driver application interface (drivers/scsi/mpi3mr/mpi3mr_app.c), the BSG passthrough request handler, module mpi3mr |
| Affected versions | from 506bc1a0d6ba, the 5.19 commit that added the BSG interface: 5.19 up to 6.1 before 6.1.193, 6.6 before 6.6.163, 6.12 before 6.12.119, 6.18 before 6.18.65, 7.3 before 7.3.6 and 7.4 before 7.4-rc1 |
| Fixed in | mainline 7.4-rc1 (commit 896abdd4, “Fix buffer overflow in BSG passthrough request copy”: “widen the variable and copy only the amount that was checked”) and stable 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6; six commits in the record |
| Severity | Red Hat Important, CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, draft, CWE-787 out-of-bounds write), bug 2587121; the kernel CNA gives no score and NVD (Received, 30 November) carries none; Ubuntu Medium; SUSE could not be read on 2 December 2026 |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00391 (35th percentile) on 2 December 2026 |
| Who is exposed | Servers with an MPI3 controller where a local account can open the controller’s BSG node, /dev/bsg/mpi3mr*: by default that is root, so the realistic reach is a management agent or a container that has been given the node to run storcli. Red Hat’s statement: “local authenticated users can trigger memory corruption within kernel space”, exposure “is constrained to systems utilizing Broadcom MPI3 storage controller hardware managed by the mpi3mr driver and requires access to Block SCSI Generic (BSG) nodes”, and RHEL 8, 9 and 10 kernel and kernel-rt are affected, 7 and 6 are not |
| Published | CVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026 |
What it is
A BSG request from userspace carries a header with the length of the payload the caller wants passed to the firmware. The driver read that length into a variable of a smaller integer type before comparing it with the buffer it had allocated, so a length large enough to wrap the smaller type compared as small and passed. The copy from userspace that follows used the original, unwrapped length, writing the caller’s bytes past the end of the kernel buffer by as much as the caller chose.
That is a classic kernel heap overflow with attacker-controlled length and content, which is why Red Hat gives it full impact despite the local vector. The limiting factor is the device node: BSG nodes are created 0600 root by default, and the vector’s low-privilege component is the common case where a storage management tool, or the container it runs in, holds the node rather than root itself.
The fix widens the variable so the check sees the real value and copies only the amount that was checked. The BSG path dates from the driver’s 5.19 cycle, so every maintained stable series from 6.1 took a backport. git.kernel.org refuses automated readers, so the diff is described from the CNA’s copy of the commit message.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. Every distribution kernel builds mpi3mr; it loads only with the hardware present.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page | — |
| Debian | bookworm (6.1.176-1, security 6.1.192-3) vulnerable; trixie (6.12.117-1, security 6.12.118-1) vulnerable; forky and sid (7.3.6-1) fixed; no DSA | unstable 7.3.6-1 |
| Ubuntu | Medium; the linux package is needs evaluation on every release from 14.04 to 26.10 on 2 December 2026 (page updated 1 December), nothing released | nothing on 2 December 2026 |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.8 (bug 2587121, CWE-787); kernel and kernel-rt affected in RHEL 8, 9 and 10 and in the OpenShift 4 RHEL 9 and OpenShift 5 images; RHEL 7 and 6 not affected; no errata on 2 December 2026 | — |
| openSUSE/SLE | Not consulted: suse.com refused the automated reader on 2 December 2026 (client error) | — |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 6.1.193 / 6.6.163 / 6.12.119 / 6.18.65 / 7.3.6 or later |
How to check
Is an MPI3 controller present with the driver bound, who can open its BSG node, and is the running kernel fixed. On most servers the node belongs to root and the exposure is whatever management agent you have given it to.
# 1. is the driver loaded and bound to a controller
lsmod | grep -E '^mpi3mr'
ls -l /dev/bsg/mpi3mr* 2>/dev/null
# 2. the running kernel: fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later
uname -r
# 3. who holds the node: non-root owner, group or ACL, and which running processes have it open
getfacl /dev/bsg/mpi3mr* 2>/dev/null | grep -E '^(user|group):[^:]'
for p in /proc/[0-9]*/fd; do ls -l "$p" 2>/dev/null | grep -q 'bsg/mpi3mr' && echo "${p%/fd} $(cat ${p%/fd}/comm)"; doneNo mpi3mr module means the page does not apply. A bound controller on an affected kernel is exposed to every account that can open the node; if step 3 shows only root and nothing but a management daemon with the node open, the attack surface is that daemon. A container running storcli or a vendor agent with the node bind-mounted is the case the score describes.
How to fix it
Install the fixed kernel and reboot; the driver cannot be reloaded while the controller holds the root filesystem. Until then, the node and the processes that hold it are the lever.
# Debian forky / sid (7.3.6-1) carry the fix; bookworm and trixie: watch the tracker row above
apt update && apt install linux-image-amd64 && systemctl reboot# RHEL 8 / 9 / 10, Rocky, Alma: affected, no errata yet on 2 December 2026; when the advisory lands
dnf update kernel && systemctl reboot# Ubuntu: needs evaluation on 2 December 2026; once the linux package is released
apt update && apt install linux-generic && systemctl reboot# Stop-gap: make sure the BSG node is root-only and stop any agent that holds it until the reboot
chmod 600 /dev/bsg/mpi3mr* && setfacl -b /dev/bsg/mpi3mr*
systemctl stop <vendor storage agent>A root-only node leaves the flaw reachable by root alone, which is the kernel’s normal trust boundary. What not to do: do not pass the BSG node into monitoring containers as a convenience, which is the configuration the score assumes; and do not remove mpi3mr from the initramfs to “disable” the interface, since the controller is usually the boot disk and the BSG node is created by the same module that drives it.
Sources
- CVE-2026-139735 at CVE.org — the kernel CNA record: the narrower size variable, the wrap that passes the check, the copy that uses the full value, the widening fix, the version ranges (30 November 2026)
- Fix commit 896abdd4 (mainline 7.4-rc1, the commit Debian cites) and the stable backports 869776cb, f9fa6757, 2c118e14, a3b7e1ce, fb62bd53; git.kernel.org refuses automated readers, so the change is described from the CNA record and the trackers
- NVD entry — Received on 30 November 2026; no CVSS metric, CWE or CPE on 2 December 2026
- Distribution trackers: Debian (bookworm and trixie vulnerable, unstable fixed in 7.3.6-1) · Red Hat (Important 7.8, bug 2587121, CWE-787; RHEL 8, 9 and 10 affected, 7 and 6 not; the statement on BSG nodes; package states read from the security-data API) · Ubuntu (Medium, needs evaluation on every release, page updated 1 December) · SUSE (refused the automated reader on 2 December 2026)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00391 (percentile 0.354) on 2 December 2026
Related reading
- CVE-2026-139400: Linux kernel NVMe partition passthrough — rated the same day, the other storage passthrough interface of this burst
- CVE-2026-139164: Linux kernel mv88e6xxx stats overflow — from the previous twelve, a buffer sized from one count and filled from another
- CVE-2026-139520: Linux kernel nxpwifi beacon IE lengths — a sibling in this set with the same shape: a length trusted before the copy
- CVE-2026-139126: Linux kernel blk-mq poll cookie — the block layer entry of the same burst
- The Kernel — why a size checked in one integer type and used in another is the whole class, and what a BSG node lets a process send to firmware
This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

