{"id":"CVE-2023-54100","summary":"scsi: qedi: Fix use after free bug in qedi_remove()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qedi: Fix use after free bug in qedi_remove()\n\nIn qedi_probe() we call __qedi_probe() which initializes\n&qedi-\u003erecovery_work with qedi_recovery_handler() and\n&qedi-\u003eboard_disable_work with qedi_board_disable_work().\n\nWhen qedi_schedule_recovery_handler() is called, schedule_delayed_work()\nwill finally start the work.\n\nIn qedi_remove(), which is called to remove the driver, the following\nsequence may be observed:\n\nFix this by finishing the work before cleanup in qedi_remove().\n\nCPU0                  CPU1\n\n                     |qedi_recovery_handler\nqedi_remove          |\n  __qedi_remove      |\niscsi_host_free      |\nscsi_host_put        |\n//free shost         |\n                     |iscsi_host_for_each_session\n                     |//use qedi-\u003eshost\n\nCancel recovery_work and board_disable_work in __qedi_remove().","modified":"2026-04-02T09:45:36.004431Z","published":"2025-12-24T13:06:26.560Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54100.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/124027cd1a624ce0347adcd59241a9966a726b22"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3738a230831e861503119ee2691c4a7dc56ed60a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151"},{"type":"WEB","url":"https://git.kernel.org/stable/c/89f6023fc321c958a0fb11f143a6eb4544ae3940"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c5749639f2d0a1f6cbe187d05f70c2e7c544d748"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa19c533ab19161298f0780bcc6523af88f6fd20"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54100.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54100"},{"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":"4b1068f5d74b6cc92319bd7eba40809b1222e73f"},{"fixed":"fa19c533ab19161298f0780bcc6523af88f6fd20"},{"fixed":"5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151"},{"fixed":"3738a230831e861503119ee2691c4a7dc56ed60a"},{"fixed":"89f6023fc321c958a0fb11f143a6eb4544ae3940"},{"fixed":"124027cd1a624ce0347adcd59241a9966a726b22"},{"fixed":"c5749639f2d0a1f6cbe187d05f70c2e7c544d748"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54100.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.7.0"},{"fixed":"5.10.180"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.29"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.3.0"},{"fixed":"6.3.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54100.json"}}],"schema_version":"1.7.5"}