FKIE_CVE-2026-99766

Vulnerability from fkie_nvd - Published: 2026-11-20 06:18 - Updated: 2026-11-20 06:18
Severity
Summary
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.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "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"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "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."
    }
  ],
  "id": "CVE-2026-99766",
  "lastModified": "2026-11-20T06:18:15.200",
  "metrics": {},
  "published": "2026-11-20T06:18:15.200",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/856e3bf320c777b4676d58166745d1c96670574e"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/8eba199dce256eaa2ee3da460588f2ba5494a4d5"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/dab8971b78d13d0aaca40e96feb6188b85d3c752"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/f057a8bfeb6ff89c65e95540b8700a53c66d4a31"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…