7.8
HIGH CVSS 3.1
CVE-2023-53116
nvmet: avoid potential UAF in nvmet_req_complete()
Description

In 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.

INFO

Published Date :

May 2, 2025, 4:15 p.m.

Last Modified :

Nov. 10, 2025, 5:52 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2023-53116 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Update the Linux kernel to resolve a potential use-after-free vulnerability in nvmet.
  • Update the Linux kernel to the latest version.
  • Apply the specific patch for nvmet_req_complete.
  • Recompile the kernel with the fix.
  • Deploy the updated kernel image.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-53116 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-2023-53116 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-2023-53116 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-53116 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]

    Nov. 10, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.2.8 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.104 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.176 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 up to (excluding) 4.14.311 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.279 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.238
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/04c394208831d5e0d5cfee46722eb0f033cd4083 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/6173a77b7e9d3e202bdb9897b23f2a8afe7bf286 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/8ed9813871038b25a934b21ab76b5b7dbf44fc3a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a6317235da8aa7cb97529ebc8121cc2a4c4c437a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/bcd535f07c58342302a2cd2bdd8894fe0872c8a9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e5d99b29012bbf0e86929403209723b2806500c1 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f1d5888a5efe345b63c430b256e95acb0a475642 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/fafcb4b26393870c45462f9af6a48e581dbbcf7e Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 02, 2025

    Action Type Old Value New Value
    Added Description In 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.
    Added Reference https://git.kernel.org/stable/c/04c394208831d5e0d5cfee46722eb0f033cd4083
    Added Reference https://git.kernel.org/stable/c/6173a77b7e9d3e202bdb9897b23f2a8afe7bf286
    Added Reference https://git.kernel.org/stable/c/8ed9813871038b25a934b21ab76b5b7dbf44fc3a
    Added Reference https://git.kernel.org/stable/c/a6317235da8aa7cb97529ebc8121cc2a4c4c437a
    Added Reference https://git.kernel.org/stable/c/bcd535f07c58342302a2cd2bdd8894fe0872c8a9
    Added Reference https://git.kernel.org/stable/c/e5d99b29012bbf0e86929403209723b2806500c1
    Added Reference https://git.kernel.org/stable/c/f1d5888a5efe345b63c430b256e95acb0a475642
    Added Reference https://git.kernel.org/stable/c/fafcb4b26393870c45462f9af6a48e581dbbcf7e
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact