{"id":"CVE-2026-99766","summary":"scsi: aic79xx: Fix NULL pointer dereference in device reset","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: aic79xx: Fix NULL pointer dereference in device reset\n\nSince commit c67e63800446 (\"scsi: aic79xx: Do not reference SCSI command\nwhen resetting device\") the device reset SCB has no SCSI command, but\nahd_linux_dev_reset() still sets its residual, and ahd_abort_scbs(), which\ncompletes it, sets its status. Seen on an AIC-7902 when a failing disk\ntriggered a device reset, which killed the SCSI error handler:\n\n  BUG: kernel NULL pointer dereference, address: 0000009c\n  EIP: ahd_linux_dev_reset.cold+0xee/0x26e\n\nAdd NULL command checks to the accessors in aic79xx_osm.h. Also skip\nautosense for an SCB without a command and complete it with ahd_done()\nright away: the REQUEST SENSE path can clear SCB_DEVICE_RESET, after which\nahd_done() would dereference the missing command.","modified":"2026-11-20T21:02:32.842211583Z","published":"2026-11-20T05:51:32.781Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99766.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/856e3bf320c777b4676d58166745d1c96670574e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8eba199dce256eaa2ee3da460588f2ba5494a4d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dab8971b78d13d0aaca40e96feb6188b85d3c752"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f057a8bfeb6ff89c65e95540b8700a53c66d4a31"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99766.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99766"},{"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":"c67e63800446f9c72e362fe6f5e0c623fbe2e394"},{"fixed":"8eba199dce256eaa2ee3da460588f2ba5494a4d5"},{"fixed":"856e3bf320c777b4676d58166745d1c96670574e"},{"fixed":"dab8971b78d13d0aaca40e96feb6188b85d3c752"},{"fixed":"f057a8bfeb6ff89c65e95540b8700a53c66d4a31"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99766.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99766.json"}}],"schema_version":"1.9.2"}