Kernel crash via stale failed BSG queue pointer
Published Feb 27, 2025 · Updated May 11, 2026
NULL pointer dereference in the Linux kernel mpi3mr SCSI driver allows local users to crash affected systems during driver removal. After bsg_setup_queue() fails, mpi3mr_bsg_exit() retains a non-NULL bsg_queue value, bypasses its empty-queue guard, and continues teardown with invalid queue state. Triggering the crash requires local low-privilege access, the mpi3mr driver, a failed BSG queue setup, and subsequent driver removal.
Summary
What happened
NULL pointer dereference in the Linux kernel mpi3mr SCSI driver allows local users to crash affected systems during driver removal. After bsg_setup_queue() fails, mpi3mr_bsg_exit() retains a non-NULL bsg_queue value, bypasses its empty-queue guard, and continues teardown with invalid queue state. Triggering the crash requires local low-privilege access, the mpi3mr driver, a failed BSG queue setup, and subsequent driver removal.
The record
- CVE
- CVE-2025-21723
- Published
- Feb 27, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4268fa7513655a83d5492705591fdac6c65db48a <19b248069d1b1424982723a2bf3941ad864d5204
- Affected versionversion=4268fa7513655a83d5492705591fdac6c65db48a <295006f6e8c17212d3098811166e29627d19e05c
- Affected versionversion=4268fa7513655a83d5492705591fdac6c65db48a <832b8f95a2832321b8200ae478ed988b25faaef4
- Affected versionversion=5.19
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo