CVE-2025-40053

net: dlink: handle copy_thresh allocation failure

State
Published
Severity
7.5 High
Published
Oct 28, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 84fd710a704f3d53d4120e452e86cea558cf73a8Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5aa9b885602811a026a3f45c92ea2b4b04c54f09Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9d49e4b14609e1a20d931e718962c4b6b5485174Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ea87151df398d407a632c7bf63013290f01c5009Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 7ed5010fef0930f4322d620052edc854ef3ec41fAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before fd7b6b2c920d7fd370a612be416a904d6e1ebe55Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8169a6011c5fecc6cb1c3654c541c567d3318de8Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.246 through 5.10.*Not affected
  • 5.15.195 through 5.15.*Not affected
  • 6.1.156 through 6.1.*Not affected
  • 6.6.112 through 6.6.*Not affected
  • 6.12.53 through 6.12.*Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.