CVE-2026-23148 Details
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.
A race condition vulnerability has been identified in the Linux kernel's NVMe subsystem, specifically within the 'nvmet_bio_done()' function. This vulnerability can lead to a NULL pointer dereference in 'blk_cgroup_bio_start()', causing a kernel crash. The issue arises when 'nvmet_bio_done()' is called upon the completion of a bio. Subsequently, 'nvmet_req_complete()' is invoked, which triggers the 'queue_response' callback. This callback can re-queue and resubmit the same request, reusing the inline_bio from 'nvmet_req'. However, 'nvmet_req_bio_put()' (called after 'nvmet_req_complete') deinitializes the inline_bio, setting its 'bi_blkg' to NULL. When the re-submitted bio is processed, 'blk_cgroup_bio_start()' attempts to dereference the now NULL 'bi_blkg', leading to a crash. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by modifying the 'nvmet_bio_done()' function to call 'nvmet_req_bio_put()' before 'nvmet_req_complete()'. This change ensures that the bio is properly cleaned up before the request can be resubmitted, effectively preventing the race condition. Users can apply the latest patches available in the Linux kernel stable tree to mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0fcee2cfc4b2e16e62ff8e0cc2cd8dd24efad65e | kernel.org | Patch |
| https://git.kernel.org/stable/c/68207ceefd71cc74ce4e983fa9bd10c3122e349b | kernel.org | Patch |
| https://git.kernel.org/stable/c/ee10b06980acca1d46e0fa36d6fb4a9578eab6e4 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.12.37, < 6.12.69 >= 6.15.6, < 6.16 >= 6.16.1, < 6.18.9 6.16 - 6.16 rc5 6.16 rc6 6.16 rc7 6.19 rc1 6.19 rc2 6.19 rc3 6.19 rc4 6.19 rc5 6.19 rc6 6.19 rc7 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | CISA-ADP |
| Oct 16, 2026 | CVE Modified | kernel.org |
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 3, 2026 | CVE Modified | kernel.org |
| Mar 17, 2026 | Initial Analysis | [email protected] |
| Feb 14, 2026 | New CVE Received | kernel.org |