Backlog loop in Linux kernel __release_sock() can stall the CPU
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Several stable branches of the Linux kernel are affected, for example from 6.12.58 before 6.12.118. In __release_sock(), the backlog loop miscounts skbs, so it can run past 100 ms without calling cond_resched() under heavy TCP load. A remote attacker without privileges or user interaction can cause a denial of service by stalling the CPU.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: net: count last skb of each sk_backlog pass in __release_sock() Running 500 concurrent TCPv6 streams (neper "tcp_stream -6 -T 1 -F 500") on a 2-core Cortex-A53 (CONFIG_PREEMPT_NONE=y, HZ=1000, LATENCY_WARN) triggers resched_latency_warn() in __release_sock(): [ 3655.311821] sched: CPU 0 need_resched set for > 100006892 ns (100 ticks) without schedule [ 3655.311889] Call trace: ... [ 3655.311944] resched_latency_warn+0x7c/0x88 [ 3655.311958] sched_tick+0x1c0/0x418 ... [ 3655.312578] net_rx_action+0x238/0x438 ... [ 3655.312641] do_softirq+0x4c/0x90 [ 3655.312651] __local_bh_enable_ip+0x84/0x90 [ 3655.312663] local_bh_enable+0x1c/0x28 [ 3655.312674] __dev_queue_xmit+0x4a8/0xb00 ... [ 3655.312782] tcp_v6_do_rcv+0x240/0x5f8 [ 3655.312793] __release_sock+0x9c/0x188 [ 3655.312806] release_sock+0x150/0x168 [ 3655.312817] tcp_sendmsg+0x4c/0x70 __release_sock() can loop past 100 ms without calling cond_resched(): - Each outer-loop pass drains sk_backlog, but "if (!skb) break;" runs before "++nb", so a pass of B skbs only adds B - 1 to nb (0 for 1 skb). - With 500 TCPv6 streams and NAPI sharing two Cortex-A53 cores, runnable tasks keep TIF_NEED_RESCHED set on CPU 0. - During spin_unlock_bh() and TX softirqs (__dev_queue_xmit() -> local_bh_enable()), tcp_add_backlog() coalesces arriving pure ACKs into a single tail skb. - Repeated 1-skb passes never advance nb or call cond_resched(), triggering resched_latency_warn() after 100 ticks. Restore the do-while loop and drop "if (!skb) break;" so every skb increments nb across passes and calls cond_resched() every 16 skbs. Reproduced the issue and verified the fix on two 2-core Cortex-A53 hosts (CONFIG_PREEMPT_NONE=y, HZ=1000, LATENCY_WARN, latency_warn_once=0) with a userspace reproducer over /dev/net/tun: - CPU 0 runs a TCPv6 sender and a second runnable task while CPU 1 writes pure ACKs to /dev/net/tun (~30k TCPBacklogCoalesce/run), sustaining 1-skb sk_backlog refills in __release_sock() for ~400 ms (ftrace). - Before: CPU 0 stayed unscheduled in __release_sock(), hitting resched_latency_warn() 293 and 275 times on the two hosts (> 100.9 ms). - After: cond_resched() yielded CPU 0 inside __release_sock(), with 0 resched_latency_warn() hits on both hosts. - Also observed no regression with the workload from commit 16c610162d1f ("net: call cond_resched() less often in __release_sock()"), "super_netperf 4 -H srv -T,10 -l 3000 &".
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.247 to before 5.10.275; 5.15.197 to before 5.15.226; 6.1.159 to before 6.1.193; 6.6.117 to before 6.6.163; 6.12.58 to before 6.12.118; 5.4.302 to before 5.5; 6.17.8 to before 6.18 | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 5.5, 6.18 | Patch available | CNA |
| Linux | Linux | 6.18 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.247 to before 5.10.275; 5.15.197 to before 5.15.226; 6.1.159 to before 6.1.193; 6.6.117 to before 6.6.163; 6.12.58 to before 6.12.118; 5.4.302 to before 5.5; 6.17.8 to before 6.18 Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 5.5, 6.18 Patch available CNA
- Linux VendorLinux Affected 6.18 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 Patch available CNA
Remediation
Upgrade the Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 5.5, 6.18, 6.18.64, 7.3.5 or 7.4-rc2, or to a later release in the same branch.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 5.5, 6.18
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-12-03 Threatist record created from CVE-2026-142872
- 2026-12-03 Alias added: GHSA-qrwf-m9q2-m9x3
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
- 2026-12-04 EPSS moved to the 50th–90th percentile
- 2026-12-04 CVSS score added · CNA
References
Other 8
- https://git.kernel.org/stable/c/e08c172aa73706e385710c876f0efe211787ce63
- https://git.kernel.org/stable/c/2399609bc603c91752756fac1fd5548b775d9582
- https://git.kernel.org/stable/c/9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b
- https://git.kernel.org/stable/c/449c7cb63175f4e14a8559ef8759f4a987afca1c
- https://git.kernel.org/stable/c/e8fb61e46c860f9401f2862a15869c82444b4278
- https://git.kernel.org/stable/c/f5130be000f0eb71a7359244d41b2ec3ffb08488
- https://git.kernel.org/stable/c/55e4044c1bc87e69b127790d4e73d34dddb9afdf
- https://git.kernel.org/stable/c/c4e4056b21355356f6a95bcdf03a850edd9f49e7
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-142872 · CVE Program
- CVE-2026-142872 · NVD
- FIRST EPSS
- GHSA-qrwf-m9q2-m9x3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-142872 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences