# CVE-2025-39853: i40e: Fix potential invalid access when MAC list is empty

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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-09-19T15:26:25.101Z
- Modified: 2026-11-05T22:17:33.977Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

i40e: Fix potential invalid access when MAC list is empty

list_first_entry() never returns NULL - if the list is empty, it still
returns a pointer to an invalid object, leading to potential invalid
memory access when dereferenced.

Fix this by using list_first_entry_or_null instead of list_first_entry.

(As written by CVE List.)

## Affected

- Linux Linux: from e3219ce6a775468368fb270fae3eb82a6787b436 before 971feafe157afac443027acdc235badc6838560b; from e3219ce6a775468368fb270fae3eb82a6787b436 before 3c6fb929afa313d9d11f780451d113f73922fe5d; from e3219ce6a775468368fb270fae3eb82a6787b436 before 1eadabcf5623f1237a539b16586b4ed8ac8dffcd; from e3219ce6a775468368fb270fae3eb82a6787b436 before e2a5e74879f9b494bbd66fa93f355feacde450c7; from e3219ce6a775468368fb270fae3eb82a6787b436 before fb216d980fae6561c7c70af8ef826faf059c6515; from e3219ce6a775468368fb270fae3eb82a6787b436 before 66e7cdbda74ee823ec2bf7b830ebd235c54f5ddf; from e3219ce6a775468368fb270fae3eb82a6787b436 before 9c21fc4cebd44dd21016c61261a683af390343f8; from e3219ce6a775468368fb270fae3eb82a6787b436 before a556f06338e1d5a85af0e32ecb46e365547f92b9; 4.6 (not affected: before 4.6; from 5.4.299 up to 5.4.*; from 5.10.243 up to 5.10.*; from 5.15.192 up to 5.15.*; from 6.1.151 up to 6.1.*; from 6.6.105 up to 6.6.*; from 6.12.46 up to 6.12.*; from 6.16.6 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 4.6 before 5.4.299; from 5.5 before 5.10.243; from 5.11 before 5.15.192; from 5.16 before 6.1.151; from 6.2 before 6.6.105; from 6.7 before 6.12.46; from 6.13 before 6.16.6; 6.17
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/971feafe157afac443027acdc235badc6838560b> (patch)
- <https://git.kernel.org/stable/c/3c6fb929afa313d9d11f780451d113f73922fe5d> (patch)
- <https://git.kernel.org/stable/c/1eadabcf5623f1237a539b16586b4ed8ac8dffcd> (patch)
- <https://git.kernel.org/stable/c/e2a5e74879f9b494bbd66fa93f355feacde450c7> (patch)
- <https://git.kernel.org/stable/c/fb216d980fae6561c7c70af8ef826faf059c6515> (patch)
- <https://git.kernel.org/stable/c/66e7cdbda74ee823ec2bf7b830ebd235c54f5ddf> (patch)
- <https://git.kernel.org/stable/c/9c21fc4cebd44dd21016c61261a683af390343f8> (patch)
- <https://git.kernel.org/stable/c/a556f06338e1d5a85af0e32ecb46e365547f92b9> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Sources

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

---

Page: https://cve.day/CVE-2025-39853 · Whole record: https://cve.day/CVE-2025-39853.json · Rebuilt by cve.day 2026-11-25T22:59:04.867Z
