7.1high
i40e: Fix potential invalid access when MAC list is empty
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.26% (higher than 11% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
| 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 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: i40e: Corrige el posible acceso inválido cuando la lista MAC está vacía list_first_entry() nunca devuelve NULL; si la lista está vacía, aún devuelve un puntero a un objeto inválido, lo que lleva a un posible acceso inválido a la memoria cuando se desreferencia. Soluciona esto usando list_first_entry_or_null en lugar de list_first_entry.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39853 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2025-39853 changed 2026-11-05 | Public domain |