CVE-2023-53116
nvmet: avoid potential UAF in nvmet_req_complete()
Mitigation
- Upgrade Linux to 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286 or later.
Who should check
- Anyone running Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < e5d99b29012bbf0e86929403209723b2806500c1; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < fafcb4b26393870c45462f9af6a48e581dbbcf7e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 04c394208831d5e0d5cfee46722eb0f033cd4083; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < a6317235da8aa7cb97529ebc8121cc2a4c4c437a; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < f1d5888a5efe345b63c430b256e95acb0a475642; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < bcd535f07c58342302a2cd2bdd8894fe0872c8a9; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 8ed9813871038b25a934b21ab76b5b7dbf44fc3a; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286
- Anyone running Linux 4.8
Vulnerability facts
- Affected
- Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < e5d99b29012bbf0e86929403209723b2806500c1; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < fafcb4b26393870c45462f9af6a48e581dbbcf7e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 04c394208831d5e0d5cfee46722eb0f033cd4083; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < a6317235da8aa7cb97529ebc8121cc2a4c4c437a; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < f1d5888a5efe345b63c430b256e95acb0a475642; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < bcd535f07c58342302a2cd2bdd8894fe0872c8a9; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 8ed9813871038b25a934b21ab76b5b7dbf44fc3a; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286; Linux 4.8
- Fixed in
- Linux 04c394208831d5e0d5cfee46722eb0f033cd4083, Linux 8ed9813871038b25a934b21ab76b5b7dbf44fc3a, Linux 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.80% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-416
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a07b4970f464f13640e28e16dad6cfa33647cc99, < e5d99b29012bbf0e86929403209723b2806500c1; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < fafcb4b26393870c45462f9af6a48e581dbbcf7e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 04c394208831d5e0d5cfee46722eb0f033cd4083; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < a6317235da8aa7cb97529ebc8121cc2a4c4c437a; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < f1d5888a5efe345b63c430b256e95acb0a475642; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < bcd535f07c58342302a2cd2bdd8894fe0872c8a9; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 8ed9813871038b25a934b21ab76b5b7dbf44fc3a; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286 | — | cvelist |
| Linux | 4.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53116. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53116.md Affected: Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < e5d99b29012bbf0e86929403209723b2806500c1; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < fafcb4b26393870c45462f9af6a48e581dbbcf7e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 04c394208831d5e0d5cfee46722eb0f033cd4083; >= a07b4970f464f13640e28e1… Fixed in: Linux 04c394208831d5e0d5cfee46722eb0f033cd4083, Linux 8ed9813871038b25a934b21ab76b5b7dbf44fc3a, Linux 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/e5d99b29012bbf0e86929403209723b2806500c1
- https://git.kernel.org/stable/c/fafcb4b26393870c45462f9af6a48e581dbbcf7e
- https://git.kernel.org/stable/c/04c394208831d5e0d5cfee46722eb0f033cd4083
- https://git.kernel.org/stable/c/a6317235da8aa7cb97529ebc8121cc2a4c4c437a
- https://git.kernel.org/stable/c/f1d5888a5efe345b63c430b256e95acb0a475642
- https://git.kernel.org/stable/c/bcd535f07c58342302a2cd2bdd8894fe0872c8a9
- https://git.kernel.org/stable/c/8ed9813871038b25a934b21ab76b5b7dbf44fc3a
- https://git.kernel.org/stable/c/6173a77b7e9d3e202bdb9897b23f2a8afe7bf286
FAQ
Is CVE-2023-53116 being exploited?
There is no confirmed exploitation: CVE-2023-53116 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53116?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-53116?
Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < e5d99b29012bbf0e86929403209723b2806500c1; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < fafcb4b26393870c45462f9af6a48e581dbbcf7e; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 04c394208831d5e0d5cfee46722eb0f033cd4083; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < a6317235da8aa7cb97529ebc8121cc2a4c4c437a; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < f1d5888a5efe345b63c430b256e95acb0a475642; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < bcd535f07c58342302a2cd2bdd8894fe0872c8a9; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 8ed9813871038b25a934b21ab76b5b7dbf44fc3a; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286; Linux 4.8.
Is there a fix for CVE-2023-53116?
Yes. Fixed in Linux 04c394208831d5e0d5cfee46722eb0f033cd4083, Linux 8ed9813871038b25a934b21ab76b5b7dbf44fc3a, Linux 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286. Upgrade Linux to 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286 or later.
How do I check if I'm affected by CVE-2023-53116?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.