CVE-2026-139721

scsi: mpi3mr: zero out diagnostic buffer status memory

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

scsi: mpi3mr: zero out diagnostic buffer status memory

Memory allocated for the BSG diagnostic buffer status is not zeroed before
it is copied back to user space. Several fields in this structure are
reserved and never written by the driver. Use kzalloc() instead of
kmalloc() to zero out the allocated memory.

Analysis

AI-generated

Technical impact

The MPI3MR SCSI driver allocates a buffer for BSG diagnostic status but fails to clear it before returning data to user space. Reserved fields in the buffer remain uninitialized, allowing a local user with access to the MPI3MR interface to read unintended kernel memory contents. This uninitialized memory exposure enables attackers to obtain sensitive information that should not be exposed, a classic case of information leakage described by CWE‑200.

Affected Systems

All Linux kernel versions that include the MPI3MR SCSI driver and have not yet applied the patch that replaces kmalloc with kzalloc for diagnostic buffer allocation are affected. The advisory does not list specific kernel releases, implying that any kernel built with the MPI3MR driver prior to the mentioned change is potentially vulnerable.

Risk and Exploitability

No CVSS score is provided, and the EPSS value is unavailable. The vulnerability is not listed in the CISA KEV catalog, indicating no publicly known exploits at the time of analysis. The attack vector would be local, requiring a user or an attacker with elevated privileges to invoke the MPI3MR diagnostic interface. While exploitation is straightforward for those with local access, the overall risk is moderate to high when such access is possible, especially in environments where the driver is exposed to untrusted users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that incorporates the MPI3MR patch where kzalloc replaces kmalloc for diagnostic buffer allocation.
  • Reboot the system or reload the mpi3mr module after the kernel update to ensure the fix takes effect.
  • If a kernel upgrade cannot be performed immediately, restrict or remove access to the mpi3mr device nodes for untrusted users or unload the mpi3mr module if the functionality is not required.
  • Consider disabling the MPI3MR driver entirely on systems that do not use the SCSI interface to eliminate the attack surface.

Generated by OpenCVE AI on December 1, 2026 at 02:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: zero out diagnostic buffer status memory Memory allocated for the BSG diagnostic buffer status is not zeroed before it is copied back to user space. Several fields in this structure are reserved and never written by the driver. Use kzalloc() instead of kmalloc() to zero out the allocated memory.
Title scsi: mpi3mr: zero out diagnostic buffer status memory
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM