{"api_version":"1","generated_at":"2026-11-20T07:30:03+00:00","cve":"CVE-2026-99766","urls":{"html":"https://cve.report/CVE-2026-99766","api":"https://cve.report/api/cve/CVE-2026-99766.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99766","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99766"},"summary":{"title":"scsi: aic79xx: Fix NULL pointer dereference in device reset","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:15","updated_at":"2026-11-20 06:18:15"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8eba199dce256eaa2ee3da460588f2ba5494a4d5","name":"https://git.kernel.org/stable/c/8eba199dce256eaa2ee3da460588f2ba5494a4d5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dab8971b78d13d0aaca40e96feb6188b85d3c752","name":"https://git.kernel.org/stable/c/dab8971b78d13d0aaca40e96feb6188b85d3c752","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/856e3bf320c777b4676d58166745d1c96670574e","name":"https://git.kernel.org/stable/c/856e3bf320c777b4676d58166745d1c96670574e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f057a8bfeb6ff89c65e95540b8700a53c66d4a31","name":"https://git.kernel.org/stable/c/f057a8bfeb6ff89c65e95540b8700a53c66d4a31","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99766","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99766","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c67e63800446f9c72e362fe6f5e0c623fbe2e394 8eba199dce256eaa2ee3da460588f2ba5494a4d5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c67e63800446f9c72e362fe6f5e0c623fbe2e394 856e3bf320c777b4676d58166745d1c96670574e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c67e63800446f9c72e362fe6f5e0c623fbe2e394 dab8971b78d13d0aaca40e96feb6188b85d3c752 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c67e63800446f9c72e362fe6f5e0c623fbe2e394 f057a8bfeb6ff89c65e95540b8700a53c66d4a31 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/scsi/aic7xxx/aic79xx_core.c","drivers/scsi/aic7xxx/aic79xx_osm.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"8eba199dce256eaa2ee3da460588f2ba5494a4d5","status":"affected","version":"c67e63800446f9c72e362fe6f5e0c623fbe2e394","versionType":"git"},{"lessThan":"856e3bf320c777b4676d58166745d1c96670574e","status":"affected","version":"c67e63800446f9c72e362fe6f5e0c623fbe2e394","versionType":"git"},{"lessThan":"dab8971b78d13d0aaca40e96feb6188b85d3c752","status":"affected","version":"c67e63800446f9c72e362fe6f5e0c623fbe2e394","versionType":"git"},{"lessThan":"f057a8bfeb6ff89c65e95540b8700a53c66d4a31","status":"affected","version":"c67e63800446f9c72e362fe6f5e0c623fbe2e394","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/scsi/aic7xxx/aic79xx_core.c","drivers/scsi/aic7xxx/aic79xx_osm.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.7"},{"lessThan":"6.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"6.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:32.781Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/8eba199dce256eaa2ee3da460588f2ba5494a4d5"},{"url":"https://git.kernel.org/stable/c/856e3bf320c777b4676d58166745d1c96670574e"},{"url":"https://git.kernel.org/stable/c/dab8971b78d13d0aaca40e96feb6188b85d3c752"},{"url":"https://git.kernel.org/stable/c/f057a8bfeb6ff89c65e95540b8700a53c66d4a31"}],"title":"scsi: aic79xx: Fix NULL pointer dereference in device reset","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99766","datePublished":"2026-11-20T05:51:32.781Z","dateReserved":"2026-09-25T10:25:14.433Z","dateUpdated":"2026-11-20T05:51:32.781Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:15","lastModifiedDate":"2026-11-20 06:18:15","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99766","Ordinal":"1","Title":"scsi: aic79xx: Fix NULL pointer dereference in device reset","CVE":"CVE-2026-99766","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99766","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"scsi: aic79xx: Fix NULL pointer dereference in device reset"}]}}}