CVE Professor
/
All CVEs
CVE-2026-139726

CVE-2026-139726 — Linux Kernel — NONE Vulnerability

NONE CVSS 0 ⚡ EPSS 0.4% NVD

In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix out-of-bounds read in SAS topology change events The number of entries in a SAS topology change event is used to walk the entry array without being compared against the amount of event data that was received, so the walk can run past the end of the buffer. Work out how many entries the payload can hold and skip the event if it claims more.

In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix out-of-bounds read in SAS topology change events The number of entries in a SAS topology change event is used to walk the entry array without being compared against the amount of event data that was received, so the walk can run past the end of the buffer. Work out how many entries the payload can hold and skip the event if it claims more.

EPSS — Exploit Prediction Scoring System
0.4%
30-day probability
In the 32. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a classic Out-of-Bounds (OOB) Read (CWE-125) within the Linux kernel's mpi3mr SCSI driver, specifically in the handling of SAS (Serial Attached SCSI) topology change events.

Technical Flaw Analysis:
1. Context: The mpi3mr driver communicates with LSI/Microsemi MegaRAID controllers. When the SAS topology changes (e.g., a disk is hot-plugged, or a cable is disconnected), the controller sends an interrupt/event to the driver containing a payload describing the change.
2. The Bug: The driver code iterates through an array of "entries" within the event payload. The loop counter is driven by a field in the event header that specifies the number of entries. However, the code fails to validate this count against the actual length of the received data buffer.
3. Consequence: If the controller (or a maliciously crafted event) reports a higher number of entries than the buffer actually contains, the driver's loop will read memory beyond the allocated buffer boundary.
4. Impact: In the Linux kernel, reading OOB memory typically leads to:
* Kernel Panic (Denial of Service): If the OOB read hits an unmapped page or a protected memory region, the kernel will crash.
* Information Disclosure: If the OOB read hits mapped kernel memory, it may leak sensitive kernel data (pointers, keys, etc.) into the event processing path, potentially observable via logs or side-channels, though this is less likely to be directly exploitable for RCE without further primitives.

CVSS Note: The provided CVSS score is 0/10 (NONE), which is technically inconsistent with a kernel OOB read that can cause a panic. In standard CVSS v3.1, a kernel DoS via local or adjacent network (SAS is an adjacent network) would typically score Medium (5.5-6.5) or High (7.5) depending on the attack vector and privileges required. The "NONE" score likely indicates a data entry error in the source feed or a specific context where the vulnerability is deemed non-exploitable in the specific deployment model (e.g., trusted hardware only). However, for analysis purposes, we treat it as a Medium-High severity DoS vulnerability.

⚡ Attack Chain

