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

Published May 3, 2024
·
Updated

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 blkmqcompleterequestremote+0xac/0x350 Read of size 4 at addr 0000607bd1835943 by task kworker/13:1/460 Workqueue: nvmet-wq nvmeloopexecutework [nvmeloop] Call Trace: showstack+0x52/0x58 dumpstacklvl+0x49/0x5e printreport.cold+0x36/0x1e2 kasanreport+0xb9/0xf0 asanload4+0x6b/0x80 blkmqcompleterequestremote+0xac/0x350 nvmeloopqueueresponse+0x1df/0x275 [nvmeloop] nvmetreqcomplete+0x132/0x4f0 [nvmet] nvmetreqcomplete+0x15/0x40 [nvmet] nvmetexecuteioconnect+0x18a/0x1f0 [nvmet] nvmeloopexecutework+0x20/0x30 [nvmeloop] processonework+0x56e/0xa70 workerthread+0x2d1/0x640 kthread+0x183/0x1c0 retfromfork+0x1f/0x30

Affected Software

10 affected components
Linux Kernel
Linux Linux kernel>=4.8<4.19.260
Linux Linux kernel>=4.20<5.4.213
Linux Linux kernel>=5.5<5.10.143
Linux Linux kernel>=5.11<5.15.68
Linux Linux kernel>=5.16<5.19.9
Linux Linux kernel=6.0-rc1
Linux Linux kernel=6.0-rc2
Linux Linux kernel=6.0-rc3
Linux Linux kernel=6.0-rc4

Event History

May 3, 2024
CVE Published
via MITRE·03:10 PM
Data Sourced
via MITRE·03:10 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-48697?

CVE-2022-48697 is classified as a high severity vulnerability due to its potential to cause a use-after-free condition.

2

How do I fix CVE-2022-48697?

To fix CVE-2022-48697, you should update the Linux kernel to the latest version that patches this vulnerability.

3

What systems are affected by CVE-2022-48697?

CVE-2022-48697 affects several versions of the Linux kernel, including versions from 4.8 to 6.0-rc4.

4

What type of vulnerability is CVE-2022-48697?

CVE-2022-48697 is a use-after-free vulnerability found in the Linux kernel.

5

What are the potential impacts of CVE-2022-48697?

The potential impacts of CVE-2022-48697 include crashes, system instability, or the possibility of remote code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203