Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2025-40053

net: dlink: handle copy_thresh allocation failure

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 84fd710a704f3d53d4120e452e86cea558cf73a8affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5aa9b885602811a026a3f45c92ea2b4b04c54f09affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9d49e4b14609e1a20d931e718962c4b6b5485174affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ea87151df398d407a632c7bf63013290f01c5009affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7ed5010fef0930f4322d620052edc854ef3ec41faffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fd7b6b2c920d7fd370a612be416a904d6e1ebe55affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8169a6011c5fecc6cb1c3654c541c567d3318de8affected

Linux Linux

Default version status: affected

  • 2.6.12affected
  • 0 to < 2.6.12unaffected
  • 5.10.246 to ≤ 5.10.*unaffected
  • 5.15.195 to ≤ 5.15.*unaffected
  • 6.1.156 to ≤ 6.1.*unaffected
  • 6.6.112 to ≤ 6.6.*unaffected
  • 6.12.53 to ≤ 6.12.*unaffected
  • 6.17.3 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References