Prerequisites:

  • The target system must be running a vulnerable Linux kernel (5.14 or specific commit 40edab8fbf28252abb84f655a185ceda7777dfe9).

  • The system must have an LSI/Microsemi MegaRAID controller using the mpi3mr driver.

  • The attacker must have physical access to the SAS fabric or the ability to inject events into the SAS topology (e.g., via a compromised HBA, a malicious disk, or a man-in-the-middle on the SAS cable). SAS is a point-to-point or tree topology, so remote network exploitation is not possible. This is a local/adjacent attack.
  • Step 1: Discovery & Reconnaissance

    1. Identify Hardware: The attacker identifies that the target server uses an LSI/Microsemi MegaRAID controller. Command:* lspci | grep -i lsi or lspci | grep -i mega Check Driver:* lsmod | grep mpi3mr 2. Identify Kernel Version: Command:* uname -r * Verify if the version is 5.14 or contains the vulnerable commit 40edab8fbf28252abb84f655a185ceda7777dfe9.

    Step 2: Exploitation

    Mechanism: The attacker crafts a malicious SAS topology change event. This requires low-level interaction with the SAS protocol, typically via a custom kernel module or a specialized tool that can send raw MPI (Message Passing Interface) commands to the controller.

    Illustrative PoC Concept (Kernel Module):
    Note: This is a conceptual example. Actual exploitation requires writing a kernel module that interfaces with the MPI3MR driver's internal structures or uses the ioctl interface if exposed (it is not directly exposed to userspace for raw event injection). The most realistic attack vector is via a malicious disk or a compromised HBA that sends a malformed event.

    /* Conceptual Kernel Module Snippet - Illustrative Only */
    #include <linux/module.h>
    #include <linux/kernel.h>
    #include <linux/mpi3mr.h> // Hypothetical header for internal structures
    
    /* 
     * In reality, the attacker would need to:
     * 1. Allocate a buffer for the MPI3MR event.
     * 2. Set the 'num_entries' field to a value larger than the buffer size.
     * 3. Send this event to the driver via the MPI3MR interrupt handler path.
     * 
     * This is typically achieved by:
     * - A malicious disk that triggers a topology change with corrupted metadata.
     * - A compromised HBA firmware that sends malformed events.
     */
    
    static int mpi3mr_trigger_oob_read(void) {
        struct mpi3mr_event *event;
        int num_entries = 100; // Maliciously high value
        int buffer_size = 64;  // Actual buffer size is smaller
    
        /* 
         * The driver code likely looks like this (vulnerable):
         * for (i = 0; i < event->num_entries; i++) {
         *     process_entry(&event->entries[i]); // OOB READ if i >= buffer_size/entry_size
         * }
         */
        
        // Trigger the event via the MPI3MR driver's internal API
        // This requires kernel-level access or a compromised HBA
        return 0;
    }

    Realistic Attack Vector:
    1. Malicious Disk: An attacker with physical access inserts a disk that, upon connection, sends a SAS topology change event with a corrupted "number of entries" field.
    2. Compromised HBA: If the HBA firmware is compromised, it can send malformed events to the host driver.

    Step 3: Post-Exploitation

    1. Denial of Service: The OOB read causes a kernel panic. The system crashes and reboots. 2. Information Disclosure (Low Probability): If the OOB read does not crash the kernel, it may read adjacent kernel memory. This data is processed by the driver and may be logged or used in subsequent operations. An attacker with local access could potentially monitor these logs to extract kernel pointers or other sensitive data, aiding in further kernel exploits. 3. No RCE: This vulnerability is primarily a DoS. It does not provide a direct write primitive, so RCE is unlikely without additional vulnerabilities.

    🌍 Real World Impact

  • Confidentiality: Low. Potential kernel memory leak, but not directly exploitable for data exfiltration without further primitives.
  • Integrity: None. No direct modification of data.
  • Availability: High. Kernel panic leads to system crash and downtime. This is the primary impact.
  • Practical Consequences:

  • Server Downtime: Critical servers running vulnerable kernels with LSI/Microsemi controllers are susceptible to crashes if a malicious or faulty disk is connected.

  • Supply Chain Risk: If a malicious disk or HBA is introduced into a data center, it could trigger widespread crashes across multiple servers.

  • Limited Remote Exploitability: Since SAS is a local/adjacent protocol, remote attackers cannot exploit this without physical access or a compromised intermediate device.
  • 🛡️ Remediation & Mitigation

    1. Patching

  • Upgrade Kernel: Apply the kernel patch that includes the fix for commit 40edab8fbf28252abb84f655a185ceda7777dfe9.
  • Affected Versions: Linux kernel 5.14 and any version containing the vulnerable commit.
  • Recommendation: Upgrade to the latest stable kernel version for your distribution (e.g., RHEL 8.7+, Ubuntu 22.04.2+, Debian 11.6+).
  • 2. Workarounds

  • Disable Hot-Plugging: If possible, disable SAS hot-plugging in the BIOS/UEFI or HBA configuration. This reduces the likelihood of topology change events being triggered by malicious disks.
  • Isolate HBA: If the HBA is not critical, consider isolating it or using a different driver (e.g., mpt3sas if supported and patched).
  • Physical Security: Ensure physical access to servers is strictly controlled to prevent insertion of malicious disks or HBAs.
  • 3. Detection

  • Kernel Logs: Monitor dmesg or /var/log/kern.log for kernel panics or OOB read errors related to mpi3mr.
  • Example Log Pattern:* BUG: unable to handle kernel paging request in mpi3mr_handle_event
  • Hardware Monitoring: Use IPMI or BMC to monitor for unexpected disk insertions or HBA errors.
  • SAS Fabric Monitoring: If available, use SAS management tools to monitor topology change events for anomalies.
  • ⚠️ Urgency

    CVSS Score: 0/10 (NONE) - Note: This score is likely incorrect or context-specific. Treat as Medium-High.*

  • CISA KEV: No

  • Exploit Complexity: High. Requires physical access or a compromised HBA/disk. Not remotely exploitable over the network.

  • Patching Priority: Medium.

* Critical for: Data centers with strict physical security controls and no history of malicious hardware insertion.
* High for: Environments with less strict physical security or where supply chain risks are a concern.
* Recommendation: Patch during the next regular maintenance window. Do not delay if physical security is a concern.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Linux Linux"
CVSS Score
0 / 10 · CVSS NONE
Affected Products (2)
Linux Kernel (commit: 40edab8fbf) Linux Kernel (5.14)
Related CVEs
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L
8.8
CVE-2026-105101
An OS command injection vulnerability in the ping diagnostic function (InternetState.java) in Elinktek UZ801 4
8.8
CVE-2026-118966
A missing authentication vulnerability in the SSH server of Nokia SR Linux allows an unauthenticated attacker
8.7
CVE-2026-145182
Mullvad gotatun 0.1.0 before 0.10.1 contains a denial of service vulnerability that allows unauthenticated rem
0.0
CVE-2026-132063
The 2C2P Redirect API for WooCommerce WordPress plugin through 7.0.3 does not stop processing a payment callba
0.0
CVE-2026-140849
Multiple malformed-packet handling vulnerabilities exist in a number of Nokia SR OS control-plane protocols (B
0.0
CVE-2026-141072
Rejected reason: Not a valid vulnerability.