Memory Management Issue in Linux Kernel's FEC Driver
CVE-2025-21676
Summary
A vulnerability exists in the Linux kernel's FEC driver where the fec_enet_update_cbd function fails to properly manage memory allocation errors. Specifically, when calling the page_pool_dev_alloc_pages function, a NULL pointer can be used — which leads to system crashes under memory pressure. This issue may not occur frequently but can surface during high-load scenarios, such as writing over a SMB share. The proper fix involves dropping the current packet when a memory allocation error is detected to ensure system stability.
Affected Version(s)
Linux 95698ff6177b5f1f13f251da60e7348413046ae4 < 8a0097db0544b658c159ac787319737712063a23
Linux 95698ff6177b5f1f13f251da60e7348413046ae4 < 1425cb829556398f594658512d49292f988a2ab0
Linux 95698ff6177b5f1f13f251da60e7348413046ae4 < 001ba0902046cb6c352494df610718c0763e77a5
References
Timeline
Vulnerability published
Vulnerability Reserved