CVE-2026-45841CWE-369

CVE-2026-45841

Medium · published May 27, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
6.1
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00171 · 6.1th percentile
Weakness
CWE-369 · Divide By Zero
Published
2026-05-27T15:16Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.31, < 5.10.2585.10.258
linux/linux_kernel≥ 5.11, < 5.15.2095.15.209
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1416.6.141
linux/linux_kernel≥ 6.7, < 6.12.916.12.91
linux/linux_kernel≥ 6.13, < 6.18.336.18.33
linux/linux_kernel≥ 6.19, < 7.0.107.0.10
References (11)
EPSS history
Timeline
  • 27 MAY 09:24Z
    netfilter: nfnetlink_osf: fix divide-by-zero in OSF_WSS_MODULO
    cvelistv5