CVE-2023-53116

nvmet: avoid potential UAF in nvmet_req_complete()

HIGH
7.8
CVSS Score
Published: May 2, 2025 at 03:55 PM UTC
Updated: October 15, 2026 at 10:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 4.19.2794.20 ≤ v < 5.4.2384.8 ≤ v < 4.14.3115.11 ≤ v < 5.15.1045.16 ≤ v < 6.1.215.5 ≤ v < 5.10.1766.2 ≤ v < 6.2.86.36.3 rc16.3 rc2a07b4970f464f13640e28e16dad6cfa33647cc99
Vendor states this is fixed in 04c394208831d5e0d5cfee46722eb0f033cd4083 (fixed)
Vendor states this is fixed in 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286 (fixed)
Vendor states this is fixed in 8ed9813871038b25a934b21ab76b5b7dbf44fc3a (fixed)
Vendor states this is fixed in a6317235da8aa7cb97529ebc8121cc2a4c4c437a (fixed)
Vendor states this is fixed in bcd535f07c58342302a2cd2bdd8894fe0872c8a9 (fixed)
Vendor states this is fixed in e5d99b29012bbf0e86929403209723b2806500c1 (fixed)
Vendor states this is fixed in f1d5888a5efe345b63c430b256e95acb0a475642 (fixed)
Vendor states this is fixed in fafcb4b26393870c45462f9af6a48e581dbbcf7e (fixed)
Vendor states this is fixed in 4.14.311 (unaffected)
Vendor states this is fixed in 4.19.279 (unaffected)
Vendor states this is fixed in 4.8 (unaffected)
Vendor states this is fixed in 5.10.176 (unaffected)
Vendor states this is fixed in 5.15.104 (unaffected)
Vendor states this is fixed in 5.4.238 (unaffected)
Vendor states this is fixed in 6.1.21 (unaffected)
Vendor states this is fixed in 6.2.8 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/04c394208831d5e0d5cfee46722eb0f033cd4083
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6173a77b7e9d3e202bdb9897b23f2a8afe7bf286
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8ed9813871038b25a934b21ab76b5b7dbf44fc3a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a6317235da8aa7cb97529ebc8121cc2a4c4c437a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bcd535f07c58342302a2cd2bdd8894fe0872c8a9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e5d99b29012bbf0e86929403209723b2806500c1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f1d5888a5efe345b63c430b256e95acb0a475642
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fafcb4b26393870c45462f9af6a48e581dbbcf7e

SSVC — Action Prioritization

SSVCNo known exploitAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card