# CVE-2025-40053: net: dlink: handle copy_thresh allocation failure

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2025-10-28T11:48:28.444Z
- Modified: 2026-10-19T21:10:00.160Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 84fd710a704f3d53d4120e452e86cea558cf73a8; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5aa9b885602811a026a3f45c92ea2b4b04c54f09; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9d49e4b14609e1a20d931e718962c4b6b5485174; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ea87151df398d407a632c7bf63013290f01c5009; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7ed5010fef0930f4322d620052edc854ef3ec41f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fd7b6b2c920d7fd370a612be416a904d6e1ebe55; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8169a6011c5fecc6cb1c3654c541c567d3318de8; 2.6.12 (not affected: before 2.6.12; from 5.10.246 up to 5.10.*; from 5.15.195 up to 5.15.*; from 6.1.156 up to 6.1.*; from 6.6.112 up to 6.6.*; from 6.12.53 up to 6.12.*; from 6.17.3 up to 6.17.*; from 6.18 up to *)

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

## Sources

- CVE List: [CVE-2025-40053](https://www.cve.org/CVERecord?id=CVE-2025-40053), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-40053](https://nvd.nist.gov/vuln/detail/CVE-2025-40053), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40053 · Whole record: https://cve.day/CVE-2025-40053.json · Rebuilt by cve.day 2026-11-25T22:59:06.937Z
