Skip to main content
EPSS 0.6%top 54%

In the Linux kernel, the following vulnerability has been resolved: net: dlink: handle copy_thresh allocation failure The driver did not handle… (CVE-2025-40053)

0
Medium
Published: 10/28/2025 (10/28/2025, 12:15:00 UTC)
Source: GCVE Database
Product: 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

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Affected versions
<5.15.0-1100.107~20.04.2<5.15.0-1110.119~20.04.1<5.15.0-1100.109~20.04.1<5.15.0-170.180~20.04.3<5.15.0-1094.97~20.04.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:22:38 UTC

Technical Analysis

The Linux kernel's D-Link network driver did not properly handle the failure of the netdev_alloc_skb_ip_align() function, which allocates socket buffers (skb). If this allocation failed, subsequent dereferencing of skb->protocol would cause a NULL pointer dereference, leading to a denial of service via kernel crash. The patch introduces a fallback mechanism to handle allocation failure gracefully, preventing the NULL pointer dereference. This vulnerability is tracked as CVE-2025-40053 and has a CVSS 3.1 base score vector indicating network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality or integrity impact, but high availability impact.

Potential Impact

Successful exploitation results in a NULL pointer dereference in the kernel, causing a denial of service by crashing the affected system. There is no impact on confidentiality or integrity. The vulnerability affects availability due to potential kernel panic or system crash.

Mitigation Recommendations

A patch has been applied to the Linux kernel to handle the allocation failure properly by falling back to a normal path if skb allocation fails. Users should update to the fixed kernel version once available. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories for the exact fixed versions and apply updates accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-xxjc-4ppm-x655
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40053"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d79c2644c7f847b1f7

Added to database: 07/30/2026, 15:50:47 UTC

Last enriched: 07/30/2026, 16:22:38 UTC

Last updated: 09/10/2026, 19:24:56 UTC

Views: 21

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses