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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-09-19T15:26:25.101Z
- **Modified:** 2026-11-05T22:17:33.977Z

## Who should check

- Anyone running Linux \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 971feafe157afac443027acdc235badc6838560b; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 3c6fb929afa313d9d11f780451d113f73922fe5d; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 1eadabcf5623f1237a539b16586b4ed8ac8dffcd; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< e2a5e74879f9b494bbd66fa93f355feacde450c7; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< fb216d980fae6561c7c70af8ef826faf059c6515; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 66e7cdbda74ee823ec2bf7b830ebd235c54f5ddf; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 9c21fc4cebd44dd21016c61261a683af390343f8; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< a556f06338e1d5a85af0e32ecb46e365547f92b9
- Anyone running Linux 4.6

## 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.

## Affected and fixed versions

- Linux: \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 971feafe157afac443027acdc235badc6838560b; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 3c6fb929afa313d9d11f780451d113f73922fe5d; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 1eadabcf5623f1237a539b16586b4ed8ac8dffcd; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< e2a5e74879f9b494bbd66fa93f355feacde450c7; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< fb216d980fae6561c7c70af8ef826faf059c6515; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 66e7cdbda74ee823ec2bf7b830ebd235c54f5ddf; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 9c21fc4cebd44dd21016c61261a683af390343f8; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< a556f06338e1d5a85af0e32ecb46e365547f92b9 (cvelist)
- Linux: 4.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39853. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39853.md
Affected: Linux >= e3219ce6a775468368fb270fae3eb82a6787b436, < 971feafe157afac443027acdc235badc6838560b; >= e3219ce6a775468368fb270fae3eb82a6787b436, < 3c6fb929afa313d9d11f780451d113f73922fe5d; >= e3219ce6a775468368fb270fae3eb82a6787b436, < 1eadabcf5623f1237a539b16586b4ed8ac8dffcd; >= e3219ce6a775468368fb270…
Fixed in: Linux 971feafe157afac443027acdc235badc6838560b, Linux 3c6fb929afa313d9d11f780451d113f73922fe5d, Linux 1eadabcf5623f1237a539b16586b4ed8ac8dffcd, Linux 66e7cdbda74ee823ec2bf7b830ebd235c54f5ddf, Linux 9c21fc4cebd44dd21016c61261a683af390343f8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39853 being exploited?

There is no confirmed exploitation: CVE-2025-39853 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39853?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39853?

Linux \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 971feafe157afac443027acdc235badc6838560b; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 3c6fb929afa313d9d11f780451d113f73922fe5d; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 1eadabcf5623f1237a539b16586b4ed8ac8dffcd; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< e2a5e74879f9b494bbd66fa93f355feacde450c7; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< fb216d980fae6561c7c70af8ef826faf059c6515; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 66e7cdbda74ee823ec2bf7b830ebd235c54f5ddf; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< 9c21fc4cebd44dd21016c61261a683af390343f8; \>= e3219ce6a775468368fb270fae3eb82a6787b436, \< a556f06338e1d5a85af0e32ecb46e365547f92b9; Linux 4.6.

### Is there a fix for CVE-2025-39853?

Yes. Fixed in Linux 971feafe157afac443027acdc235badc6838560b, Linux 3c6fb929afa313d9d11f780451d113f73922fe5d, Linux 1eadabcf5623f1237a539b16586b4ed8ac8dffcd, Linux 66e7cdbda74ee823ec2bf7b830ebd235c54f5ddf, Linux 9c21fc4cebd44dd21016c61261a683af390343f8. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-39853?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39853>

HTML: <https://flawdb.com/CVE-2025-39853> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39853>
