CVE-2024-46842
published high CVSS 3.1 · 7.8scsi: lpfc: Handle mailbox timeouts in lpfc_get_sfp_info
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux479b0917e4477f49df2e3be454aac3cfa5dec171 to < c6d8cce685d6088d795b29a0f47e6fd04548fd64 · 479b0917e4477f49df2e3be454aac3cfa5dec171 to < bba47fe3b038cca3d3ebd799665ce69d6d273b58 · 479b0917e4477f49df2e3be454aac3cfa5dec171 to < ede596b1434b57c0b3fd5c02b326efe5c54f6e48 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.10.10 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-307.178.5.el8uek | ELSA-2025-20270 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-307.178.5.el9uek | ELSA-2025-20270 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.79.1 | SUSE-SU-2024:4315-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.79.1 | SUSE-SU-2024:4315-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.79.1 | SUSE-SU-2024:4315-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.75.1 | SUSE-SU-2024:4376-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.75.1 | SUSE-SU-2024:4376-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.75.1 | SUSE-SU-2024:4376-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.75.1 | SUSE-SU-2024:4376-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-azurenoarch | Advisory build | 5.14.21-150500.33.75.1 | SUSE-SU-2024:4376-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Handle mailbox timeouts in lpfc_get_sfp_info The MBX_TIMEOUT return code is not handled in lpfc_get_sfp_info and the routine unconditionally frees submitted mailbox commands regardless of return status. The issue is that for MBX_TIMEOUT cases, when firmware returns SFP information at a later time, that same mailbox memory region references previously freed memory in its cmpl routine. Fix by adding checks for the MBX_TIMEOUT return code. During mailbox resource cleanup, check the mbox flag to make sure that the wait did not timeout. If the MBOX_WAKE flag is not set, then do not free the resources because it will be freed when firmware completes the mailbox at a later time in its cmpl routine. Also, increase the timeout from 30 to 60 seconds to accommodate boot scripts requiring longer timeouts.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The only path to the vulnerable function is a read of the sysfs attribute /sys/class/scsi_host/hostN/lpfc_xcvr_data, which requires local system access. The remote FC RDP ELS path uses the separate async lpfc_get_rdp_info() and is not affected. AC:L - The attacker creates the timeout condition themselves: the sysfs handler has no serialization or rate limiting, and all mailbox commands are drained serially from an unbounded FIFO, so many concurrent readers push individual waits past the 30-second window. Timeouts are demonstrably reachable in ordinary operation, as the fix itself raises the timeout to 60s for boot scripts. PR:L - The attribute is declared DEVICE_ATTR_RO (mode 0444) in the unconditional lpfc_hba_attrs[] group, so any local unprivileged account can read it with no capability check in lpfc_xcvr_data_show(). Only a basic local user account is needed. UI:N - The attacker performs the sysfs read themselves; no victim action or cooperation is required. S:U - The corruption is confined to kernel heap and driver structures within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The freed LPFC_MBOXQ_t and its DMA buffer are recycled while the HBA still writes SFP page data into them, and the stale completion path reads pointers and a function pointer out of reallocated memory, giving a use-after-free read primitive over arbitrary reclaimed kernel objects. I:H - The mbox is memset and re-issued while still on psli->mboxq (list corruption), then double-freed via mempool_free plus lpfc_sli4_mbox_cmd_free on reclaimed memory, yielding arbitrary-pointer free and an indirect call through mbox_cmpl read from attacker-groomed heap — exploitable for control-flow hijack. A:H - The use-after-free, double free, and doubly-linked-list corruption of the mailbox queue reliably produce an oops or panic, and the attacker can repeat the sysfs read to retrigger it at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 479b0917e4477f49df2e3be454aac3cfa5dec171 to < c6d8cce685d6088d795b29a0f47e6fd04548fd64 (affected · git)479b0917e4477f49df2e3be454aac3cfa5dec171 to < bba47fe3b038cca3d3ebd799665ce69d6d273b58 (affected · git)479b0917e4477f49df2e3be454aac3cfa5dec171 to < ede596b1434b57c0b3fd5c02b326efe5c54f6e48 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.10.10 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
2Linux · cna
scsi: lpfc: Handle mailbox timeouts in lpfc_get_sfp_info
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d8e2cbdb91e1b1ae0fc8fa06a74403067cf4e5097706ef40f19dc1da9bf9ed81
- Ingested
- 21 Oct 2026, 12:48:59 UTC
- Source record
- Official CVE record