{"id":"CVE-2026-89854","summary":"scsi: qla2xxx: Fix cs84xx use-after-free on host teardown","details":"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-\u003ecs84xx and frees it via\n__qla84xx_chip_release() without clearing ha-\u003ecs84xx. 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-\u003ecs84xx, 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.","modified":"2026-09-18T03:48:33.540072350Z","published":"2026-09-16T10:31:27.906Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89854.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/122bf170c94a3797531b12fee580639a5dc893ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1d8bbc4344b9367d9d54731475d745fbc9ea28f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2c3b17ee53f034936f7398dbf4d143e608b7c35c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/33d102102d925357c5fd172dd6672a27d74b3215"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8286a9095fb59751fba171afa2b4f590271c87d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8c1ebcade6aac58137f2645b579894301febabf3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae09260be7454ed7630a913f147591a25e3a9d09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fcf0804dfe05862007189ac9dc4dc2063be36de1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89854.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89854"},{"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":"fe1b806f4f7172b1eae18ddeebb7d8fb351043f7"},{"fixed":"8c1ebcade6aac58137f2645b579894301febabf3"},{"fixed":"1d8bbc4344b9367d9d54731475d745fbc9ea28f2"},{"fixed":"2c3b17ee53f034936f7398dbf4d143e608b7c35c"},{"fixed":"ae09260be7454ed7630a913f147591a25e3a9d09"},{"fixed":"fcf0804dfe05862007189ac9dc4dc2063be36de1"},{"fixed":"8286a9095fb59751fba171afa2b4f590271c87d5"},{"fixed":"122bf170c94a3797531b12fee580639a5dc893ed"},{"fixed":"33d102102d925357c5fd172dd6672a27d74b3215"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89854.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.14.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89854.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}