← CVE Intelligence

CVE-2025-40053

net: dlink: handle copy_thresh allocation failure PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 84fd710a704f3d53d4120e452e86cea558cf73a8; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5aa9b885602811a026a3f45c92ea2b4b04c54f09; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9d49e4b14609e1a20d931e718962c4b6b5485174; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ea87151df398d407a632c7bf63013290f01c5009; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7ed5010fef0930f4322d620052edc854ef3ec41f; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fd7b6b2c920d7fd370a612be416a904d6e1ebe55; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8169a6011c5fecc6cb1c3654c541c567d3318de8
Linux / Linuxaffected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.246 through 5.10.*; unaffected 5.15.195 through 5.15.*; unaffected 6.1.156 through 6.1.*; unaffected 6.6.112 through 6.6.*; unaffected 6.12.53 through 6.12.*; unaffected 6.17.3 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.