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

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 19 Sep 2025 15:30:00 +0000

Type Values Removed Values Added
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.
Title i40e: Fix potential invalid access when MAC list is empty
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2025-09-19T15:26:25.101Z

Reserved: 2025-04-16T07:20:57.142Z

Link: CVE-2025-39853

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-09-19T16:15:44.213

Modified: 2025-09-19T16:15:44.213

Link: CVE-2025-39853

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.