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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.93% (percentile 59, 2026-11-26)
- **Published:** 2025-10-28T11:48:28.444Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 84fd710a704f3d53d4120e452e86cea558cf73a8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5aa9b885602811a026a3f45c92ea2b4b04c54f09; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9d49e4b14609e1a20d931e718962c4b6b5485174; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ea87151df398d407a632c7bf63013290f01c5009; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7ed5010fef0930f4322d620052edc854ef3ec41f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fd7b6b2c920d7fd370a612be416a904d6e1ebe55; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8169a6011c5fecc6cb1c3654c541c567d3318de8
- Anyone running Linux 2.6.12

## 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 and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 84fd710a704f3d53d4120e452e86cea558cf73a8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5aa9b885602811a026a3f45c92ea2b4b04c54f09; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9d49e4b14609e1a20d931e718962c4b6b5485174; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ea87151df398d407a632c7bf63013290f01c5009; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7ed5010fef0930f4322d620052edc854ef3ec41f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fd7b6b2c920d7fd370a612be416a904d6e1ebe55; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8169a6011c5fecc6cb1c3654c541c567d3318de8 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 8169a6011c5fecc6cb1c3654c541c567d3318de8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40053. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40053.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 84fd710a704f3d53d4120e452e86cea558cf73a8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5aa9b885602811a026a3f45c92ea2b4b04c54f09; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9d49e4b14609e1a20d931e718962c4b6b5485174; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 84fd710a704f3d53d4120e452e86cea558cf73a8, Linux 5aa9b885602811a026a3f45c92ea2b4b04c54f09, Linux 9d49e4b14609e1a20d931e718962c4b6b5485174, Linux 7ed5010fef0930f4322d620052edc854ef3ec41f, Linux 8169a6011c5fecc6cb1c3654c541c567d3318de8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40053 being exploited?

There is no confirmed exploitation: CVE-2025-40053 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.93% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40053?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-40053?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 84fd710a704f3d53d4120e452e86cea558cf73a8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5aa9b885602811a026a3f45c92ea2b4b04c54f09; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9d49e4b14609e1a20d931e718962c4b6b5485174; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ea87151df398d407a632c7bf63013290f01c5009; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7ed5010fef0930f4322d620052edc854ef3ec41f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fd7b6b2c920d7fd370a612be416a904d6e1ebe55; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8169a6011c5fecc6cb1c3654c541c567d3318de8; Linux 2.6.12.

### Is there a fix for CVE-2025-40053?

Yes. Fixed in Linux 84fd710a704f3d53d4120e452e86cea558cf73a8, Linux 5aa9b885602811a026a3f45c92ea2b4b04c54f09, Linux 9d49e4b14609e1a20d931e718962c4b6b5485174, Linux 7ed5010fef0930f4322d620052edc854ef3ec41f, Linux 8169a6011c5fecc6cb1c3654c541c567d3318de8. Upgrade Linux to 8169a6011c5fecc6cb1c3654c541c567d3318de8 or later.

### How do I check if I'm affected by CVE-2025-40053?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40053>

HTML: <https://flawdb.com/CVE-2025-40053> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40053>
