{"id":"CVE-2026-89854","aliases":["CVE-2026-89854"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: qla2xxx: Fix cs84xx use-after-free on host teardown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Fix cs84xx use-after-free on host teardown\n\nqla84xx_put_chip() drops the last reference to ha->cs84xx and frees it via\n__qla84xx_chip_release() without clearing ha->cs84xx. During teardown it ran\nbefore scsi_remove_host(), which is what removes the 84xx_fw_version host\nsysfs attribute. A concurrent read of that attribute in the window between\nthe two calls executes qla24xx_84xx_fw_version_show(), which dereferences\nthe freed ha->cs84xx, resulting in a use-after-free.\n\nMove qla84xx_put_chip() to after scsi_remove_host() in both\nqla2x00_remove_one() and qla2x00_disable_board_on_pci_error(). Once\nscsi_remove_host() returns, the sysfs attribute is gone and kernfs has\ndrained any in-flight show(), so no reader can touch cs84xx; the put still\nruns before the host and ha are freed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Fix cs84xx use-after-free on host teardown\n\nqla84xx_put_chip() drops the last reference to ha->cs84xx and frees it via\n__qla84xx_chip_release() without clearing ha->cs84xx. During teardown it ran\nbefore scsi_remove_host(), which is what removes the 84xx_fw_version host\nsysfs attribute. A concurrent read of that attribute in the window between\nthe two calls executes qla24xx_84xx_fw_version_show(), which dereferences\nthe freed ha->cs84xx, resulting in a use-after-free.\n\nMove qla84xx_put_chip() to after scsi_remove_host() in both\nqla2x00_remove_one() and qla2x00_disable_board_on_pci_error(). Once\nscsi_remove_host() returns, the sysfs attribute is gone and kernfs has\ndrained any in-flight show(), so no reader can touch cs84xx; the put still\nruns before the host and ha are freed.","source":"cvelist"}],"published":"2026-09-16T10:31:27.906Z","modified":"2026-10-19T09:18:29.693Z","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":"fe1b806f4f7172b1eae18ddeebb7d8fb351043f7","fixed":"8c1ebcade6aac58137f2645b579894301febabf3","status":"affected"},{"type":"git","introduced":"fe1b806f4f7172b1eae18ddeebb7d8fb351043f7","fixed":"1d8bbc4344b9367d9d54731475d745fbc9ea28f2","status":"affected"},{"type":"git","introduced":"fe1b806f4f7172b1eae18ddeebb7d8fb351043f7","fixed":"2c3b17ee53f034936f7398dbf4d143e608b7c35c","status":"affected"},{"type":"git","introduced":"fe1b806f4f7172b1eae18ddeebb7d8fb351043f7","fixed":"ae09260be7454ed7630a913f147591a25e3a9d09","status":"affected"},{"type":"git","introduced":"fe1b806f4f7172b1eae18ddeebb7d8fb351043f7","fixed":"fcf0804dfe05862007189ac9dc4dc2063be36de1","status":"affected"},{"type":"git","introduced":"fe1b806f4f7172b1eae18ddeebb7d8fb351043f7","fixed":"8286a9095fb59751fba171afa2b4f590271c87d5","status":"affected"},{"type":"git","introduced":"fe1b806f4f7172b1eae18ddeebb7d8fb351043f7","fixed":"122bf170c94a3797531b12fee580639a5dc893ed","status":"affected"},{"type":"git","introduced":"fe1b806f4f7172b1eae18ddeebb7d8fb351043f7","fixed":"33d102102d925357c5fd172dd6672a27d74b3215","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.14","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/8c1ebcade6aac58137f2645b579894301febabf3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d8bbc4344b9367d9d54731475d745fbc9ea28f2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c3b17ee53f034936f7398dbf4d143e608b7c35c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae09260be7454ed7630a913f147591a25e3a9d09","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fcf0804dfe05862007189ac9dc4dc2063be36de1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8286a9095fb59751fba171afa2b4f590271c87d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/122bf170c94a3797531b12fee580639a5dc893ed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33d102102d925357c5fd172dd6672a27d74b3215","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89854","url":"https://www.cve.org/CVERecord?id=CVE-2026-89854","licence":"CVE Terms of Use","modified":"2026-10-19T08:53:47.075Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89854","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89854","licence":"Public domain","modified":"2026-10-19T09:18:29.693Z"}],"updatedAt":"2026-11-25T22:59:38.957Z","epss":{"score":0.00164,"percentile":0.05832,"date":"2026-12-01T12:00:22.000Z"}}