PT-2024-34090 · Linux+7 · Linux Kernel+7

Wang Liang

·

Published

2024-10-23

·

Updated

2026-05-26

·

CVE-2024-50258

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 6.6.61
Description: A crash can occur in the Linux kernel when a small gso max size or gso ipv4 max size is configured, leading to an underflow in sk dst gso max size(). This underflow may trigger a BUG ON crash because sk->sk gso max size would be much bigger than device limits. The issue is related to the tcp write xmit function, where tso segs is calculated using DIV ROUND UP(skb->len, mss now), which can result in a value of 0, triggering the BUG ON crash. A check for the minimum value of gso max size and gso ipv4 max size has been added to fix the issue.
Recommendations: For Linux kernel versions prior to 6.6.61, update to version 6.6.61 or later to resolve the issue. As a temporary workaround, consider configuring a larger gso max size and gso ipv4 max size to avoid the underflow issue. Restrict access to the tcp write xmit function and related tcp set skb tso segs and tcp skb pcount set functions to minimize the risk of exploitation. Avoid using small values for gso max size and gso ipv4 max size until the issue is resolved.

Exploit

Fix

DoS

Integer Underflow

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

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-17211
ALT-PU-2024-17891
ALT-PU-2025-12647
AZL-53333
AZL-53361
BDU:2025-07892
CVE-2024-50258
DLA-4076-1
MGASA-2024-0368
MGASA-2024-0369
OESA-2024-2492
OESA-2024-2495
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2025:14705-1
OPENSUSE-SU-2025_0428-1
OPENSUSE-SU-2025_0499-1
OPENSUSE-SU-2025_0557-1
SUSE-SU-2025:0428-1
SUSE-SU-2025:0499-1
SUSE-SU-2025:0557-1
SUSE-SU-2025:0564-1
SUSE-SU-2025:20190-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20260-1
SUSE-SU-2025:20270-1
SUSE-SU-2025_0428-1
SUSE-SU-2025_0499-1
SUSE-SU-2025_0557-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7468-1
USN-7523-1
USN-7524-1
USN-7654-1
USN-7654-2
USN-7654-3
USN-7654-4
USN-7654-5
USN-7655-1
USN-7686-1
USN-7711-1
USN-7712-1
USN-7712-2

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu