CVE-2026-99766

scsi: aic79xx: Fix NULL pointer dereference in device reset

No CVSS score yet EPSS 0.17%

Published 20 Nov 2026 Updated 20 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99766

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99766 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.44% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c67e63800446f9c72e362fe6f5e0c623fbe2e394, before 8eba199dce256eaa2ee3da460588f2ba5494a4d5
affected from c67e63800446f9c72e362fe6f5e0c623fbe2e394, before 856e3bf320c777b4676d58166745d1c96670574e
affected from c67e63800446f9c72e362fe6f5e0c623fbe2e394, before dab8971b78d13d0aaca40e96feb6188b85d3c752
affected from c67e63800446f9c72e362fe6f5e0c623fbe2e394, before f057a8bfeb6ff89c65e95540b8700a53c66d4a31
Other versions: unaffected
Linux
affected 6.7
unaffected before 6.7
unaffected from 6.12.118 up to and including 6.12.*
unaffected from 6.18.64 up to and including 6.18.*
unaffected from 7.3.5 up to and including 7.3.*
unaffected 7.4-rc2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99766 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99766

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99766
trivy image --scanners vuln IMAGE | grep CVE-2026-99766

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99766 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.