CVE-2025-40053

net: dlink: handle copy_thresh allocation failure

At a glance

Severity
HIGH 7.5
EPSS
EPSS 0.63 % · percentile 50 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 84fd710a704f3d53d4120e452e86cea558cf73a8 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5aa9b885602811a026a3f45c92ea2b4b04c54f09 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9d49e4b14609e1a20d931e718962c4b6b5485174 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ea87151df398d407a632c7bf63013290f01c5009 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7ed5010fef0930f4322d620052edc854ef3ec41f ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fd7b6b2c920d7fd370a612be416a904d6e1ebe55
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.246 ≤ 5.10.* ; unaffected 5.15.195 ≤ 5.15.* ; unaffected 6.1.156 ≤ 6.1.* ; unaffected 6.6.112 ≤ 6.6.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD