Race Condition in Linux Kernel Network Driver
CVE-2025-38440
What is CVE-2025-38440?
A race condition exists in the Linux kernel related to the use of Dynamic Interrupt Management (DIM) within network drivers. When DIM is disabled, if a NAPI callback checks the DIM state and observes it as still active, it may interact with an invalid memory pointer if DIM is disabled shortly thereafter. This can result in a NULL pointer dereference during operations that rely on the DIM context, potentially leading to system instability and crashes. The issue is mitigated by ensuring synchronization prior to freeing the DIM context, which allows any ongoing NAPI callbacks to complete safely before the DIM pointer is set to NULL.
Affected Version(s)
Linux 445a25f6e1a2f6a132b06af6ede4f3c9b5f9af68 < 7581afc051542e11ccf3ade68acd01b7fb1a3cde
Linux 445a25f6e1a2f6a132b06af6ede4f3c9b5f9af68 < 2bc6fb90486e42dd80e660ef7a40c02b2516c6d6
Linux 445a25f6e1a2f6a132b06af6ede4f3c9b5f9af68