GHSA-QRWF-M9Q2-M9X3
Vulnerability from github – Published: 2026-12-03 06:30 – Updated: 2026-12-04 06:31In 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": [],
"aliases": [
"CVE-2026-142872"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-12-03T04:18:25Z",
"severity": "HIGH"
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: count last skb of each sk_backlog pass in __release_sock()\n\nRunning 500 concurrent TCPv6 streams (neper \"tcp_stream -6 -T 1 -F 500\")\non a 2-core Cortex-A53 (CONFIG_PREEMPT_NONE=y, HZ=1000, LATENCY_WARN)\ntriggers resched_latency_warn() in __release_sock():\n\n [ 3655.311821] sched: CPU 0 need_resched set for \u003e 100006892 ns (100 ticks) without schedule\n [ 3655.311889] Call trace:\n ...\n [ 3655.311944] resched_latency_warn+0x7c/0x88\n [ 3655.311958] sched_tick+0x1c0/0x418\n ...\n [ 3655.312578] net_rx_action+0x238/0x438\n ...\n [ 3655.312641] do_softirq+0x4c/0x90\n [ 3655.312651] __local_bh_enable_ip+0x84/0x90\n [ 3655.312663] local_bh_enable+0x1c/0x28\n [ 3655.312674] __dev_queue_xmit+0x4a8/0xb00\n ...\n [ 3655.312782] tcp_v6_do_rcv+0x240/0x5f8\n [ 3655.312793] __release_sock+0x9c/0x188\n [ 3655.312806] release_sock+0x150/0x168\n [ 3655.312817] tcp_sendmsg+0x4c/0x70\n\n__release_sock() can loop past 100 ms without calling cond_resched():\n\n- Each outer-loop pass drains sk_backlog, but \"if (!skb) break;\" runs\n before \"++nb\", so a pass of B skbs only adds B - 1 to nb (0 for 1 skb).\n- With 500 TCPv6 streams and NAPI sharing two Cortex-A53 cores, runnable\n tasks keep TIF_NEED_RESCHED set on CPU 0.\n- During spin_unlock_bh() and TX softirqs (__dev_queue_xmit() -\u003e\n local_bh_enable()), tcp_add_backlog() coalesces arriving pure ACKs into\n a single tail skb.\n- Repeated 1-skb passes never advance nb or call cond_resched(),\n triggering resched_latency_warn() after 100 ticks.\n\nRestore the do-while loop and drop \"if (!skb) break;\" so every skb\nincrements nb across passes and calls cond_resched() every 16 skbs.\n\nReproduced the issue and verified the fix on two 2-core Cortex-A53 hosts\n(CONFIG_PREEMPT_NONE=y, HZ=1000, LATENCY_WARN, latency_warn_once=0) with\na userspace reproducer over /dev/net/tun:\n\n- CPU 0 runs a TCPv6 sender and a second runnable task while CPU 1 writes\n pure ACKs to /dev/net/tun (~30k TCPBacklogCoalesce/run), sustaining\n 1-skb sk_backlog refills in __release_sock() for ~400 ms (ftrace).\n- Before: CPU 0 stayed unscheduled in __release_sock(), hitting\n resched_latency_warn() 293 and 275 times on the two hosts (\u003e 100.9 ms).\n- After: cond_resched() yielded CPU 0 inside __release_sock(), with\n 0 resched_latency_warn() hits on both hosts.\n- Also observed no regression with the workload from\n commit 16c610162d1f (\"net: call cond_resched() less often in\n __release_sock()\"), \"super_netperf 4 -H srv -T,10 -l 3000 \u0026\".",
"id": "GHSA-qrwf-m9q2-m9x3",
"modified": "2026-12-04T06:31:06Z",
"published": "2026-12-03T06:30:36Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142872"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2399609bc603c91752756fac1fd5548b775d9582"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/449c7cb63175f4e14a8559ef8759f4a987afca1c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/55e4044c1bc87e69b127790d4e73d34dddb9afdf"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/9e69fe5338cf1cd7e71ad63c72ab59b7d10ead4b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c4e4056b21355356f6a95bcdf03a850edd9f49e7"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e08c172aa73706e385710c876f0efe211787ce63"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e8fb61e46c860f9401f2862a15869c82444b4278"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f5130be000f0eb71a7359244d41b2ec3ffb08488"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.