PT-2025-13177 · Linux+4 · Linux Kernel+4

Published

2025-02-18

·

Updated

2026-04-20

·

CVE-2025-21868

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to the fixed version
Description A vulnerability in the Linux kernel has been resolved, related to the usage of small head cache with large MAX SKB FRAGS values. The issue was reported by Sabrina and is associated with a warning message at net/core/dev.c:6935 in the netif napi add weight locked function. The problem occurs when the kernel is built with MAX SKB FRAGS=45 and SKB WITH OVERHEAD(1024) is smaller than GRO MAX HEAD, triggering the use of the page frag allocator and resulting in a splat. The underlying issue is independent of a mentioned revert and requires ensuring the small head cache fits both TCP and GRO allocation, updating napi alloc skb and netdev alloc skb to select kmalloc usage for allocations fitting the cache.
Recommendations To resolve the issue, update the Linux kernel to a version that includes the fix for the vulnerability. As a temporary workaround, consider disabling the netif napi add weight locked function until a patch is available. Restrict access to the vulnerable napi alloc skb and netdev alloc skb functions to minimize the risk of exploitation. Avoid using the MAX SKB FRAGS parameter with large values in the affected kernel versions until the issue is resolved.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-62639
BDU:2025-03814
CVE-2025-21868
OESA-2025-2002
OESA-2025-2003
OESA-2025-2004
SUSE-SU-2025:02249-1
SUSE-SU-2025:02254-1
SUSE-SU-2025:02307-1
SUSE-SU-2025:02333-1
SUSE-SU-2025:02335-1
SUSE-SU-2025:02538-1
SUSE-SU-2025:02923-1
SUSE-SU-2025:20413-1
SUSE-SU-2025:20421-1
SUSE-SU-2025_02249-1
SUSE-SU-2025_02254-1
SUSE-SU-2025_02307-1
SUSE-SU-2025_02333-1
SUSE-SU-2025_02335-1
SUSE-SU-2025_02538-1
USN-7521-1
USN-7521-2
USN-7521-3
USN-7703-1
USN-7703-2
USN-7703-3
USN-7703-4
USN-7719-1
USN-7737-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Suse
Ubuntu