CVE-2025-39853
kernel: i40e: Fix potential invalid access when MAC list is empty
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 19, 2025
Updated · June 30, 2026
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.
Statement
The Intel i40e client interface could dereference an invalid list entry when the netdev MAC address list is empty, leading to a kernel crash. The fix switches to list_first_entry_or_null() and guards the copy, preventing invalid memory access when no MAC is present. This is locally triggerable in specific i40e/iWARP configurations (typically requiring CAP_NET_ADMIN) and primarily results in a DoS.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference