CVE-2022-48789

nvme-tcp: fix possible use-after-free in transport error_recovery work

HIGH
7.8
CVSS Score
Published: July 16, 2024 at 11:43 AM UTC
Updated: August 5, 2026 at 09:24 AM 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.7%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: fix possible use-after-free in transport error_recovery work While nvme_tcp_submit_async_event_work is checking the ctrl and queue state before preparing the AER command and scheduling io_work, in order to fully prevent a race where this check is not reliable the error recovery work must flush async_event_work before continuing to destroy the admin queue after setting the ctrl state to RESETTING such that there is no race .submit_async_event and the error recovery handler itself changing the ctrl state.

Affected

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

v < 5.4.1815.0 ≤ v < 5.10.1025.0 ≤ v < 5.15.255.0 ≤ v < 5.16.115.0 ≤ v < 5.175.0 ≤ v < 5.4.1815.11 ≤ v < 5.15.255.16 ≤ v < 5.16.115.5 ≤ v < 5.10.1023f2304f8c6d6ed97849057bd16fee99e434ca7965.0
Vendor states this is fixed in 5e42fca37ccc76f39f73732661bd47254cad5982 (fixed)
Vendor states this is fixed in 61a26ffd5ad3ece456d74c4c79f7b5e3f440a141 (fixed)
Vendor states this is fixed in bb0d8fb35c4ff00a503c2c4dca4cce8d102a21c4 (fixed)
Vendor states this is fixed in e192184cf8bce8dd55d619f5611a2eaba996fa05 (fixed)
Vendor states this is fixed in ff9fc7ebf5c06de1ef72a69f9b1ab40af8b07f9e (fixed)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.102 (unaffected)
Vendor states this is fixed in 5.15.25 (unaffected)
Vendor states this is fixed in 5.16.11 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 5.4.181 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e42fca37ccc76f39f73732661bd47254cad5982
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/61a26ffd5ad3ece456d74c4c79f7b5e3f440a141
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bb0d8fb35c4ff00a503c2c4dca4cce8d102a21c4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e192184cf8bce8dd55d619f5611a2eaba996fa05
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ff9fc7ebf5c06de1ef72a69f9b1ab40af8b07f9e

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial 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