# CVE-2024-58062: wifi: iwlwifi: mvm: avoid NULL pointer dereference

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-03-06T15:54:04.590Z
- Modified: 2026-06-17T08:14:32.490Z
- 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:

wifi: iwlwifi: mvm: avoid NULL pointer dereference

When iterating over the links of a vif, we need to make sure that the
pointer is valid (in other words - that the link exists) before
dereferncing it.
Use for_each_vif_active_link that also does the check.

(As written by CVE List.)

## Affected

- Linux Linux: from 2b7ee1a10a72ef8f3df621133ac04e80e8214037 before fbb563ad5032a07ac83c746ce5c8de5f25b5ffd0; from 2b7ee1a10a72ef8f3df621133ac04e80e8214037 before 7f6fb4b7611eb6371c493c42fefad84a1742bcbb; from 2b7ee1a10a72ef8f3df621133ac04e80e8214037 before cf704a7624f99eb2ffca1a16c69183e85544a613; 6.12 (not affected: before 6.12; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.12 before 6.12.13; from 6.13 before 6.13.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/fbb563ad5032a07ac83c746ce5c8de5f25b5ffd0> (patch)
- <https://git.kernel.org/stable/c/7f6fb4b7611eb6371c493c42fefad84a1742bcbb> (patch)
- <https://git.kernel.org/stable/c/cf704a7624f99eb2ffca1a16c69183e85544a613> (patch)

## Sources

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

---

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