data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2026-90143 in the interactive tracker

CVE-2026-90143

net: kcm: Hold RCU read lock while running BPF parser

7.8 EPSS 0.2% AV:L

Published 2026-09-17 (31 days ago) by the Linux kernel CNA. Subsystem net/kcm. Debian urgency: not yet assigned.

What to do, per Debian release

Debian's own status for CVE-2026-90143 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source

ReleaseStatus VersionWhat this means
Debian 12bookwormfixedDLA-4841-1 · 2026-10-17 · text6.1.190-1Update the kernel and reboot. DLA-4841-1 shipped the fix on 2026-10-17, in 6.1.190-1. A running kernel keeps the old code until the machine restarts.
Debian 13trixiefixedDSA-6528-1 · 2026-09-29 · text6.12.111-1Update the kernel and reboot. DSA-6528-1 shipped the fix on 2026-09-29, in 6.12.111-1. A running kernel keeps the old code until the machine restarts.
Debian 14forkyfixed7.2.6-1Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.2.6-1Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts.
Debian 12bookworm · linux-6.12fixedDLA-4817-1 · 2026-10-04 · text6.12.111-1~deb12u1Update the kernel and reboot. DLA-4817-1 shipped the fix on 2026-10-04, in 6.12.111-1~deb12u1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

kcm_parse_func_strparser() calls bpf_prog_run_pin_on_cpu() which prevents CPU migration, but does not establish an RCU read-side critical section. Consequently, BPF map operations can trigger WARN_ON_ONCE(!bpf_rcu_lock_held()) when called from the KCM strparser program. Hold the RCU read lock while running the program.

Where it lives

The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.

net/kcm/kcmsock.c

What this is
NETWORKING [GENERAL]MAINTAINERS section matched on net/ · netdev@vger.kernel.org · Maintained
Kernel module
kcm

Check it on the machine

grep -w CONFIG_AF_KCM /boot/config-$(uname -r)

Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.

lsmod | grep -w kcm

Prints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.

Show whether Debian builds this, per release

Debian builds this as a loadable module. Every release below compiles it as a module on every flavour, so whether the code is in the running kernel depends on whether that module is loaded.

  • bookworm, trixie, forky, sid, bookworm · linux-6.12m
m
a loadable module on every flavour - check lsmod, can be blacklisted
Build switch
CONFIG_AF_KCM

From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages

Signals

Published
2026-09-17 (31 days ago)source
CVSS
7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it
Attack vector
local (AV:L)source
EPSS
0.16%, higher than 5.3% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
not yet assignedsource
Subsystem
net/kcm

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
4.95.10.27037108861cf7b
4.95.15.2213c70d27e792a
4.96.1.1881d26a6e007d4
4.96.6.157b0e94ea63dbd
4.96.12.11021526f8a191a
4.96.18.52292846223ead
4.97.2.6f392affef3c9
4.97.3b0346dd64e49

Debian advisories

AdvisoryDateShipped toDebian
DLA-4841-12026-10-17bookworm 6.1.190-1tracker
DLA-4817-12026-10-04bookworm 6.12.111-1~deb12u1tracker
DSA-6528-12026-09-29trixie 6.12.111-1tracker

Why the CNA scored it this way

Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source

AV:LAttack vector, local
The missing rcu_read_lock is in kcm_parse_func_strparser(), reached after local socket(AF_KCM) and ioctl(SIOCKCMATTACH) installing the caller's BPF_PROG_TYPE_SOCKET_FILTER via bpf_prog_get_type(). A remote TCP peer can only feed an skb into strp_recv(); map helpers fire regardless of payload, and the BPF program is locally supplied.
AC:LAttack complexity, low
kcm_attach() always calls strp_check_rcv(), which queues do_strp_work so parse_msg runs in process context under lock_sock() with BH enabled, so bpf_rcu_lock_held() is false. The attacker loads a SOCKET_FILTER that calls bpf_map_lookup_elem and can delete the same HASH key from their own map fd on another thread.
PR:LPrivileges required, low
kcm_create() and kcm_ioctl(SIOCKCMATTACH) have no capable() check, and PF_KCM autoloads via MODULE_ALIAS_NETPROTO. bpf_prog_get_type(..., BPF_PROG_TYPE_SOCKET_FILTER) and HASH/ARRAY maps are the unprivileged types in bpf_prog_load()/map_create(); CAP_BPF in the init namespace is not required when unprivileged BPF is enabled.
UI:NUser interaction, none
The attacker opens their own AF_KCM and TCP sockets, loads their own SOCKET_FILTER, issues SIOCKCMATTACH, and either pre-queues TCP data so strp_check_rcv() runs the parser or writes the TCP peer themselves. No other user must mount a filesystem, open a device, or attach a program.
S:UScope, unchanged
A dangling htab_elem used by kcm_parse_func_strparser() is a host-kernel use-after-free that can escalate privileges inside the same kernel. It does not cross a KVM/Xen guest-host boundary or an IOMMU/DMA domain.
C:HConfidentiality impact, high
bpf_map_lookup_elem() proceeds after WARN_ON_ONCE(!bpf_rcu_lock_held()) and __htab_map_lookup_elem() still returns a pointer. Concurrent htab delete via the attacker's map fd frees or freelist-reuses that htab_elem (bpf_mem_cache_free/pcpu_freelist_push) while the SOCKET_FILTER still reads the map value, disclosing kernel heap.
I:HIntegrity impact, high
The verifier treats the map-value pointer as writable, so the SOCKET_FILTER can store through the dangling htab_elem after free_htab_elem() reuses it, and bpf_map_update_elem() also runs without RCU from kcm_parse_func_strparser(). That is an arbitrary kernel write via heap reuse, not a bounded overwrite.
A:HAvailability impact, high
Use of the dangling htab_elem in do_strp_work oopses or panics the kernel. Independently, bpf_map_lookup_elem()/__htab_map_lookup_elem() hit WARN_ON_ONCE(!bpf_rcu_lock_held()) on the first map helper from kcm_parse_func_strparser(), which is fatal on kernels booted with panic_on_warn.