CVE-2026-99766

scsi: aic79xx: Fix NULL pointer dereference in device reset

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c67e63800446f9c72e362fe6f5e0c623fbe2e394 to before 8eba199dce256eaa2ee3da460588f2ba5494a4d5Affected
  • c67e63800446f9c72e362fe6f5e0c623fbe2e394 to before 856e3bf320c777b4676d58166745d1c96670574eAffected
  • c67e63800446f9c72e362fe6f5e0c623fbe2e394 to before dab8971b78d13d0aaca40e96feb6188b85d3c752Affected
  • c67e63800446f9c72e362fe6f5e0c623fbe2e394 to before f057a8bfeb6ff89c65e95540b8700a53c66d4a31Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.