Linux kernel denial of service in socket backlog processing
Linux kernel stable branches from 5.4.302, 5.10.247, 5.15.197, 6.1.159, 6.6.117, 6.12.58 and 6.17.8 onward. Fixed in 5.5, 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118 and 6.18.
- Exploited
- No known exploitation
- Fix
- Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, and 2 more
- Who is exposed
- Not reported
Summary
Written by a model
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 &".
Who should check
Teams running Linux kernel builds with TCP services, especially on small multi-core ARM hosts; the reproduction used CONFIG_PREEMPT_NONE=y with 2-core Cortex-A53 CPUs.
“CONFIG_PREEMPT_NONE=y, HZ=1000, LATENCY_WARN”
What to do
Upgrade to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, or one of 2 more.
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-142872 (net: count last skb of each sk_backlog pass in __release_sock()), 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-142872 (entry last updated 2026-12-04):
Affected:
- Linux Linux: from 5.10.247, fixed in 5.10.275; from 5.15.197, fixed in 5.15.226; from 6.1.159, fixed in 6.1.193; from 6.6.117, fixed in 6.6.163; from 6.12.58, fixed in 6.12.118; from 5.4.302, fixed in 5.5; from 6.17.8, fixed in 6.18
- Linux Linux: versions 6.18
Fixed versions: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 5.5, 6.18.
Vendor patches: e08c172aa73706e385710c876f0efe211787ce63, 2399609bc603c91752756fac1fd5548b775d9582, 9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e08c172aa73706e385710c876f0efe211787ce63). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- Socket is user-owned (inside tcp_sendmsg or tcp_recvmsg), so incoming TCP segments are queued on the socket backlog. (source: https://www.cve.org/CVERecord?id=CVE-2026-142872)
- Many concurrent TCPv6 streams with NAPI sharing the CPUs, with runnable tasks competing for the CPU. (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e08c172aa73706e385710c876f0efe211787ce63)
- Reproduced on a 2-core Cortex-A53 with CONFIG_PREEMPT_NONE=y, HZ=1000 and LATENCY_WARN. (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e08c172aa73706e385710c876f0efe211787ce63)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-142872 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-142872 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/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
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-142872
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-142872"}.Affected versions
- Linux LinuxFrom 5.10.247 · fixed in 5.10.275; From 5.15.197 · fixed in 5.15.226; From 6.1.159 · fixed in 6.1.193; From 6.6.117 · fixed in 6.6.163; From 6.12.58 · fixed in 6.12.118; From 5.4.302 · fixed in 5.5; From 6.17.8 · fixed in 6.18
- Linux Linux6.18
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7.5/10CVSS 7.5
- No patch0/5No signal
What would change the score
- Would score about 90 if added to CISA KEV
- Would score about 85 if CISA's SSVC rates exploitation active
- Would score about 50 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 10
Questions about CVE-2026-142872
Is CVE-2026-142872 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
What does this mean?
TCP segments that arrive while a socket is owned by a user task are queued on the socket backlog. A flood of pure TCP ACKs can keep the CPU stuck in __release_sock for hundreds of milliseconds, causing a livelock and soft-lockup reports (a denial of service).
Source: cve.org, git.kernel.org
Which versions are affected by CVE-2026-142872?
Linux: from 5.10.247 before 5.10.275; from 5.15.197 before 5.15.226; from 6.1.159 before 6.1.193; from 6.6.117 before 6.6.163; from 6.12.58 before 6.12.118; from 5.4.302 before 5.5; from 6.17.8 before 6.18. Linux: version 6.18.
Source: cve.now feed data
Am I affected, and how do I check?
The reported setup uses many concurrent TCPv6 streams with NAPI sharing the CPUs and runnable tasks competing for CPU time. It was reproduced on a 2-core Cortex-A53 with CONFIG_PREEMPT_NONE=y, HZ=1000 and LATENCY_WARN. Check the running kernel version with uname -r against the affected ranges.
Source: cve.org, git.kernel.org
How do I fix CVE-2026-142872?
Move to the fixed release of the same stable branch: 5.5, 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118 or 6.18. The vendor's fix commits are e08c172aa73706e385710c876f0efe211787ce63, 2399609bc603c91752756fac1fd5548b775d9582 and 9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b.
Source: cve.org, git.kernel.org
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.