# CVE-2026-142872: net: count last skb of each sk\_backlog pass in \_\_release\_sock()

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:23:32.040Z
- **Modified:** 2026-12-03T04:18:25.183Z

> **AI summary (AI-generated, claude-haiku-5-5):** A kernel-level flaw in the Linux kernel's socket backlog processing (\_\_release\_sock) can cause long non-preemptible loops, leading to scheduling latency and denial of service under heavy TCP load.

## Who should check

- Anyone running Linux \>= 40e78a37beac76694cab4601bba15fccd68569f1, \< e08c172aa73706e385710c876f0efe211787ce63; \>= 66bcd6c577d83d0db60468d04e3c8c79caa649ce, \< 2399609bc603c91752756fac1fd5548b775d9582; \>= c52cb572a7819f4e4a931125f582453a1d289491, \< 9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b; \>= 170bd191fa6c18748771843e1396922865a23b8a, \< 449c7cb63175f4e14a8559ef8759f4a987afca1c; \>= 562bcdc0d776f25e136be4133c6e79577405ca76, \< e8fb61e46c860f9401f2862a15869c82444b4278; \>= 16c610162d1f1c332209de1c91ffb09b659bb65d, \< f5130be000f0eb71a7359244d41b2ec3ffb08488; \>= 16c610162d1f1c332209de1c91ffb09b659bb65d, \< 55e4044c1bc87e69b127790d4e73d34dddb9afdf; \>= 16c610162d1f1c332209de1c91ffb09b659bb65d, \< c4e4056b21355356f6a95bcdf03a850edd9f49e7; 0ee184e039269397780cfd03401d939620b93aa1; c42221a8de5958a7fa3f59c56b17f47cfe93bf6a; …
- Anyone running Linux 6.18

## Description

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 &".

## Affected and fixed versions

- Linux: \>= 40e78a37beac76694cab4601bba15fccd68569f1, \< e08c172aa73706e385710c876f0efe211787ce63; \>= 66bcd6c577d83d0db60468d04e3c8c79caa649ce, \< 2399609bc603c91752756fac1fd5548b775d9582; \>= c52cb572a7819f4e4a931125f582453a1d289491, \< 9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b; \>= 170bd191fa6c18748771843e1396922865a23b8a, \< 449c7cb63175f4e14a8559ef8759f4a987afca1c; \>= 562bcdc0d776f25e136be4133c6e79577405ca76, \< e8fb61e46c860f9401f2862a15869c82444b4278; \>= 16c610162d1f1c332209de1c91ffb09b659bb65d, \< f5130be000f0eb71a7359244d41b2ec3ffb08488; \>= 16c610162d1f1c332209de1c91ffb09b659bb65d, \< 55e4044c1bc87e69b127790d4e73d34dddb9afdf; \>= 16c610162d1f1c332209de1c91ffb09b659bb65d, \< c4e4056b21355356f6a95bcdf03a850edd9f49e7; 0ee184e039269397780cfd03401d939620b93aa1; c42221a8de5958a7fa3f59c56b17f47cfe93bf6a; … (cvelist)
- Linux: 6.18 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142872. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142872.md
Affected: Linux >= 40e78a37beac76694cab4601bba15fccd68569f1, < e08c172aa73706e385710c876f0efe211787ce63; >= 66bcd6c577d83d0db60468d04e3c8c79caa649ce, < 2399609bc603c91752756fac1fd5548b775d9582; >= c52cb572a7819f4e4a931125f582453a1d289491, < 9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b; >= 170bd191fa6c18748771843…
Fixed in: Linux 2399609bc603c91752756fac1fd5548b775d9582, Linux 9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b, Linux 449c7cb63175f4e14a8559ef8759f4a987afca1c, Linux 55e4044c1bc87e69b127790d4e73d34dddb9afdf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142872 being exploited?

There is no confirmed exploitation: CVE-2026-142872 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142872?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142872?

Linux \>= 40e78a37beac76694cab4601bba15fccd68569f1, \< e08c172aa73706e385710c876f0efe211787ce63; \>= 66bcd6c577d83d0db60468d04e3c8c79caa649ce, \< 2399609bc603c91752756fac1fd5548b775d9582; \>= c52cb572a7819f4e4a931125f582453a1d289491, \< 9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b; \>= 170bd191fa6c18748771843e1396922865a23b8a, \< 449c7cb63175f4e14a8559ef8759f4a987afca1c; \>= 562bcdc0d776f25e136be4133c6e79577405ca76, \< e8fb61e46c860f9401f2862a15869c82444b4278; \>= 16c610162d1f1c332209de1c91ffb09b659bb65d, \< f5130be000f0eb71a7359244d41b2ec3ffb08488; \>= 16c610162d1f1c332209de1c91ffb09b659bb65d, \< 55e4044c1bc87e69b127790d4e73d34dddb9afdf; \>= 16c610162d1f1c332209de1c91ffb09b659bb65d, \< c4e4056b21355356f6a95bcdf03a850edd9f49e7; 0ee184e039269397780cfd03401d939620b93aa1; c42221a8de5958a7fa3f59c56b17f47cfe93bf6a; …; Linux 6.18.

### Is there a fix for CVE-2026-142872?

Yes. Fixed in Linux 2399609bc603c91752756fac1fd5548b775d9582, Linux 9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b, Linux 449c7cb63175f4e14a8559ef8759f4a987afca1c, Linux 55e4044c1bc87e69b127790d4e73d34dddb9afdf. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142872?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e08c172aa73706e385710c876f0efe211787ce63>
- other: <https://git.kernel.org/stable/c/2399609bc603c91752756fac1fd5548b775d9582>
- other: <https://git.kernel.org/stable/c/9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b>
- other: <https://git.kernel.org/stable/c/449c7cb63175f4e14a8559ef8759f4a987afca1c>
- other: <https://git.kernel.org/stable/c/e8fb61e46c860f9401f2862a15869c82444b4278>
- other: <https://git.kernel.org/stable/c/f5130be000f0eb71a7359244d41b2ec3ffb08488>
- other: <https://git.kernel.org/stable/c/55e4044c1bc87e69b127790d4e73d34dddb9afdf>
- other: <https://git.kernel.org/stable/c/c4e4056b21355356f6a95bcdf03a850edd9f49e7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142872>

HTML: <https://flawdb.com/CVE-2026-142872> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142872>
