{"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-04-02T08:27:00.037774Z","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":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48788.json"},"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":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7110230719602852481c2793d054f866b2bf4a2b"},{"fixed":"5593f72d1922403c11749532e3a0aa4cf61414e9"},{"fixed":"d411b2a5da68b8a130c23097014434ac140a2ace"},{"fixed":"324f5bdc52ecb6a6dadb31a62823ef8c709d1439"},{"fixed":"646952b2210f19e584d2bf9eb5d092abdca2fcc1"},{"fixed":"ea86027ac467a055849c4945906f799e7f65ab99"},{"fixed":"b6bb1722f34bbdbabed27acdceaf585d300c5fd2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48788.json"}}],"schema_version":"1.7.5"}