scsi: qla2xxx: Zero mailbox struct in qla2x00_get_firmware_state()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.270, 5.15.221, 6.1.188, 6.12.110, 6.18.51, 6.6.157, 7.2.5
- CVEs
- CVE-2026-89852
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:36 UTC · Revision 1
Source evidence
scsi: qla2xxx: Zero mailbox struct in qla2x00_get_firmware_state()
core-osv · Original sourcePublished 16 Sept 2026, 10:31 UTC
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.
osv:CVE-2026-89852
Kernel
Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5
Complete source record
{
"id": "64212fb741460db0c10110b60f05e7451c3920b2598a2939e1b9360804e1b24a",
"url": "https://osv.dev/vulnerability/CVE-2026-89852",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "scsi: qla2xxx: Zero mailbox struct in qla2x00_get_firmware_state()",
"summary": "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.",
"evidence": "osv:CVE-2026-89852",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.270",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.221",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.188",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.157",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.110",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.51",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-89852",
"aliases": [
"CVE-2026-89852"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4d4df1932b6b116aecc81039066fec27f2050762"
},
{
"fixed": "f8fc5cc6b3284506c6ab83c822c48133377668bb"
},
{
"fixed": "f29695b1138ae2539c5cd6cdaba9b1b072aaa81a"
},
{
"fixed": "13d645a2cdb224d27205368f3e3c68bb160daf97"
},
{
"fixed": "2f847f06bb223aa895eea91fc9e5e2d6314038eb"
},
{
"fixed": "1f49e861c18caf8eef7f0ad9a2c5034f88a6ba79"
},
{
"fixed": "e6cfb1ee18336aab41a0941d6d3ea5009aaafc05"
},
{
"fixed": "9f31de4d07e4cde91dfc24522993a5fbb4d67083"
},
{
"fixed": "9efaa782845b4d5fb3e01242be0d06ebc7428d8f"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89852.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.26"
},
{
"fixed": "5.10.270"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.221"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.188"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.157"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.110"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.51"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89852.json"
}
}
],
"modified": "2026-10-28T02:30:32.642471289Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/13d645a2cdb224d27205368f3e3c68bb160daf97",
"https://git.kernel.org/stable/c/1f49e861c18caf8eef7f0ad9a2c5034f88a6ba79",
"https://git.kernel.org/stable/c/2f847f06bb223aa895eea91fc9e5e2d6314038eb",
"https://git.kernel.org/stable/c/9efaa782845b4d5fb3e01242be0d06ebc7428d8f",
"https://git.kernel.org/stable/c/9f31de4d07e4cde91dfc24522993a5fbb4d67083",
"https://git.kernel.org/stable/c/e6cfb1ee18336aab41a0941d6d3ea5009aaafc05",
"https://git.kernel.org/stable/c/f29695b1138ae2539c5cd6cdaba9b1b072aaa81a",
"https://git.kernel.org/stable/c/f8fc5cc6b3284506c6ab83c822c48133377668bb",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89852.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-89852",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89852.json"
}
},
"related_cves": [
{
"value": "CVE-2026-89852",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 499743,
"published_at": "2026-09-16T10:31:26.012+00:00"
}