← Back to CVE Explorer

CVE-2026-89852

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Zero mailbox struct in qla2x00_get_firmware_state() The mbx_cmd_t is allocated on the stack but left uninitialized. qla2x00_mailbox_command() has several early-return paths (PCI permanent failure, device failed, EEH busy, ISP abort pending, mailbox access timeout, purge mbox) that return without writing the input mailbox registers back into mcp->mb[]. qla2x00_get_firmware_state() then unconditionally copies mcp->mb[1..6] (and mb[12]) into the caller's states[] array regardless of the return value. On such a failure the copied values are uninitialized kernel stack memory, which is then exposed to userspace via the fw_state and mpi_fw_state sysfs handlers. Zero the mailbox struct so a failed query yields deterministic zeroed state instead of leaking stack contents.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-16 11:16:52.900000
Last modified
2026-10-19 09:18:29.437000
View original CVE JSON
{
  "id": "CVE-2026-89852",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-16T11:16:52.900",
  "lastModified": "2026-10-19T09:18:29.437",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Zero mailbox struct in qla2x00_get_firmware_state()\n\nThe mbx_cmd_t is allocated on the stack but left uninitialized.\nqla2x00_mailbox_command() has several early-return paths (PCI permanent\nfailure, device failed, EEH busy, ISP abort pending, mailbox access\ntimeout, purge mbox) that return without writing the input mailbox\nregisters back into mcp->mb[]. qla2x00_get_firmware_state() then\nunconditionally copies mcp->mb[1..6] (and mb[12]) into the caller's\nstates[] array regardless of the return value.\n\nOn such a failure the copied values are uninitialized kernel stack\nmemory, which is then exposed to userspace via the fw_state and\nmpi_fw_state sysfs handlers. Zero the mailbox struct so a failed query\nyields deterministic zeroed state instead of leaking stack contents."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/scsi/qla2xxx/qla_mbx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4d4df1932b6b116aecc81039066fec27f2050762",
              "lessThan": "f8fc5cc6b3284506c6ab83c822c48133377668bb",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4d4df1932b6b116aecc81039066fec27f2050762",
              "lessThan": "f29695b1138ae2539c5cd6cdaba9b1b072aaa81a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4d4df1932b6b116aecc81039066fec27f2050762",
              "lessThan": "13d645a2cdb224d27205368f3e3c68bb160daf97",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4d4df1932b6b116aecc81039066fec27f2050762",
              "lessThan": "2f847f06bb223aa895eea91fc9e5e2d6314038eb",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4d4df1932b6b116aecc81039066fec27f2050762",
              "lessThan": "1f49e861c18caf8eef7f0ad9a2c5034f88a6ba79",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4d4df1932b6b116aecc81039066fec27f2050762",
              "lessThan": "e6cfb1ee18336aab41a0941d6d3ea5009aaafc05",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4d4df1932b6b116aecc81039066fec27f2050762",
              "lessThan": "9f31de4d07e4cde91dfc24522993a5fbb4d67083",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4d4df1932b6b116aecc81039066fec27f2050762",
              "lessThan": "9efaa782845b4d5fb3e01242be0d06ebc7428d8f",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/scsi/qla2xxx/qla_mbx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "2.6.26",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "2.6.26",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.270",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.221",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.188",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.157",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.110",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.51",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.5",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/13d645a2cdb224d27205368f3e3c68bb160daf97",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/1f49e861c18caf8eef7f0ad9a2c5034f88a6ba79",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/2f847f06bb223aa895eea91fc9e5e2d6314038eb",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9efaa782845b4d5fb3e01242be0d06ebc7428d8f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9f31de4d07e4cde91dfc24522993a5fbb4d67083",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e6cfb1ee18336aab41a0941d6d3ea5009aaafc05",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f29695b1138ae2539c5cd6cdaba9b1b072aaa81a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f8fc5cc6b3284506c6ab83c822c48133377668bb",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}