-

CVE-2026-99298

net: ipv4: add zero check for snd_cwnd_clamp

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

net: ipv4: add zero check for snd_cwnd_clamp

When RTAX_CWND is locked, user is able to pass 0 into it.
This could lead to writing 0 to tp->snd_cwnd, leading to a
division by zero error.

Oops: divide error: 0000 [#1] SMP KASAN NOPTI
Call Trace:
 <IRQ>
 tcp_reno_cong_avoid (net/ipv4/tcp_cong.c:510 (discriminator 1))
 tcp_ack (net/ipv4/tcp_input.c:3517 net/ipv4/tcp_input.c:3873 net/ipv4/tcp_input.c:4440)
 tcp_rcv_established (net/ipv4/tcp_input.c:6685)
 tcp_v4_do_rcv (net/ipv4/tcp_ipv4.c:1854)
 tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2248)
 ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 1))
 ip_local_deliver_finish (net/ipv4/ip_input.c:241 (discriminator 1))
 ip_local_deliver (./include/linux/netfilter.h:325 ./include/linux/netfilter.h:319 net/ipv4/ip_input.c:262)
 ip_rcv (./include/net/dst.h:481 (discriminator 6) net/ipv4/ip_input.c:492 (discriminator 6) ./include/linux/netfilter.h:325 (discriminator 6) ./include/li)
 __netif_receive_skb_one_core (net/core/dev.c:6297 (discriminator 4))
 __netif_receive_skb (net/core/dev.c:6410)
 process_backlog (net/core/dev.c:6761)
 __napi_poll.constprop.0 (net/core/dev.c:7830)
 net_rx_action (net/core/dev.c:7893 net/core/dev.c:8050)
 handle_softirqs (kernel/softirq.c:645)
 __irq_exit_rcu (kernel/softirq.c:679 kernel/softirq.c:519 kernel/softirq.c:758)
 irq_exit_rcu (kernel/softirq.c:775)
 sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1062 (discriminator 35) arch/x86/kernel/apic/apic.c:1062 (discriminator 35))
RIP: 0010:tcp_cong_avoid_ai (net/ipv4/tcp_cong.c:482)

Fix by checking if user pass in zero as parameter and if lock is present.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 814d488c61260521b1b3cc97063700a5a6667c8f
Version < adaf6842e9b66facfeb037b467f75247f30d7481
Status affected
Version 814d488c61260521b1b3cc97063700a5a6667c8f
Version < 1adaa73907eea3ce3e189de28867c3cfb73d099c
Status affected
Version 814d488c61260521b1b3cc97063700a5a6667c8f
Version < c4e6c9332e0f0337a6ba19665a6a223dc2acc049
Status affected
Version 814d488c61260521b1b3cc97063700a5a6667c8f
Version < 195b61e4067a3f9d733d79df8ac7839d253d7281
Status affected
Version 814d488c61260521b1b3cc97063700a5a6667c8f
Version < 0a978359afe76aadfbc57acee88c08999543a7ae
Status affected
Version 814d488c61260521b1b3cc97063700a5a6667c8f
Version < f9af5772ff0ef32fa4ffb43fc10861823e6a06e3
Status affected
Version 814d488c61260521b1b3cc97063700a5a6667c8f
Version < b8111914eb7cb1d269c1dec4a4958468ac7e17a4
Status affected
Version 814d488c61260521b1b3cc97063700a5a6667c8f
Version < 363c8c79220d0db4d65dcd570529ddda15067cb5
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 3.19
Status affected
Version 0
Version < 3.19
Status unaffected
Version <= 5.10.*
Version 5.10.275
Status unaffected
Version <= 5.15.*
Version 5.15.226
Status unaffected
Version <= 6.1.*
Version 6.1.193
Status unaffected
Version <= 6.6.*
Version 6.6.163
Status unaffected
Version <= 6.12.*
Version 6.12.117
Status unaffected
Version <= 6.18.*
Version 6.18.61
Status unaffected
Version <= 7.3.*
Version 7.3.2
Status unaffected
Version <= *
Version 7.4-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.16% 0.049
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/0a978359afe76aadfbc57acee88c08999543a7ae
https://git.kernel.org/stable/c/f9af5772ff0ef32fa4ffb43fc10861823e6a06e3
https://git.kernel.org/stable/c/b8111914eb7cb1d269c1dec4a4958468ac7e17a4
https://git.kernel.org/stable/c/363c8c79220d0db4d65dcd570529ddda15067cb5
https://git.kernel.org/stable/c/195b61e4067a3f9d733d79df8ac7839d253d7281
https://git.kernel.org/stable/c/1adaa73907eea3ce3e189de28867c3cfb73d099c
https://git.kernel.org/stable/c/adaf6842e9b66facfeb037b467f75247f30d7481
https://git.kernel.org/stable/c/c4e6c9332e0f0337a6ba19665a6a223dc2acc049