CVE-2022-48788: nvme-rdma: fix possible use-after-free in transport error_recovery work

Published Jul 16, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nvme-rdma: fix possible use-after-free in transport errorrecovery work

While nvmerdmasubmitasynceventwork is checking the ctrl and queue state before preparing the AER command and scheduling iowork, in order to fully prevent a race where this check is not reliable the error recovery work must flush asynceventwork before continuing to destroy the admin queue after setting the ctrl state to RESETTING such that there is no race .submitasyncevent and the error recovery handler itself changing the ctrl state.

Affected Software

9 affected componentsFixes available
Linux Linux kernel<4.19.231
Linux Linux kernel>=4.20<5.4.181
Linux Linux kernel>=5.5<5.10.102
Linux Linux kernel>=5.11<5.15.25
Linux Linux kernel>=5.16<5.16.11
Linux Linux kernel=5.17-rc1
Linux Linux kernel=5.17-rc2
Microsoft cbl2 kernel 5.15.32.1-3<-
-
Microsoft cbl2 kernel 5.15.173.1-1<5.15.32.1-3
5.15.32.1-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in -
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.15.32.1-3
  3. Compensating control

    Ensure nvme-rdma recovery work flushes async_event_work before continuing to destroy state and before preparing the AER command and scheduling io_work, after setting the controller state to RESETTING, so there is no race between .submit_async_event and the error recovery handler.

Event History

Jul 16, 2024
CVE Published
via MITRE·11:43 AM
Data Sourced
via MITRE·11:43 AM
DescriptionSeverity
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 10, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Updated
via Microsoft·07:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2022-48788?

CVE-2022-48788 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2022-48788?

To mitigate CVE-2022-48788, upgrade to a patched version of the Linux kernel that addresses this vulnerability.

3

Which versions of the Linux Kernel are affected by CVE-2022-48788?

CVE-2022-48788 affects multiple versions of Linux Kernel between 4.19.231 and 5.17-rc2.

4

What kind of vulnerability is CVE-2022-48788?

CVE-2022-48788 is a use-after-free vulnerability that can occur in the NVMe over RDMA subsystem.

5

Is CVE-2022-48788 actively exploited?

As of the latest information, there are no public reports indicating active exploitation of CVE-2022-48788.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203