# CVE-2024-46842: scsi: lpfc: Handle mailbox timeouts in lpfc\_get\_sfp\_info

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-09-27 · Modified: 2026-10-21
- Aliases: UBUNTU-CVE-2024-46842, DEBIAN-CVE-2024-46842
- Record: https://cvemate.com/vulnerability/CVE-2024-46842 · JSON: https://cvemate.com/vulnerability/CVE-2024-46842/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.293%, percentile 23.541%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 102)

- debian linux (Debian): \< 6.10.11-1
- ubuntu linux (Ubuntu): \< 6.8.0-50.51
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1020.22
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1020.22~22.04.1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1020.23
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.2 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/bba47fe3b038cca3d3ebd799665ce69d6d273b58>
- <https://git.kernel.org/stable/c/ede596b1434b57c0b3fd5c02b326efe5c54f6e48>
- <https://ubuntu.com/security/CVE-2024-46842>
- <https://www.cve.org/CVERecord?id=CVE-2024-46842>
- <https://git.kernel.org/linus/ede596b1434b57c0b3fd5c02b326efe5c54f6e48>
- <https://ubuntu.com/security/notices/USN-7154-1>
- <https://ubuntu.com/security/notices/USN-7155-1>
- <https://ubuntu.com/security/notices/USN-7156-1>
- <https://ubuntu.com/security/notices/USN-7154-2>
- <https://ubuntu.com/security/notices/USN-7196-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-46842>
- <https://git.kernel.org/stable/c/c6d8cce685d6088d795b29a0f47e6fd04548fd64>

---

Data as of 2026-12-05T18:19:19.303Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
