All reports
Medium

kernel: nvmet: avoid potential UAF in nvmet_req_complete()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53116

Probability of exploitation in the next 30 days: 0.55%

FIRST EPSS · 2026-11-22

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.

A flaw was found in the Linux kernel's NVMe (Non-Volatile Memory Express) target subsystem. During request completion, a memory structure can be prematurely freed and subsequently dereferenced, leading to a use-after-free condition. A local user could exploit this flaw to cause a kernel crash, resulting in a denial of service (DoS).