CVE-2023-53116
nvmet: avoid potential UAF in nvmet_req_complete()
Check your servers for CVE-2023-53116
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53116 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.56%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 48.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a07b4970f464f13640e28e16dad6cfa33647cc99, before e5d99b29012bbf0e86929403209723b2806500c1 affected from a07b4970f464f13640e28e16dad6cfa33647cc99, before fafcb4b26393870c45462f9af6a48e581dbbcf7e affected from a07b4970f464f13640e28e16dad6cfa33647cc99, before 04c394208831d5e0d5cfee46722eb0f033cd4083 affected from a07b4970f464f13640e28e16dad6cfa33647cc99, before a6317235da8aa7cb97529ebc8121cc2a4c4c437a affected from a07b4970f464f13640e28e16dad6cfa33647cc99, before f1d5888a5efe345b63c430b256e95acb0a475642 affected from a07b4970f464f13640e28e16dad6cfa33647cc99, before bcd535f07c58342302a2cd2bdd8894fe0872c8a9 affected from a07b4970f464f13640e28e16dad6cfa33647cc99, before 8ed9813871038b25a934b21ab76b5b7dbf44fc3a affected from a07b4970f464f13640e28e16dad6cfa33647cc99, before 6173a77b7e9d3e202bdb9897b23f2a8afe7bf286
Other versions: unaffected
|
| Linux |
affected 4.8 unaffected before 4.8 unaffected from 4.14.311 up to and including 4.14.* unaffected from 4.19.279 up to and including 4.19.* unaffected from 5.4.238 up to and including 5.4.* unaffected from 5.10.176 up to and including 5.10.* unaffected from 5.15.104 up to and including 5.15.* unaffected from 6.1.21 up to and including 6.1.* unaffected from 6.2.8 up to and including 6.2.* unaffected 6.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53116 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53116
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53116
trivy image --scanners vuln IMAGE | grep CVE-2023-53116
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/e5d99b29012bbf0e86929403209723b2806500c1 git.kernel.org
- https://git.kernel.org/stable/c/fafcb4b26393870c45462f9af6a48e581dbbcf7e git.kernel.org
- https://git.kernel.org/stable/c/04c394208831d5e0d5cfee46722eb0f033cd4083 git.kernel.org
- https://git.kernel.org/stable/c/a6317235da8aa7cb97529ebc8121cc2a4c4c437a git.kernel.org
- https://git.kernel.org/stable/c/f1d5888a5efe345b63c430b256e95acb0a475642 git.kernel.org
- https://git.kernel.org/stable/c/bcd535f07c58342302a2cd2bdd8894fe0872c8a9 git.kernel.org
- https://git.kernel.org/stable/c/8ed9813871038b25a934b21ab76b5b7dbf44fc3a git.kernel.org
- https://git.kernel.org/stable/c/6173a77b7e9d3e202bdb9897b23f2a8afe7bf286 git.kernel.org
Source: the record CVE-2023-53116 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse