CVE-2026-46110
NULL dereference in Linux kernel stmmac driver
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's stmmac network driver. It involves improper handling of DMA descriptors used for receiving network frames. The driver uses a ring buffer of descriptors, each indicating ownership between the CPU and the MAC hardware via an OWN flag.
The problem arises because the driver only checks the OWN flag to determine if a descriptor is ready to be processed, but it does not distinguish between descriptors that are 'full' (valid and populated) and 'dirty' (NULL buffer). This can lead to the driver dereferencing a NULL pointer when it mistakenly processes a 'dirty' descriptor as if it were 'full'.
The vulnerability was partially fixed by limiting the loop that processes descriptors, but the root cause remained. The final fix involves explicitly checking if the next descriptor is 'dirty' before processing it, preventing NULL dereferences and ensuring the driver does not process invalid buffers.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to dereference a NULL pointer when processing network receive buffers, which can lead to a kernel panic or system crash.
Such crashes can result in denial of service (DoS) conditions, disrupting network communication and potentially causing system instability or downtime.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability has been resolved in the Linux kernel by modifying the stmmac driver to explicitly check for dirty descriptors before advancing the receive index, preventing NULL dereference when RX memory is exhausted.
Immediate mitigation steps include updating your Linux kernel to a version that contains this fix for the stmmac driver.
Since the issue arises when the driver runs out of RX buffers, ensuring sufficient system memory and monitoring RX buffer allocation may help reduce the risk until the kernel is updated.