CVE-2022-48697
nvmet: fix a use-after-free
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
INFO
Published Date :
May 3, 2024, 4:15 p.m.
Last Modified :
April 8, 2025, 3:47 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update the affected Linux kernel packages.
- Reboot the system to apply the update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-48697.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-48697 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-48697
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-48697 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-48697 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 08, 2025
Action Type Old Value New Value Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.213 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.19.9 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 up to (excluding) 4.19.260 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.143 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.68 Added Reference Type CVE: https://git.kernel.org/stable/c/17f121ca3ec6be0fb32d77c7f65362934a38cc8e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/17f121ca3ec6be0fb32d77c7f65362934a38cc8e Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/4484ce97a78171668c402e0c45db7f760aea8060 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4484ce97a78171668c402e0c45db7f760aea8060 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/6a02a61e81c231cc5c680c5dbf8665275147ac52 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6a02a61e81c231cc5c680c5dbf8665275147ac52 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/be01f1c988757b95f11f090a9f491365670a522b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/be01f1c988757b95f11f090a9f491365670a522b Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/ebf46da50beb78066674354ad650606a467e33fa Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ebf46da50beb78066674354ad650606a467e33fa Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/17f121ca3ec6be0fb32d77c7f65362934a38cc8e Added Reference https://git.kernel.org/stable/c/4484ce97a78171668c402e0c45db7f760aea8060 Added Reference https://git.kernel.org/stable/c/6a02a61e81c231cc5c680c5dbf8665275147ac52 Added Reference https://git.kernel.org/stable/c/8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717 Added Reference https://git.kernel.org/stable/c/be01f1c988757b95f11f090a9f491365670a522b Added Reference https://git.kernel.org/stable/c/ebf46da50beb78066674354ad650606a467e33fa -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 30, 2024
Action Type Old Value New Value Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 03, 2024
Action Type Old Value New Value Added 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 Added Reference kernel.org https://git.kernel.org/stable/c/17f121ca3ec6be0fb32d77c7f65362934a38cc8e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8d66989b5f7bb28bba2f8e1e2ffc8bfef4a10717 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/be01f1c988757b95f11f090a9f491365670a522b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ebf46da50beb78066674354ad650606a467e33fa [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4484ce97a78171668c402e0c45db7f760aea8060 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6a02a61e81c231cc5c680c5dbf8665275147ac52 [No types assigned]