CVE-2023-53116

published 2 May 2025 · updated 15 Oct 2026

nvmet: avoid potential UAF in nvmet_req_complete()

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 04c394208831d5e0d5cfee46722eb0f033cd4083, Kernel 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286, Kernel 8ed9813871038b25a934b21ab76b5b7dbf44fc3a and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.8, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <04c394208831d5e0d5cfee46722eb0f033cd4083, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <6173a77b7e9d3e202bdb9897b23f2a8afe7bf286, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <8ed9813871038b25a934b21ab76b5b7dbf44fc3a, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <a6317235da8aa7cb97529ebc8121cc2a4c4c437a, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <bcd535f07c58342302a2cd2bdd8894fe0872c8a9, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <e5d99b29012bbf0e86929403209723b2806500c1, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <f1d5888a5efe345b63c430b256e95acb0a475642, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <fafcb4b26393870c45462f9af6a48e581dbbcf7e04c394208831d5e0d5cfee46722eb0f033cd4083, 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286, 8ed9813871038b25a934b21ab76b5b7dbf44fc3a, a6317235da8aa7cb97529ebc8121cc2a4c4c437a, bcd535f07c58342302a2cd2bdd8894fe0872c8a9, e5d99b29012bbf0e86929403209723b2806500c1, f1d5888a5efe345b63c430b256e95acb0a475642, fafcb4b26393870c45462f9af6a48e581dbbcf7e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-53116 severity on Zeptric[![CVE-2023-53116](https://zeptric.io/badge/cve/CVE-2023-53116.svg)](https://zeptric.io/cve/CVE-2023-53116)