What’s Vulnerable › Vulnerabilities
CVE-2025-40053: net: dlink: handle copy_thresh allocation failure
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-28 · updated 2026-10-19
Description
In the Linux kernel, the following vulnerability has been resolved: net: dlink: handle copy_thresh allocation failure The driver did not handle failure of `netdev_alloc_skb_ip_align()`. If the allocation failed, dereferencing `skb->protocol` could lead to a NULL pointer dereference. This patch tries to allocate `skb`. If the allocation fails, it falls back to the normal path. Tested-on: D-Link DGE-550T Rev-A3
Affected products
- Linux kernel: 2.6.12 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/5aa9b885602811a026a3f45c92ea2b4b04c54f09
- https://git.kernel.org/stable/c/7ed5010fef0930f4322d620052edc854ef3ec41f
- https://git.kernel.org/stable/c/8169a6011c5fecc6cb1c3654c541c567d3318de8
- https://git.kernel.org/stable/c/84fd710a704f3d53d4120e452e86cea558cf73a8
- https://git.kernel.org/stable/c/9d49e4b14609e1a20d931e718962c4b6b5485174
- https://git.kernel.org/stable/c/ea87151df398d407a632c7bf63013290f01c5009
- https://git.kernel.org/stable/c/fd7b6b2c920d7fd370a612be416a904d6e1ebe55
Get alerted when CVE-2025-40053 or the next vulnerability affects your stack