CVE-2026-23148

nvmet: fix race in nvmet_bio_done() leading to NULL pointer dereference

MEDIUM
5.5
CVSS Score
Published: February 14, 2026 at 04:01 PM UTC
Updated: October 19, 2026 at 07:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet: fix race in nvmet_bio_done() leading to NULL pointer dereference There is a race condition in nvmet_bio_done() that can cause a NULL pointer dereference in blk_cgroup_bio_start(): 1. nvmet_bio_done() is called when a bio completes 2. nvmet_req_complete() is called, which invokes req->ops->queue_response(req) 3. The queue_response callback can re-queue and re-submit the same request 4. The re-submission reuses the same inline_bio from nvmet_req 5. Meanwhile, nvmet_req_bio_put() (called after nvmet_req_complete) invokes bio_uninit() for inline_bio, which sets bio->bi_blkg to NULL 6. The re-submitted bio enters submit_bio_noacct_nocheck() 7. blk_cgroup_bio_start() dereferences bio->bi_blkg, causing a crash: BUG: kernel NULL pointer dereference, address: 0000000000000028 #PF: supervisor read access in kernel mode RIP: 0010:blk_cgroup_bio_start+0x10/0xd0 Call Trace: submit_bio_noacct_nocheck+0x44/0x250 nvmet_bdev_execute_rw+0x254/0x370 [nvmet] process_one_work+0x193/0x3c0 worker_thread+0x281/0x3a0 Fix this by reordering nvmet_bio_done() to call nvmet_req_bio_put() BEFORE nvmet_req_complete(). This ensures the bio is cleaned up before the request can be re-submitted, preventing the race condition.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.12.37 ≤ v < 6.12.696.15.6 ≤ v < 6.166.16.1 ≤ v < 6.18.9190f4c2c863af7cc5bb354b70e0805f06419c0382e2028fcf924d1c6df017033c8d6e28b735a0508431e58d56fcb5ff1f9eb630724a922e0d2a941df6.12.376.15.66.166.16 rc56.16 rc66.16 rc76.196.19 rc16.19 rc26.19 rc36.19 rc46.19 rc56.19 rc66.19 rc7
Vendor states this is fixed in 0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e (fixed)
Vendor states this is fixed in 68207ceefd71cc74ce4e983fa9bd10c3122e349b (fixed)
Vendor states this is fixed in ee10b06980acca1d46e0fa36d6fb4a9578eab6e4 (fixed)
Vendor states this is fixed in 6.12.69 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.18.9 (unaffected)
Vendor states this is fixed in 6.19 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68207ceefd71cc74ce4e983fa9bd10c3122e349b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ee10b06980acca1d46e0fa36d6fb4a9578eab6e4

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card