# CVE-2026-23148: nvmet: fix race in nvmet\_bio\_done() leading to NULL pointer dereference

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-476, CWE-362
- **Published:** 2026-02-14T16:01:17.575Z
- **Modified:** 2026-10-19T19:17:39.533Z

## Who should check

- Anyone running Linux \>= 431e58d56fcb5ff1f9eb630724a922e0d2a941df, \< ee10b06980acca1d46e0fa36d6fb4a9578eab6e4; \>= 190f4c2c863af7cc5bb354b70e0805f06419c038, \< 68207ceefd71cc74ce4e983fa9bd10c3122e349b; \>= 190f4c2c863af7cc5bb354b70e0805f06419c038, \< 0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e; 2e2028fcf924d1c6df017033c8d6e28b735a0508; \>= 6.12.37, \< 6.12.69; \>= 6.15.6, \< 6.16
- Anyone running Linux 6.16

## 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 and fixed versions

- Linux: \>= 431e58d56fcb5ff1f9eb630724a922e0d2a941df, \< ee10b06980acca1d46e0fa36d6fb4a9578eab6e4; \>= 190f4c2c863af7cc5bb354b70e0805f06419c038, \< 68207ceefd71cc74ce4e983fa9bd10c3122e349b; \>= 190f4c2c863af7cc5bb354b70e0805f06419c038, \< 0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e; 2e2028fcf924d1c6df017033c8d6e28b735a0508; \>= 6.12.37, \< 6.12.69; \>= 6.15.6, \< 6.16 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 6.16 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23148. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23148.md
Affected: Linux >= 431e58d56fcb5ff1f9eb630724a922e0d2a941df, < ee10b06980acca1d46e0fa36d6fb4a9578eab6e4; >= 190f4c2c863af7cc5bb354b70e0805f06419c038, < 68207ceefd71cc74ce4e983fa9bd10c3122e349b; >= 190f4c2c863af7cc5bb354b70e0805f06419c038, < 0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e; 2e2028fcf924d1c6df017033c8…
Fixed in: Linux 68207ceefd71cc74ce4e983fa9bd10c3122e349b, Linux 0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e, Linux 6.12.69, Linux 6.16

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23148 being exploited?

There is no confirmed exploitation: CVE-2026-23148 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23148?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-23148?

Linux \>= 431e58d56fcb5ff1f9eb630724a922e0d2a941df, \< ee10b06980acca1d46e0fa36d6fb4a9578eab6e4; \>= 190f4c2c863af7cc5bb354b70e0805f06419c038, \< 68207ceefd71cc74ce4e983fa9bd10c3122e349b; \>= 190f4c2c863af7cc5bb354b70e0805f06419c038, \< 0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e; 2e2028fcf924d1c6df017033c8d6e28b735a0508; \>= 6.12.37, \< 6.12.69; \>= 6.15.6, \< 6.16; Linux 6.16.

### Is there a fix for CVE-2026-23148?

Yes. Fixed in Linux 68207ceefd71cc74ce4e983fa9bd10c3122e349b, Linux 0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e, Linux 6.12.69, Linux 6.16. Upgrade Linux to 6.16 or later.

### How do I check if I'm affected by CVE-2026-23148?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ee10b06980acca1d46e0fa36d6fb4a9578eab6e4>
- patch: <https://git.kernel.org/stable/c/68207ceefd71cc74ce4e983fa9bd10c3122e349b>
- patch: <https://git.kernel.org/stable/c/0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23148>

HTML: <https://flawdb.com/CVE-2026-23148> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23148>
