# CVE-2026-99766: scsi: aic79xx: Fix NULL pointer dereference in device reset

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:51:32.781Z
- **Modified:** 2026-11-20T06:18:15.200Z

## Who should check

- Anyone running Linux \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< 8eba199dce256eaa2ee3da460588f2ba5494a4d5; \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< 856e3bf320c777b4676d58166745d1c96670574e; \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< dab8971b78d13d0aaca40e96feb6188b85d3c752; \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< f057a8bfeb6ff89c65e95540b8700a53c66d4a31
- Anyone running Linux 6.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: aic79xx: Fix NULL pointer dereference in device reset

Since commit c67e63800446 ("scsi: aic79xx: Do not reference SCSI command
when resetting device") the device reset SCB has no SCSI command, but
ahd\_linux\_dev\_reset() still sets its residual, and ahd\_abort\_scbs(), which
completes it, sets its status. Seen on an AIC-7902 when a failing disk
triggered a device reset, which killed the SCSI error handler:

  BUG: kernel NULL pointer dereference, address: 0000009c
  EIP: ahd\_linux\_dev\_reset.cold+0xee/0x26e

Add NULL command checks to the accessors in aic79xx\_osm.h. Also skip
autosense for an SCB without a command and complete it with ahd\_done()
right away: the REQUEST SENSE path can clear SCB\_DEVICE\_RESET, after which
ahd\_done() would dereference the missing command.

## Affected and fixed versions

- Linux: \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< 8eba199dce256eaa2ee3da460588f2ba5494a4d5; \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< 856e3bf320c777b4676d58166745d1c96670574e; \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< dab8971b78d13d0aaca40e96feb6188b85d3c752; \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< f057a8bfeb6ff89c65e95540b8700a53c66d4a31 (cvelist)
- Linux: 6.7 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99766. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99766.md
Affected: Linux >= c67e63800446f9c72e362fe6f5e0c623fbe2e394, < 8eba199dce256eaa2ee3da460588f2ba5494a4d5; >= c67e63800446f9c72e362fe6f5e0c623fbe2e394, < 856e3bf320c777b4676d58166745d1c96670574e; >= c67e63800446f9c72e362fe6f5e0c623fbe2e394, < dab8971b78d13d0aaca40e96feb6188b85d3c752; >= c67e63800446f9c72e362fe…
Fixed in: Linux 8eba199dce256eaa2ee3da460588f2ba5494a4d5, Linux 856e3bf320c777b4676d58166745d1c96670574e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99766 being exploited?

There is no confirmed exploitation: CVE-2026-99766 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99766?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99766?

Linux \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< 8eba199dce256eaa2ee3da460588f2ba5494a4d5; \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< 856e3bf320c777b4676d58166745d1c96670574e; \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< dab8971b78d13d0aaca40e96feb6188b85d3c752; \>= c67e63800446f9c72e362fe6f5e0c623fbe2e394, \< f057a8bfeb6ff89c65e95540b8700a53c66d4a31; Linux 6.7.

### Is there a fix for CVE-2026-99766?

Yes. Fixed in Linux 8eba199dce256eaa2ee3da460588f2ba5494a4d5, Linux 856e3bf320c777b4676d58166745d1c96670574e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99766?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/8eba199dce256eaa2ee3da460588f2ba5494a4d5>
- other: <https://git.kernel.org/stable/c/856e3bf320c777b4676d58166745d1c96670574e>
- other: <https://git.kernel.org/stable/c/dab8971b78d13d0aaca40e96feb6188b85d3c752>
- other: <https://git.kernel.org/stable/c/f057a8bfeb6ff89c65e95540b8700a53c66d4a31>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99766>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99766> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99766>
