CVE-2025-40053
kernel: net: dlink: handle copy_thresh allocation failure
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 28, 2025
Updated · July 30, 2026
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
Statement
The D-Link dl2k RX path failed to handle netdev_alloc_skb_ip_align() returning NULL. On allocation failure, the code could dereference skb (e.g., skb->protocol), causing a kernel NULL-pointer dereference (DoS).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference