{"id":"CVE-2026-99766","aliases":["CVE-2026-99766"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: aic79xx: Fix NULL pointer dereference in device reset","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-20T05:51:32.781Z","modified":"2026-11-20T06:18:15.200Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c67e63800446f9c72e362fe6f5e0c623fbe2e394","fixed":"8eba199dce256eaa2ee3da460588f2ba5494a4d5","status":"affected"},{"type":"git","introduced":"c67e63800446f9c72e362fe6f5e0c623fbe2e394","fixed":"856e3bf320c777b4676d58166745d1c96670574e","status":"affected"},{"type":"git","introduced":"c67e63800446f9c72e362fe6f5e0c623fbe2e394","fixed":"dab8971b78d13d0aaca40e96feb6188b85d3c752","status":"affected"},{"type":"git","introduced":"c67e63800446f9c72e362fe6f5e0c623fbe2e394","fixed":"f057a8bfeb6ff89c65e95540b8700a53c66d4a31","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","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/8eba199dce256eaa2ee3da460588f2ba5494a4d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/856e3bf320c777b4676d58166745d1c96670574e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dab8971b78d13d0aaca40e96feb6188b85d3c752","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f057a8bfeb6ff89c65e95540b8700a53c66d4a31","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99766","url":"https://www.cve.org/CVERecord?id=CVE-2026-99766","licence":"CVE Terms of Use","modified":"2026-11-20T05:51:32.781Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99766","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99766","licence":"Public domain","modified":"2026-11-20T06:18:15.200Z"}],"updatedAt":"2026-11-25T22:59:52.339Z","epss":{"score":0.00168,"percentile":0.03503,"date":"2026-11-30T12:00:22.000Z"}}