CVE-2025-40053
net: dlink: handle copy_thresh allocation failure
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
Produtos afetados
Linux · LinuxQuer saber se a sua infraestrutura está exposta a isto?
Falar com a TrueHacking →Referências
https://git.kernel.org/stable/c/5aa9b885602811a026a3f45c92ea2b4b04c54f09https://git.kernel.org/stable/c/7ed5010fef0930f4322d620052edc854ef3ec41fhttps://git.kernel.org/stable/c/8169a6011c5fecc6cb1c3654c541c567d3318de8https://git.kernel.org/stable/c/84fd710a704f3d53d4120e452e86cea558cf73a8https://git.kernel.org/stable/c/9d49e4b14609e1a20d931e718962c4b6b5485174https://git.kernel.org/stable/c/ea87151df398d407a632c7bf63013290f01c5009https://git.kernel.org/stable/c/fd7b6b2c920d7fd370a612be416a904d6e1ebe55