CVE-2025-21676
Linux Kernel vulnerability analysis and mitigation

Overview

A NULL pointer dereference vulnerability has been identified in the Linux kernel's Fast Ethernet Controller (FEC) driver. The issue (CVE-2025-21676) was discovered in the fecenetupdatecbd function, which failed to properly handle cases where pagepooldevalloc_pages returns NULL. The vulnerability affects Linux kernel versions from 6.1 up to (excluding) 6.6.74, from 6.7 up to (excluding) 6.12.11, and release candidates 6.13-rc1 through 6.13-rc7 (NVD).

Technical details

The vulnerability exists in the fecenetupdatecbd function within the FEC driver. When under memory pressure, pagepooldevallocpages can return NULL, but the function only had a WARNON(!new_page) check and would proceed to use the NULL pointer, leading to a crash. This scenario was particularly reproducible when writing over an SMB share to a SATA HDD attached to an imx6q device. The issue stems from the driver ignoring the memory allocation error and attempting to continue operation with a NULL pointer (Kernel Patch).

Impact

The vulnerability can lead to a system crash (denial of service) when the system is under memory pressure. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium), with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access is required and the primary impact is to system availability (NVD).

Mitigation and workarounds

A patch has been released that handles the allocation error by dropping the current packet when pagepooldevallocpages returns NULL. As a temporary workaround before applying the patch, administrators can increase the value of /proc/sys/vm/minfreekbytes. The fix has been incorporated into various kernel versions, with some distributions already having patched versions available (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-hwe-6.14
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-tools-libs-devel
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management