CVE-2023-53116: nvmet: avoid potential UAF in nvmet_req_complete()
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
Event History
Frequently Asked Questions
What is the severity of CVE-2023-53116?
CVE-2023-53116 is classified as a moderate severity vulnerability in the Linux kernel.
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.
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.
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.
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.