VDB

CVE-2026-45841

CVE-2026-45841 PUBLISHED

netfilter: nfnetlink_osf: fix divide-by-zero in OSF_WSS_MODULO

Reported by linux · Published May 27, 2026

In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_osf: fix divide-by-zero in OSF_WSS_MODULO nf_osf_match_one() computes ctx->window % f->wss.val in the OSF_WSS_MODULO branch with no guard for f->wss.val == 0. A CAP_NET_ADMIN user can add such a fingerprint via nfnetlink; a subsequent matching TCP SYN divides by zero and panics the kernel. Reject the bogus fingerprint in nfnl_osf_add_callback() above the per-option for-loop. f->wss is per-fingerprint, not per-option, so the check must run regardless of f->opt_num (including 0). Also reject wss.wc >= OSF_WSS_MAX; nf_osf_match_one() already treats that as "should not happen". Crash: Oops: divide error: 0000 [#1] SMP KASAN NOPTI RIP: 0010:nf_osf_match_one (net/netfilter/nfnetlink_osf.c:98) Call Trace: <IRQ> nf_osf_match (net/netfilter/nfnetlink_osf.c:220) xt_osf_match_packet (net/netfilter/xt_osf.c:32) ipt_do_table (net/ipv4/netfilter/ip_tables.c:348) nf_hook_slow (net/netfilter/core.c:622) ip_local_deliver (net/ipv4/ip_input.c:265) ip_rcv (include/linux/skbuff.h:1162) __netif_receive_skb_one_core (net/core/dev.c:6181) process_backlog (net/core/dev.c:6642) __napi_poll (net/core/dev.c:7710) net_rx_action (net/core/dev.c:7945) handle_softirqs (kernel/softirq.c:622)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.12.92-122.166Amazon Linux1:1.0-0.amzn2023
kernel6.12-headersAmazon Linux1:6.12.92-122.166.amzn2023
python3-perf6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel-toolsAmazon Linux1:6.1.175-219.357.amzn2023
kernel6.18-headersAmazon Linux1:6.18.33-63.124.amzn2023
python3-perfAmazon Linux1:6.1.175-219.357.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.33-63.124.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.92-122.166.amzn2023
kernel6.12-develAmazon Linux1:6.12.92-122.166.amzn2023
kernel-livepatch-6.18.33-63.124Amazon Linux1:1.0-0.amzn2023
linux_kernellinux7.0.10, 6.18.33, 6.12.91, 6.6.141, 6.1.175, 5.15.209, 5.10.258
LinuxLinuxfb965b1cfe92b28d28b5ebe3116b81dbef9f2d2f, cb833bbc1b3c51e08652d3c86298307c07d3f2db, c55940895245d8ef658ab381248a28755218d625, 9a05e195618a6d474f2bcd5b6376d0ffc2f00366, 8def8fbd23f40e945febe913d04b731012ce0082, 26900306a5a2c3e4f75c643a064525526bb6e5f3, 2195574dc6d9017d32ac346987e12659f931d932, 2.6.31, 0694618cf3e9b120666e31f5f383a6e466d95a0d

Affected products

VendorProductVersions
LinuxLinux11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384, 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384, 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
LinuxLinux2.6.31, 0, 5.10.258
amazon:2023kernel-livepatch-6.12.92-122.1660
amazon:2023kernel6.12-headers0
amazon:2023python3-perf6.180
amazon:2023kernel-tools0
amazon:2023kernel6.18-headers0
amazon:2023python3-perf0
amazon:2023kernel6.18-modules-extra0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)3.1.6, 3.1.7
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.7, 3.1.6
amazon:2023kernel6.12-modules-extra-common0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.18.33-63.1240
LinuxLinux7.1, 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384, 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
amazon:2023kernel-livepatch-6.1.175-219.3570
amazon:2023kernel-devel0
amazon:2023kernel6.18-tools0
amazon:2023perf6.180

…and 26 more

Timeline

  • May 26, 2026 CVE Published
  • May 27, 2026 EPSS Score (17 in total, the first dated here)
  • May 29, 2026 Security Advisory (34 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (29 in total, the first dated here)
  • Nov 10, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45841
vulnetix vdb fixes CVE-2026-45841

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45841/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›