CVE-2026-143292
7.8HighPublished Dec 3, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- —
What an attacker gets
Local attackers can trigger a use-after-free in the Linux kernel to escalate privileges or cause a system crash. This requires the ability to create user and network namespaces.
Root cause
A race condition exists where a TIME_WAIT socket is freed while still being accessed by a timer during network namespace teardown.
Affected versions
Versions not listed — check the vendor advisory.
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Update the Linux kernel to a version containing the fix (e.g., 6.12.10, 6.6.73, 6.1.125, or 5.15.177). If patching is not possible, restrict unprivileged user namespace creation via sysctl -w kernel.unprivileged_userns_clone=0.
$ uname -rAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
In the Linux kernel, the following vulnerability has been resolved: tcp: wait for TIME_WAIT teardown before freeing per-netns ehash inet_twsk_kill() removes a TIME_WAIT socket from the established hash before it finishes using the ehash lock, hashinfo and bind tables, and before it drops the death-row reference. A running timer can therefore unhash its socket before inet_twsk_purge() reaches it. The purge cannot synchronize with that timer, and tcp_sk_exit_batch() can free the private ehash and hashinfo while inet_twsk_kill() is still using them. An unprivileged reproducer using user and network namespaces, a private TCP ehash and a FIN_WAIT2 timer triggers a KASAN slab-use-after-free in inet_twsk_kill(). The allocation and free stacks point to inet_pernet_hashinfo_alloc() and inet_pernet_hashinfo_free(). Wait for an RCU grace period after purging the whole batch, if one netns in the batch uses a private ehash. TIME_WAIT removal runs with bottom halves disabled, so this also waits for removers that were already invisible to the purge. Keep the wait under tcp_exit_batch_mutex, before freeing any private hashinfo. The same window exists with the shared tcp_hashinfo. There, the hashinfo memory stays valid, but tcp_sk_exit_batch() can decrement tcp_death_row.tw_refcount from 2 to 1 before inet_twsk_kill() drops its own reference. This triggers the WARN_ON_ONCE() in tcp_sk_exit_batch(), then a refcount_t "decrement hit 0" warning from inet_twsk_kill(). Adding a grace period for the shared case would be costly on busy hosts. It is not needed: struct net is freed by a later cleanup_net(), after the synchronize_rcu() in ops_undo_list(), so inet_twsk_kill() can safely drop the last tw_refcount reference itself. Use refcount_dec_if_one() and only warn if tw_refcount is not 1 after a grace period. [edumazet: only call synchronize_net() if one netns in the batch uses a private ehash, use refcount_dec_if_one() to avoid a false WARN with the shared ehash]
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1432967.3HighLocal attackers can cause data corruption in zoned block devices by triggering incorrect sector reporting. This occurs when zone append operations are completed via polling, leading to the filesystem tracking the wrong LBA.
- CVE-2026-1432898.1HighRemote attackers can trigger kernel memory corruption or arbitrary data writes by manipulating multicast route queries. This requires an environment where unprivileged users can influence netfilter hooks or SRv6 packet processing.
- CVE-2026-1432857.5HighRemote attackers can trigger a kernel deadlock, causing a system-wide denial of service. This is achieved by flooding the server with incomplete iWARP connection requests.
- CVE-2026-1432847.5HighUnauthenticated attackers can cause a kernel-level denial of service by flooding the system with TCP connection requests. This forces the nvmet-tcp work queue into an infinite loop, hanging the target system.
- CVE-2026-1432737.5HighUnauthenticated attackers can trigger a kernel-level interrupt storm leading to a system lockup. This requires the target system to be using the 8139cp network driver.
- CVE-2026-1432727.8HighLocal attackers can trigger a use-after-free in the kernel to escalate privileges or cause a system crash. This requires local access to the system.