7.8

CVE-2022-48788

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version < 4.19.231
LinuxLinux Kernel Version >= 4.20 < 5.4.181
LinuxLinux Kernel Version >= 5.5 < 5.10.102
LinuxLinux Kernel Version >= 5.11 < 5.15.25
LinuxLinux Kernel Version >= 5.16 < 5.16.11
LinuxLinux Kernel Version5.17 Updaterc1
LinuxLinux Kernel Version5.17 Updaterc2
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.32% 0.24
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

https://git.kernel.org/stable/c/324f5bdc52ecb6a6dadb31a62823ef8c709d1439
Patch
https://git.kernel.org/stable/c/5593f72d1922403c11749532e3a0aa4cf61414e9
Patch
https://git.kernel.org/stable/c/646952b2210f19e584d2bf9eb5d092abdca2fcc1
Patch
https://git.kernel.org/stable/c/b6bb1722f34bbdbabed27acdceaf585d300c5fd2
Patch
https://git.kernel.org/stable/c/d411b2a5da68b8a130c23097014434ac140a2ace
Patch
https://git.kernel.org/stable/c/ea86027ac467a055849c4945906f799e7f65ab99
Patch