# CVE-2022-48697: nvmet: fix a use-after-free

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-05-03T15:10:30.963Z
- Modified: 2026-08-05T08:51:50.506Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from a07b4970f464f13640e28e16dad6cfa33647cc99 before 17f121ca3ec6be0fb32d77c7f65362934a38cc8e; from a07b4970f464f13640e28e16dad6cfa33647cc99 before 8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717; from a07b4970f464f13640e28e16dad6cfa33647cc99 before be01f1c988757b95f11f090a9f491365670a522b; from a07b4970f464f13640e28e16dad6cfa33647cc99 before ebf46da50beb78066674354ad650606a467e33fa; from a07b4970f464f13640e28e16dad6cfa33647cc99 before 4484ce97a78171668c402e0c45db7f760aea8060; from a07b4970f464f13640e28e16dad6cfa33647cc99 before 6a02a61e81c231cc5c680c5dbf8665275147ac52; 4.8 (not affected: before 4.8; from 4.19.260 up to 4.19.*; from 5.4.213 up to 5.4.*; from 5.10.143 up to 5.10.*; from 5.15.68 up to 5.15.*; from 5.19.9 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 4.8 before 4.19.260; from 4.20 before 5.4.213; from 5.5 before 5.10.143; from 5.11 before 5.15.68; from 5.16 before 5.19.9; 6.0

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://git.kernel.org/stable/c/17f121ca3ec6be0fb32d77c7f65362934a38cc8e> (patch)
- <https://git.kernel.org/stable/c/8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717> (patch)
- <https://git.kernel.org/stable/c/be01f1c988757b95f11f090a9f491365670a522b> (patch)
- <https://git.kernel.org/stable/c/ebf46da50beb78066674354ad650606a467e33fa> (patch)
- <https://git.kernel.org/stable/c/4484ce97a78171668c402e0c45db7f760aea8060> (patch)
- <https://git.kernel.org/stable/c/6a02a61e81c231cc5c680c5dbf8665275147ac52> (patch)

## Sources

- CVE List: [CVE-2022-48697](https://www.cve.org/CVERecord?id=CVE-2022-48697), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-48697](https://nvd.nist.gov/vuln/detail/CVE-2022-48697), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-48697 · Whole record: https://cve.day/CVE-2022-48697.json · Rebuilt by cve.day 2026-11-25T22:58:19.803Z
