{"id":"CVE-2022-48788","summary":"nvme-rdma: fix possible use-after-free in transport error_recovery work","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-rdma: fix possible use-after-free in transport error_recovery work\n\nWhile nvme_rdma_submit_async_event_work is checking the ctrl and queue\nstate before preparing the AER command and scheduling io_work, in order\nto fully prevent a race where this check is not reliable the error\nrecovery work must flush async_event_work before continuing to destroy\nthe admin queue after setting the ctrl state to RESETTING such that\nthere is no race .submit_async_event and the error recovery handler\nitself changing the ctrl state.","modified":"2026-05-15T11:54:17.544674371Z","published":"2024-07-16T11:43:45.213Z","related":["SUSE-SU-2024:2894-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:3225-1","SUSE-SU-2024:3249-1","SUSE-SU-2024:3559-1","SUSE-SU-2024:3566-1","SUSE-SU-2024:3591-1","SUSE-SU-2024:4100-1","SUSE-SU-2025:0034-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48788.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/324f5bdc52ecb6a6dadb31a62823ef8c709d1439"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5593f72d1922403c11749532e3a0aa4cf61414e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/646952b2210f19e584d2bf9eb5d092abdca2fcc1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6bb1722f34bbdbabed27acdceaf585d300c5fd2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d411b2a5da68b8a130c23097014434ac140a2ace"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea86027ac467a055849c4945906f799e7f65ab99"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48788.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48788"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"4.19.231"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.181"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.102"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.25"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.16.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48788.json"}}],"schema_version":"1.7.5"}