Security mailing lists by PureSourceCode

CVE-2024-50258

MEDIUM 5.5CVSS 3.1

In the Linux kernel, the following vulnerability has been resolved:

net: fix crash when config small gso_max_size/gso_ipv4_max_size

Config a small gso_max_size/gso_ipv4_max_size will lead to an underflow
in sk_dst_gso_max_size(), which may trigger a BUG_ON crash,
because sk->sk_gso_max_size would be much bigger than device limits.
Call Trace:
tcp_write_xmit
tso_segs = tcp_init_tso_segs(skb, mss_now);
tcp_set_skb_tso_segs
tcp_skb_pcount_set
// skb->len = 524288, mss_now = 8
// u16 tso_segs = 524288/8 = 65535 -> 0
tso_segs = DIV_ROUND_UP(skb->len, mss_now)
BUG_ON(!tso_segs)
Add check for the minimum value of gso_max_size and gso_ipv4_max_size.

Published
9 Nov 2024
Last modified
5 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Weakness
CWE-191
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.16, <= 6.6.60
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, <= 6.11.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
= 6.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
= 6.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
= 6.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
= 6.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
= 6.12

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 9 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.