9.8

CVE-2022-48790: nvme: fix a possible use-after-free in controller reset during load

Modified
AliasesUBUNTU-CVE-2022-48790DEBIAN-CVE-2022-48790
Published 16-07-2024Last modified 05-08-2026

Vulnerability summary

CVE-2022-48790 is a critical (CVSS 9.8) Use After Free vulnerability in linux. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 56.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.79%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 12

Timeline

  1. 16-07-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: nvme: fix a possible use-after-free in controller reset during load Unlike .queue_rq, in .submit_async_event drivers may not check the ctrl readiness for AER submission. This may lead to a use-after-free condition that was observed with nvme-tcp. The race condition may happen in the following scenario: 1. driver executes its reset_ctrl_work 2. -> nvme_stop_ctrl - flushes ctrl async_event_work 3. ctrl sends AEN which is received by the host, which in turn schedules AEN handling 4. teardown admin queue (which releases the queue socket) 5. AEN processed, submits another AER, calling the driver to submit 6. driver attempts to send the cmd ==> use-after-free In order to fix that, add ctrl state check to validate the ctrl is actually able to accept the AER submission. This addresses the above race in controller resets because the driver during teardown should: 1. change ctrl state to RESETTING 2. flush async_event_work (as well as other async work elements) So after 1,2, any other AER command will find the ctrl state to be RESETTING and bail out without submitting the AER.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.79%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.79% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu94 products
  • linuxAll versions (No fix recorded) | < 5.4.0-110.124
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1073.78
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ ad22c355b707a8d8d48e282aadc01c0b0604b2e9, < a25e460fbb0340488d119fb2e28fe3f829b7417e | ≥ ad22c355b707a8d8d48e282aadc01c0b0604b2e9, < 70356b756a58704e5c8818cb09da5854af87e765 | ≥ ad22c355b707a8d8d48e282aadc01c0b0604b2e9, < 0ead57ceb21bbf15963b4874c2ac67143455382f | ≥ ad22c355b707a8d8d48e282aadc01c0b0604b2e9, < e043fb5a0336ee74614e26f0d9f36f1f5bb6d606 | ≥ ad22c355b707a8d8d48e282aadc01c0b0604b2e9, < 9e956a2596ae276124ef0d96829c013dd0faf861 | ≥ ad22c355b707a8d8d48e282aadc01c0b0604b2e9, < 0fa0f99fc84e41057cbdd2efbfe91c6b2f47dd9d | 4.15
  • linux_kernel< 4.19.231 | ≥ 4.20, < 5.4.181 | ≥ 5.5, < 5.10.102 | ≥ 5.11, < 5.15.25 | ≥ 5.16, < 5.16.11
Debian1 product
  • linux< 5.16.11-1

3 vendors · 97 products

References

10 links