CVE-2026-139720

scsi: mpi3mr: Fix use-after-free of the firmware event workqueue

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: Fix use-after-free of the firmware event workqueue

The enqueue path reads the workqueue pointer before taking the event lock,
while the remove path clears that pointer and destroys the workqueue while
holding it. The enqueue can therefore reach queue_work() after the
workqueue is gone.

Move the check inside the lock.

Analysis

AI-generated

Technical impact

A use-after-free bug exists in the mpi3mr SCSI driver of the Linux kernel. During a firmware event enqueue, the driver reads the workqueue pointer before acquiring the event lock, while the removal path can clear and destroy that pointer while the lock is held. This timing issue allows queue_work() to be called on a freed workqueue, which can trigger a kernel crash or provide an execution path for malicious code. The likely attack vector is an attacker able to provoke the enqueue operation, such as through crafted firmware events or access to a SCSI device that interacts with the mpi3mr driver.

Affected Systems

All Linux kernel installations that load the mpi3mr module may be affected. No specific kernel versions are listed in the advisory; therefore any system using this driver should be considered potentially vulnerable until a patched kernel is deployed.

Risk and Exploitability

The advisory does not provide a CVSS or EPSS score, and the vulnerability is not listed in CISA’s KEV catalog. The use-after-free flaw is known to lead to high severity outcomes in kernel code, but the exact exploitation probability is unknown. Potential impact includes denial of service or kernel compromise if an attacker controls relevant SCSI commands. Ongoing monitoring for kernel panic events is advised while patches are rolled out.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the mpi3mr fix released by the distribution maintainers
  • If the mpi3mr driver is not required for your environment, remove or blacklist the module to eliminate the vulnerability surface
  • After applying the patch or disabling the module, perform a reboot to ensure the system state is clean and no stale workqueue pointers remain

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix use-after-free of the firmware event workqueue The enqueue path reads the workqueue pointer before taking the event lock, while the remove path clears that pointer and destroys the workqueue while holding it. The enqueue can therefore reach queue_work() after the workqueue is gone. Move the check inside the lock.
Title scsi: mpi3mr: Fix use-after-free of the firmware event workqueue
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

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