CVE-2022-48788

nvme-rdma: 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.9%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: fix possible use-after-free in transport error_recovery work While nvme_rdma_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 < 4.19.2314.20 ≤ v < 5.4.1814.8 ≤ v < 4.19.2314.8 ≤ v < 5.10.1024.8 ≤ v < 5.15.254.8 ≤ v < 5.16.114.8 ≤ v < 5.174.8 ≤ v < 5.4.1815.11 ≤ v < 5.15.255.16 ≤ v < 5.16.115.5 ≤ v < 5.10.1025.17 rc15.17 rc27110230719602852481c2793d054f866b2bf4a2b
Vendor states this is fixed in 324f5bdc52ecb6a6dadb31a62823ef8c709d1439 (fixed)
Vendor states this is fixed in 5593f72d1922403c11749532e3a0aa4cf61414e9 (fixed)
Vendor states this is fixed in 646952b2210f19e584d2bf9eb5d092abdca2fcc1 (fixed)
Vendor states this is fixed in b6bb1722f34bbdbabed27acdceaf585d300c5fd2 (fixed)
Vendor states this is fixed in d411b2a5da68b8a130c23097014434ac140a2ace (fixed)
Vendor states this is fixed in ea86027ac467a055849c4945906f799e7f65ab99 (fixed)
Vendor states this is fixed in 4.19.231 (unaffected)
Vendor states this is fixed in 4.8 (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 (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/324f5bdc52ecb6a6dadb31a62823ef8c709d1439
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5593f72d1922403c11749532e3a0aa4cf61414e9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/646952b2210f19e584d2bf9eb5d092abdca2fcc1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b6bb1722f34bbdbabed27acdceaf585d300c5fd2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d411b2a5da68b8a130c23097014434ac140a2ace
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea86027ac467a055849c4945906f799e7f65ab99

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