{"id":"CVE-2026-99766","aliases":[],"title":"scsi: aic79xx: Fix NULL pointer dereference in device reset","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00168,"percentile":0.06425},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=6.7.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"vendor","name":"Linux","range":">=c67e63800446f9c72e362fe6f5e0c623fbe2e394, <856e3bf320c777b4676d58166745d1c96670574e","fixed":"856e3bf320c777b4676d58166745d1c96670574e"},{"ecosystem":"vendor","name":"Linux","range":">=c67e63800446f9c72e362fe6f5e0c623fbe2e394, <8eba199dce256eaa2ee3da460588f2ba5494a4d5","fixed":"8eba199dce256eaa2ee3da460588f2ba5494a4d5"},{"ecosystem":"vendor","name":"Linux","range":">=c67e63800446f9c72e362fe6f5e0c623fbe2e394, <dab8971b78d13d0aaca40e96feb6188b85d3c752","fixed":"dab8971b78d13d0aaca40e96feb6188b85d3c752"},{"ecosystem":"vendor","name":"Linux","range":">=c67e63800446f9c72e362fe6f5e0c623fbe2e394, <f057a8bfeb6ff89c65e95540b8700a53c66d4a31","fixed":"f057a8bfeb6ff89c65e95540b8700a53c66d4a31"}],"references":[{"url":"https://git.kernel.org/stable/c/8eba199dce256eaa2ee3da460588f2ba5494a4d5","type":"other"},{"url":"https://git.kernel.org/stable/c/856e3bf320c777b4676d58166745d1c96670574e","type":"other"},{"url":"https://git.kernel.org/stable/c/dab8971b78d13d0aaca40e96feb6188b85d3c752","type":"other"},{"url":"https://git.kernel.org/stable/c/f057a8bfeb6ff89c65e95540b8700a53c66d4a31","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"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":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-20T06:30:46.398Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99766","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.398Z"},{"name":"osv","at":"2026-11-20T21:22:45.969Z","url":"https://osv.dev/vulnerability/CVE-2026-99766","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:01.974Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:55.703Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99766","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:17.014Z"}],"firstSeenAt":"2026-11-20T06:28:17.014Z","publishedAt":"2026-11-20T05:51:32.781Z","modifiedAt":"2026-11-20T21:03:28.864Z"}