{"id":"CVE-2022-48789","summary":"nvme-tcp: fix possible use-after-free in transport error_recovery work","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-tcp: fix possible use-after-free in transport error_recovery work\n\nWhile nvme_tcp_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.099420Z","published":"2024-07-16T11:43:45.894Z","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-48789.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5e42fca37ccc76f39f73732661bd47254cad5982"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61a26ffd5ad3ece456d74c4c79f7b5e3f440a141"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb0d8fb35c4ff00a503c2c4dca4cce8d102a21c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e192184cf8bce8dd55d619f5611a2eaba996fa05"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff9fc7ebf5c06de1ef72a69f9b1ab40af8b07f9e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48789.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48789"},{"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":"3f2304f8c6d6ed97849057bd16fee99e434ca796"},{"fixed":"61a26ffd5ad3ece456d74c4c79f7b5e3f440a141"},{"fixed":"e192184cf8bce8dd55d619f5611a2eaba996fa05"},{"fixed":"5e42fca37ccc76f39f73732661bd47254cad5982"},{"fixed":"bb0d8fb35c4ff00a503c2c4dca4cce8d102a21c4"},{"fixed":"ff9fc7ebf5c06de1ef72a69f9b1ab40af8b07f9e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48789.json"}}],"schema_version":"1.7.5"}