CVE-2022-48697
nvmet: fix a use-after-free
Mitigation
- Upgrade Linux to 6a02a61e81c231cc5c680c5dbf8665275147ac52 or later.
Who should check
- Anyone running Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 17f121ca3ec6be0fb32d77c7f65362934a38cc8e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < be01f1c988757b95f11f090a9f491365670a522b; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < ebf46da50beb78066674354ad650606a467e33fa; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 4484ce97a78171668c402e0c45db7f760aea8060; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 6a02a61e81c231cc5c680c5dbf8665275147ac52
- Anyone running Linux 4.8
Vulnerability facts
- Affected
- Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 17f121ca3ec6be0fb32d77c7f65362934a38cc8e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < be01f1c988757b95f11f090a9f491365670a522b; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < ebf46da50beb78066674354ad650606a467e33fa; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 4484ce97a78171668c402e0c45db7f760aea8060; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 6a02a61e81c231cc5c680c5dbf8665275147ac52; Linux 4.8
- Fixed in
- Linux 17f121ca3ec6be0fb32d77c7f65362934a38cc8e, Linux 8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717, Linux 4484ce97a78171668c402e0c45db7f760aea8060, Linux 6a02a61e81c231cc5c680c5dbf8665275147ac52
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.76% chance of exploitation in 30 days (percentile 51, 2026-11-29)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet: fix a use-after-free Fix the following use-after-free complaint triggered by blktests nvme/004: BUG: KASAN: user-memory-access in blk_mq_complete_request_remote+0xac/0x350 Read of size 4 at addr 0000607bd1835943 by task kworker/13:1/460 Workqueue: nvmet-wq nvme_loop_execute_work [nvme_loop] Call Trace: show_stack+0x52/0x58 dump_stack_lvl+0x49/0x5e print_report.cold+0x36/0x1e2 kasan_report+0xb9/0xf0 __asan_load4+0x6b/0x80 blk_mq_complete_request_remote+0xac/0x350 nvme_loop_queue_response+0x1df/0x275 [nvme_loop] __nvmet_req_complete+0x132/0x4f0 [nvmet] nvmet_req_complete+0x15/0x40 [nvmet] nvmet_execute_io_connect+0x18a/0x1f0 [nvmet] nvme_loop_execute_work+0x20/0x30 [nvme_loop] process_one_work+0x56e/0xa70 worker_thread+0x2d1/0x640 kthread+0x183/0x1c0 ret_from_fork+0x1f/0x30
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 17f121ca3ec6be0fb32d77c7f65362934a38cc8e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < be01f1c988757b95f11f090a9f491365670a522b; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < ebf46da50beb78066674354ad650606a467e33fa; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 4484ce97a78171668c402e0c45db7f760aea8060; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 6a02a61e81c231cc5c680c5dbf8665275147ac52 | — | cvelist |
| Linux | 4.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-48697. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-48697.md Affected: Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 17f121ca3ec6be0fb32d77c7f65362934a38cc8e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < be01f1c988757b95f11f090a9f491365670a522b; >= a07b4970f464f13640e28e1… Fixed in: Linux 17f121ca3ec6be0fb32d77c7f65362934a38cc8e, Linux 8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717, Linux 4484ce97a78171668c402e0c45db7f760aea8060, Linux 6a02a61e81c231cc5c680c5dbf8665275147ac52 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.
References
Patches
- https://git.kernel.org/stable/c/17f121ca3ec6be0fb32d77c7f65362934a38cc8e
- https://git.kernel.org/stable/c/8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717
- https://git.kernel.org/stable/c/be01f1c988757b95f11f090a9f491365670a522b
- https://git.kernel.org/stable/c/ebf46da50beb78066674354ad650606a467e33fa
- https://git.kernel.org/stable/c/4484ce97a78171668c402e0c45db7f760aea8060
- https://git.kernel.org/stable/c/6a02a61e81c231cc5c680c5dbf8665275147ac52
FAQ
Is CVE-2022-48697 being exploited?
There is no confirmed exploitation: CVE-2022-48697 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-29).
How serious is CVE-2022-48697?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-48697?
Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 17f121ca3ec6be0fb32d77c7f65362934a38cc8e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < be01f1c988757b95f11f090a9f491365670a522b; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < ebf46da50beb78066674354ad650606a467e33fa; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 4484ce97a78171668c402e0c45db7f760aea8060; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 6a02a61e81c231cc5c680c5dbf8665275147ac52; Linux 4.8.
Is there a fix for CVE-2022-48697?
Yes. Fixed in Linux 17f121ca3ec6be0fb32d77c7f65362934a38cc8e, Linux 8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717, Linux 4484ce97a78171668c402e0c45db7f760aea8060, Linux 6a02a61e81c231cc5c680c5dbf8665275147ac52. Upgrade Linux to 6a02a61e81c231cc5c680c5dbf8665275147ac52 or later.
How do I check if I'm affected by CVE-2022-48697?
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.