# CVE-2024-49891: scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-10-21T18:01:26.314Z
- Modified: 2026-06-17T08:00:40.560Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths

When the HBA is undergoing a reset or is handling an errata event, NULL ptr
dereference crashes may occur in routines such as
lpfc_sli_flush_io_rings(), lpfc_dev_loss_tmo_callbk(), or
lpfc_abort_handler().

Add NULL ptr checks before dereferencing hdwq pointers that may have been
freed due to operations colliding with a reset or errata event handler.

(As written by CVE List.)

## Affected

- Linux Linux: from 895427bd012ce5814fc9888c7c0ee9de44761833 before 5873aa7f814754085d418848b2089ef406a02dd0; from 895427bd012ce5814fc9888c7c0ee9de44761833 before 232a138bd843d48cb2368f604646d990db7640f3; from 895427bd012ce5814fc9888c7c0ee9de44761833 before 99a801e2fca39a6f31e543fc3383058a8955896f; from 895427bd012ce5814fc9888c7c0ee9de44761833 before fd665c8dbdb19548965b0ae80c490de00e906366; from 895427bd012ce5814fc9888c7c0ee9de44761833 before 2be1d4f11944cd6283cb97268b3e17c4424945ca; 4.11 (not affected: before 4.11; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.10.14 up to 6.10.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 6.10.14; from 6.11 before 6.11.3

## References

- <https://git.kernel.org/stable/c/5873aa7f814754085d418848b2089ef406a02dd0>
- <https://git.kernel.org/stable/c/232a138bd843d48cb2368f604646d990db7640f3>
- <https://git.kernel.org/stable/c/99a801e2fca39a6f31e543fc3383058a8955896f> (patch)
- <https://git.kernel.org/stable/c/fd665c8dbdb19548965b0ae80c490de00e906366> (patch)
- <https://git.kernel.org/stable/c/2be1d4f11944cd6283cb97268b3e17c4424945ca> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-49891](https://www.cve.org/CVERecord?id=CVE-2024-49891), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-49891](https://nvd.nist.gov/vuln/detail/CVE-2024-49891), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-49891 · Whole record: https://cve.day/CVE-2024-49891.json · Rebuilt by cve.day 2026-11-25T22:58:47.032Z
