{"id":"CVE-2023-54100","published":"2025-12-24T13:06:26Z","modified":"2026-08-05T09:17:17Z","title":"scsi: qedi: Fix use after free bug in qedi_remove()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00227,"percentile":0.07979,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fa19c533ab19161298f0780bcc6523af88f6fd20","tags":[]},{"url":"https://git.kernel.org/stable/c/5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151","tags":[]},{"url":"https://git.kernel.org/stable/c/3738a230831e861503119ee2691c4a7dc56ed60a","tags":[]},{"url":"https://git.kernel.org/stable/c/89f6023fc321c958a0fb11f143a6eb4544ae3940","tags":[]},{"url":"https://git.kernel.org/stable/c/124027cd1a624ce0347adcd59241a9966a726b22","tags":[]},{"url":"https://git.kernel.org/stable/c/c5749639f2d0a1f6cbe187d05f70c2e7c544d748","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":1.6},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4b1068f5d74b6cc92319bd7eba40809b1222e73f, < fa19c533ab19161298f0780bcc6523af88f6fd20",">= 4b1068f5d74b6cc92319bd7eba40809b1222e73f, < 5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151",">= 4b1068f5d74b6cc92319bd7eba40809b1222e73f, < 3738a230831e861503119ee2691c4a7dc56ed60a",">= 4b1068f5d74b6cc92319bd7eba40809b1222e73f, < 89f6023fc321c958a0fb11f143a6eb4544ae3940",">= 4b1068f5d74b6cc92319bd7eba40809b1222e73f, < 124027cd1a624ce0347adcd59241a9966a726b22",">= 4b1068f5d74b6cc92319bd7eba40809b1222e73f, < c5749639f2d0a1f6cbe187d05f70c2e7c544d748"]},{"vendor":"Linux","product":"Linux","versions":["5.7"]}],"euvd":{"id":"EUVD-2023-60345","exploited":false,"provenance":"source"}}