{"id":"CVE-2022-48789","aliases":["CVE-2022-48789"],"related":[],"kind":"vulnerability","state":"published","title":"nvme-tcp: fix possible use-after-free in transport error_recovery work","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvme-tcp: soluciona el posible use-after-free en el transporte error_recovery work Mientras nvme_tcp_submit_async_event_work verifica el control y el estado de la cola antes de preparar el comando AER y programar io_work, para evitar completamente una ejecución donde esta verificación no es confiable, el trabajo de recuperación de errores debe eliminar async_event_work antes de continuar destruyendo la cola de administración después de configurar el estado de control en RESETTING de manera que no haya ejecución .submit_async_event y el propio controlador de recuperación de errores cambie el estado de control.","source":"nvd"}],"published":"2024-07-16T11:43:45.894Z","modified":"2026-08-05T08:52:19.606Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"3f2304f8c6d6ed97849057bd16fee99e434ca796","fixed":"61a26ffd5ad3ece456d74c4c79f7b5e3f440a141","status":"affected"},{"type":"git","introduced":"3f2304f8c6d6ed97849057bd16fee99e434ca796","fixed":"e192184cf8bce8dd55d619f5611a2eaba996fa05","status":"affected"},{"type":"git","introduced":"3f2304f8c6d6ed97849057bd16fee99e434ca796","fixed":"5e42fca37ccc76f39f73732661bd47254cad5982","status":"affected"},{"type":"git","introduced":"3f2304f8c6d6ed97849057bd16fee99e434ca796","fixed":"bb0d8fb35c4ff00a503c2c4dca4cce8d102a21c4","status":"affected"},{"type":"git","introduced":"3f2304f8c6d6ed97849057bd16fee99e434ca796","fixed":"ff9fc7ebf5c06de1ef72a69f9b1ab40af8b07f9e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.4.181","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.102","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.25","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.11","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.181"},{"status":"affected","introduced":"5.5","fixed":"5.10.102"},{"status":"affected","introduced":"5.11","fixed":"5.15.25"},{"status":"affected","introduced":"5.16","fixed":"5.16.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/61a26ffd5ad3ece456d74c4c79f7b5e3f440a141","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e192184cf8bce8dd55d619f5611a2eaba996fa05","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e42fca37ccc76f39f73732661bd47254cad5982","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb0d8fb35c4ff00a503c2c4dca4cce8d102a21c4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff9fc7ebf5c06de1ef72a69f9b1ab40af8b07f9e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:59:42.520Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48789","url":"https://www.cve.org/CVERecord?id=CVE-2022-48789","licence":"CVE Terms of Use","modified":"2026-08-05T08:52:19.606Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48789","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48789","licence":"Public domain","modified":"2026-08-04T10:17:21.293Z"}],"updatedAt":"2026-11-25T22:58:19.882Z","epss":{"score":0.00665,"percentile":0.5304,"date":"2026-12-01T12:00:22.000Z"}}