CVE-2023-53116: nvmet: avoid potential UAF in nvmet_req_complete()

Published May 2, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nvmet: avoid potential UAF in nvmetreqcomplete()

An nvme target ->queueresponse() operation implementation may free the request passed as argument. Such implementation potentially could result in a use after free of the request pointer when percpurefput() is called in nvmetreqcomplete().

Avoid such problem by using a local variable to save the sq pointer before calling nvmetreqcomplete(), thus avoiding dereferencing the req pointer after that function call.

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=4.8<4.14.311
Linux Linux kernel>=4.15<4.19.279
Linux Linux kernel>=4.20<5.4.238
Linux Linux kernel>=5.5<5.10.176
Linux Linux kernel>=5.11<5.15.104
Linux Linux kernel>=5.16<6.1.21
Linux Linux kernel>=6.2<6.2.8
Linux Linux kernel=6.3-rc1
Linux Linux kernel=6.3-rc2

Event History

May 2, 2025
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 29, 58560
Event
via MITRE·10:38 PM

Frequently Asked Questions

1

What is the severity of CVE-2023-53116?

CVE-2023-53116 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2023-53116?

To fix CVE-2023-53116, it is recommended to update the Linux kernel to a patched version that resolves the vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2023-53116?

CVE-2023-53116 affects certain versions of the Linux kernel, specifically those prior to the implementation of the fix.

4

What impact does CVE-2023-53116 have on system security?

CVE-2023-53116 can potentially lead to use-after-free vulnerabilities, which may allow an attacker to execute arbitrary code.

5

Are there any workarounds for CVE-2023-53116?

There are no widely recommended workarounds for CVE-2023-53116 other than applying the kernel update as soon as possible.

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