CVE-2026-143292
Last modified
CVE-2026-143292 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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]
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d1e5e6408b305ff78b825d437df8d3f77e82a4be, < 068877fbd13041f01b9c20687a82c0773158b200; >= d1e5e6408b305ff78b825d437df8d3f77e82a4be, < 3f4e42618b5c2cbeb4e36a7b7fb1047cced39bce; >= d1e5e6408b305ff78b825d437df8d3f77e82a4be, < 0a987038ea68d3c14ea905c817855b2e58ace158; >= d1e5e6408b305ff78b825d437df8d3f77e82a4be, < 647b81ddefc6364290e67bf33c89d54971f8995e |
| Linux | Linux | 6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143292?
How severe is CVE-2026-143292?
How do I fix CVE-2026-143292?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-143286In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143287In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143288In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143289In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-143290In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143291In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143293In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143294In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143295Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-143296In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2026-143297In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143298In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143292?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
