CVE-2026-45841·Kernel vulnerability
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)
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.10
Fixed in: 7.0.10
How to fix this CVE
Update your Linux kernel to version 7.0.10 or later to patch the divide-by-zero vulnerability in netfilter's OSF fingerprinting module. This flaw allows a privileged local attacker to crash the kernel by adding a malformed fingerprint with an invalid WSS value. Apply the fix through your distribution's package manager to restore system stability.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and compare against the affected range (6.19 to 7.0.9)
- Step 2: Verify netfilter OSF module is loaded: `lsmod | grep xt_osf` or `lsmod | grep nfnetlink_osf`
- Step 3: Search kernel logs for divide-by-zero panics: `sudo journalctl -b | grep -i 'divide error\|Oops'` or `sudo dmesg | grep -i 'divide error'`
- Step 4: After patching, reboot and confirm new kernel version with `uname -r` shows 7.0.10 or later
FAQ
What is CVE-2026-45841?
This vulnerability is a divide-by-zero flaw in the Linux kernel's netfilter OSF (Operating System Fingerprinting) module. An attacker with CAP_NET_ADMIN privileges can add a specially crafted fingerprint with a zero WSS value, causing the kernel to panic when processing matching TCP SYN packets.
Is CVE-2026-45841 being actively exploited?
No, this CVE is not listed in CISA's KEV catalog and has no known public exploits. However, any CAP_NET_ADMIN user (including containerized processes with elevated capabilities) can trigger the crash.
What versions of Kernel are affected by CVE-2026-45841?
Linux kernel versions 6.19 through 7.0.9 are vulnerable. Kernel 7.0.10 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2026-45841?
Run `uname -r` to check your kernel version. If it shows 6.19.x to 7.0.9, your system is vulnerable. Additionally, run `lsmod | grep -E 'xt_osf|nfnetlink_osf'` to confirm the OSF module is active.
Does Defensia detect CVE-2026-45841?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-45841 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0694618cf3e9b120666e31f5f383a6e466d95a0d
- https://git.kernel.org/stable/c/2195574dc6d9017d32ac346987e12659f931d932
- https://git.kernel.org/stable/c/26900306a5a2c3e4f75c643a064525526bb6e5f3
- https://git.kernel.org/stable/c/8def8fbd23f40e945febe913d04b731012ce0082
- https://git.kernel.org/stable/c/9a05e195618a6d474f2bcd5b6376d0ffc2f00366
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-45841. Free for 1 server.
Get started free