CVE-2023-53116
HighIn the Linux kernel, the following vulnerability has been resolved: nvmet: avoid potential UAF in nvmet_req_complete() An nvme target ->queue_response() operation implementation may free the request passed as argument. Such implementation potentially could result in a use after free of the request pointer when percpu_ref_put() is called in nvmet_req_complete(). Avoid such problem by using a local variable to save the sq pointer before calling __nvmet_req_complete(), thus avoiding dereferencing the req pointer after that function call.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2023-53116 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.8
and later are affected. Fixed in
4.14.311,
4.19.279,
5.4.238,
5.10.176,
5.15.104,
6.1.21,
6.2.8,
6.3
and their respective stable series.
References
The following references provide additional information about CVE-2023-53116 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/04c394208831d5e0d5cfee46722eb0f033cd4083
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6173a77b7e9d3e202bdb9897b23f2a8afe7bf286
-
PatchKernel patch commithttps://git.kernel.org/stable/c/8ed9813871038b25a934b21ab76b5b7dbf44fc3a
Frequently asked questions
-
What is CVE-2023-53116?
CVE-2023-53116 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 4.8 onward and has been patched in 4.14.311, 4.19.279, 5.4.238 and others. CVE-2023-53116 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2023-53116?
CVE-2023-53116 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2023-53116?
Yes — CVE-2023-53116 has been patched. Fixed versions include 4.14.311, 4.19.279, 5.4.238 and others. If you are running Linux kernel 4.8 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-53116 actively exploited?
No — CVE-2023-53116 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →