{"id":"CVE-2026-99298","summary":"net: ipv4: add zero check for snd_cwnd_clamp","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ipv4: add zero check for snd_cwnd_clamp\n\nWhen RTAX_CWND is locked, user is able to pass 0 into it.\nThis could lead to writing 0 to tp-\u003esnd_cwnd, leading to a\ndivision by zero error.\n\nOops: divide error: 0000 [#1] SMP KASAN NOPTI\nCall Trace:\n \u003cIRQ\u003e\n tcp_reno_cong_avoid (net/ipv4/tcp_cong.c:510 (discriminator 1))\n tcp_ack (net/ipv4/tcp_input.c:3517 net/ipv4/tcp_input.c:3873 net/ipv4/tcp_input.c:4440)\n tcp_rcv_established (net/ipv4/tcp_input.c:6685)\n tcp_v4_do_rcv (net/ipv4/tcp_ipv4.c:1854)\n tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2248)\n ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 1))\n ip_local_deliver_finish (net/ipv4/ip_input.c:241 (discriminator 1))\n ip_local_deliver (./include/linux/netfilter.h:325 ./include/linux/netfilter.h:319 net/ipv4/ip_input.c:262)\n 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)\n __netif_receive_skb_one_core (net/core/dev.c:6297 (discriminator 4))\n __netif_receive_skb (net/core/dev.c:6410)\n process_backlog (net/core/dev.c:6761)\n __napi_poll.constprop.0 (net/core/dev.c:7830)\n net_rx_action (net/core/dev.c:7893 net/core/dev.c:8050)\n handle_softirqs (kernel/softirq.c:645)\n __irq_exit_rcu (kernel/softirq.c:679 kernel/softirq.c:519 kernel/softirq.c:758)\n irq_exit_rcu (kernel/softirq.c:775)\n sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1062 (discriminator 35) arch/x86/kernel/apic/apic.c:1062 (discriminator 35))\nRIP: 0010:tcp_cong_avoid_ai (net/ipv4/tcp_cong.c:482)\n\nFix by checking if user pass in zero as parameter and if lock is present.","modified":"2026-11-16T12:01:24.061560430Z","published":"2026-11-16T09:59:25.130Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99298.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0a978359afe76aadfbc57acee88c08999543a7ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/363c8c79220d0db4d65dcd570529ddda15067cb5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8111914eb7cb1d269c1dec4a4958468ac7e17a4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9af5772ff0ef32fa4ffb43fc10861823e6a06e3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99298.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99298"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"814d488c61260521b1b3cc97063700a5a6667c8f"},{"fixed":"0a978359afe76aadfbc57acee88c08999543a7ae"},{"fixed":"f9af5772ff0ef32fa4ffb43fc10861823e6a06e3"},{"fixed":"b8111914eb7cb1d269c1dec4a4958468ac7e17a4"},{"fixed":"363c8c79220d0db4d65dcd570529ddda15067cb5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99298.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.19.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99298.json"}}],"schema_version":"1.9.2"}