Linux kernel: netfilter: xt_recent: do not call remove_proc_entry() under recent_lock
- Exploited
- No known exploitation
- Fix
- Fixed in 3.8
- Who is exposed
- Not reported
Summary
In the Linux kernel, the following vulnerability has been resolved:
netfilter: xt_recent: do not call remove_proc_entry() under recent_lock
recent_proc_net_exit() removes the /proc/net/xt_recent/<name> entries of a dying network namespace while holding spin_lock_bh(&recent_lock). remove_proc_entry() may sleep: proc_entry_rundown() waits until every task that is still inside the entry's file operations has left. A reader of such an entry is counted in by proc_reg_read() before recent_seq_start() takes recent_lock. So if a read is in flight when the namespace is torn down, cleanup_net() sleeps in atomic context holding the spinlock that the reader is spinning on, and neither side can ever make progress.
An unprivileged user can trigger this from a user namespace by adding a rule with the "recent" match and reading its proc file while the namespace is being destroyed. As recent_lock is global, every later attempt to take it spins forever too: the spinning can spread to all CPUs, and network namespace teardown stops system-wide.
BUG: sleeping function called from invalid context at kernel/sched/completion.c:116 #3: (recent_lock){+...}-{3:3}, at: recent_net_exit+0x2b/0x140 Workqueue: netns cleanup_net Call Trace: proc_entry_rundown+0x185/0x1b0 remove_proc_entry+0x21a/0x520 recent_net_exit+0x7f/0x140 cleanup_net+0x414/0x8f0 ... rcu: INFO: rcu_preempt self-detected stall on CPU Call Trace: queued_spin_lock_slowpath+0x313/0xc20 recent_seq_start+0x87/0x1b0 seq_read_iter+0x265/0x11e0 proc_reg_read+0x1ab/0x270
Fix by taking recent_mutex instead of recent_lock. According to commit a0e889bb1bdc ("[NETFILTER]: recent match: fix "sleeping function called from invalid context""), recent_mutex is the lock to use here: it protects recent_net->tables and was introduced so that proc entries are created and removed without recent_lock held, because those calls may sleep. hashlimit_proc_net_exit() does the same for xt_hashlimit.
What to do
Upgrade to a fixed version: 3.8.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-143134 (netfilter: xt_recent: do not call remove_proc_entry() under recent_lock), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-143134 (entry last updated 2026-12-03):
Affected:
- Linux Linux: from 3.7.6, fixed in 3.8
- Linux Linux: versions 3.8
Fixed versions: 3.8.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-143134 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-143134 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/dc506b04fae57d3ed5e5f33948f244a75f9162ec
- https://git.kernel.org/stable/c/99af6f583b94de3c0a6a0ba2d4e09d67d91f32a7
- https://git.kernel.org/stable/c/c76b5331ff0e4cf7e7fd174d705ae6b70d03daa8
- https://git.kernel.org/stable/c/520977f1606b8de1d62ed0cf13e5195d13864b3e
- https://git.kernel.org/stable/c/de330c35537af8c94398c0b2a0e835fc7b628eb8
- https://git.kernel.org/stable/c/17c2e41736b62cfe444c64d67860b1fbc1e886ac
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-143134
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-143134"}.Affected versions
- Linux LinuxFrom 3.7.6 · fixed in 3.8
- Linux Linux3.8
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch0/5No signal
What would change the score
- Would score about 75 if added to CISA KEV
- Would score about 70 if CISA's SSVC rates exploitation active
- Would score about 42 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 8
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-143134 |
| Record | NVD · CVE-2026-143134 |
| Other links 6 | |
| Link | git.kernel.org · stable/c/dc506b04fae57d3ed5e5f33948f244a75f9162ec |
| Link | git.kernel.org · stable/c/99af6f583b94de3c0a6a0ba2d4e09d67d91f32a7 |
| Link | git.kernel.org · stable/c/c76b5331ff0e4cf7e7fd174d705ae6b70d03daa8 |
| Link | git.kernel.org · stable/c/520977f1606b8de1d62ed0cf13e5195d13864b3e |
| Link | git.kernel.org · stable/c/de330c35537af8c94398c0b2a0e835fc7b628eb8 |
| Link | git.kernel.org · stable/c/17c2e41736b62cfe444c64d67860b1fbc1e886ac |
Questions about CVE-2026-143134
Is CVE-2026-143134 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-143134?
Linux: from 3.7.6 before 3.8. Linux: version 3.8.
Source: cve.now feed data
How do I fix CVE-2026-143134?
Upgrade to a fixed version: 3.8.
Source: cve.now feed data
Related
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packets
- CVE-2026-143400virtio_net: check RX buffer length before DMA sync
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()
- CVE-2026-143398Input: destroy force-feedback device on input unregistration
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transports
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-free
No corrections so far. Something wrong on this page? Report an error.