{"id":"CVE-2023-54100","aliases":["CVE-2023-54100"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: qedi: Fix use after free bug in qedi_remove()","summary":"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->recovery_work with qedi_recovery_handler() and\n&qedi->board_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->shost\n\nCancel recovery_work and board_disable_work in __qedi_remove().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->recovery_work with qedi_recovery_handler() and\n&qedi->board_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->shost\n\nCancel recovery_work and board_disable_work in __qedi_remove().","source":"cvelist"}],"published":"2025-12-24T13:06:26.560Z","modified":"2026-08-05T09:17:17.178Z","severity":{"scorer":"Linux","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"},"severities":[{"scorer":"Linux","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":[],"affected":[{"ranges":[{"type":"git","introduced":"4b1068f5d74b6cc92319bd7eba40809b1222e73f","fixed":"fa19c533ab19161298f0780bcc6523af88f6fd20","status":"affected"},{"type":"git","introduced":"4b1068f5d74b6cc92319bd7eba40809b1222e73f","fixed":"5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151","status":"affected"},{"type":"git","introduced":"4b1068f5d74b6cc92319bd7eba40809b1222e73f","fixed":"3738a230831e861503119ee2691c4a7dc56ed60a","status":"affected"},{"type":"git","introduced":"4b1068f5d74b6cc92319bd7eba40809b1222e73f","fixed":"89f6023fc321c958a0fb11f143a6eb4544ae3940","status":"affected"},{"type":"git","introduced":"4b1068f5d74b6cc92319bd7eba40809b1222e73f","fixed":"124027cd1a624ce0347adcd59241a9966a726b22","status":"affected"},{"type":"git","introduced":"4b1068f5d74b6cc92319bd7eba40809b1222e73f","fixed":"c5749639f2d0a1f6cbe187d05f70c2e7c544d748","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.180","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.112","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.29","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.16","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.3","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/fa19c533ab19161298f0780bcc6523af88f6fd20","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3738a230831e861503119ee2691c4a7dc56ed60a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89f6023fc321c958a0fb11f143a6eb4544ae3940","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/124027cd1a624ce0347adcd59241a9966a726b22","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c5749639f2d0a1f6cbe187d05f70c2e7c544d748","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54100","url":"https://www.cve.org/CVERecord?id=CVE-2023-54100","licence":"CVE Terms of Use","modified":"2026-08-05T09:17:17.178Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54100","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54100","licence":"Public domain","modified":"2026-08-04T10:19:29.303Z"}],"updatedAt":"2026-11-25T22:58:35.175Z","epss":{"score":0.00173,"percentile":0.07036,"date":"2026-12-01T12:00:22.000Z"}}