Linux
net/sched: serialize qdisc_rtab_list against concurrent get/put
In the Linux kernel, the following vulnerability has been resolved: net/sched: serialize qdisc_rtab_list against concurrent get/put qdisc_get_rtab() and qdisc_put_rtab() mutate the process-global singly linked list qdisc_rtab_list and a plain non-atomic 'int refcnt' with no lock. This was only safe because every caller historically held the RTNL mutex, which serialized all rate-table lookups, inserts and frees. That invariant no longer holds. cls_flower sets TCF_PROTO_OPS_DOIT_UNLOCKED, so tc_new_tfilter() keeps rtnl_held == false for it and sets TCA_ACT_FLAGS_NO_RTNL. That flag propagates through tcf_exts_validate_ex() -> tcf_action_init() -> tcf_action_init_1() -> tcf_police_init(), which calls qdisc_get_rtab()/qdisc_put_rtab() with the RTNL mutex NOT held. Two RTM_NEWTFILTER requests on different CPUs, each adding a flower filter with a police action carrying the same rate, then race on qdisc_rtab_list and on the non-atomic refcnt, leading to a use-after-free / double-free of the kmalloc-2k struct qdisc_rate_table. qdisc_rtab_list is a single global (not per-netns), so the corrupted object is shared system-wide. BUG: KASAN: slab-use-after-free in qdisc_put_rtab+0x12f/0x160 qdisc_put_rtab+0x12f/0x160 tcf_police_init+0xda9/0x1590 tcf_action_init_1+0x460/0x6b0 tcf_action_init+0x439/0xa40 tcf_exts_validate_ex+0x42d/0x550 fl_change+0xddd/0x7da0 tc_new_tfilter+0xaa7/0x2420 rtnetlink_rcv_msg+0x95e/0xe90 which belongs to the cache kmalloc-2k of size 2048 Protect qdisc_rtab_list and the refcount with a dedicated spinlock. The (sleeping, GFP_KERNEL) allocation in qdisc_get_rtab() is performed before taking the lock; if a concurrent inserter added an identical table in the meantime the freshly allocated one is freed under the lock, so no duplicate is leaked. qdisc_put_rtab() now decrements the refcount and unlinks under the same lock.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < 1b050d09dd1a0ddae83bf012cf4956b7a960235f
- >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < 6e0241f6cbb149d926ee8efee2c734fea71452cf
- >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < f93c89392bd3b180b5b7abc6fdae8e3dd667a313
- >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < 4131dd0b6f67acddd616ed7c244e1d3eedd46e7b
- >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < d981098b76756ed71666a27518eeb69883657c43
- >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < 8ddc2eb0d2da9c83f54f1e5720525b461b8480c4
- >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < fb29e1b41052488ee3f2d115d4a870497ebd7f7d
- >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < f43ee0c0730d6191629b5ee1ceae27b1ebfdc047
Fixed in 1b050d09dd1a0ddae83bf012cf4956b7a960235f, 6e0241f6cbb149d926ee8efee2c734fea71452cf, f93c89392bd3b180b5b7abc6fdae8e3dd667a313, 4131dd0b6f67acddd616ed7c244e1d3eedd46e7b, d981098b76756ed71666a27518eeb69883657c43, 8ddc2eb0d2da9c83f54f1e5720525b461b8480c4, fb29e1b41052488ee3f2d115d4a870497ebd7f7d, f43ee0c0730d6191629b5ee1ceae27b1ebfdc047
- 5.1
Fixed in 0, 5.10.266, 5.15.217, 6.1.184, 6.6.153, 6.12.105, 6.18.46, 7.1.6, 7.2
Mitigation
Upgrade Linux to 1b050d09dd1a0ddae83bf012cf4956b7a960235f or 6e0241f6cbb149d926ee8efee2c734fea71452cf or f93c89392bd3b180b5b7abc6fdae8e3dd667a313 or 4131dd0b6f67acddd616ed7c244e1d3eedd46e7b or d981098b76756ed71666a27518eeb69883657c43 or 8ddc2eb0d2da9c83f54f1e5720525b461b8480c4 or fb29e1b41052488ee3f2d115d4a870497ebd7f7d or f43ee0c0730d6191629b5ee1ceae27b1ebfdc047 or later.
Upgrade Linux to 0 or 5.10.266 or 5.15.217 or 6.1.184 or 6.6.153 or 6.12.105 or 6.18.46 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationFirst public PoC 1.4 days after publication; not in CISA KEV. First PoC: aramosf/CVE-2026-68138 (created 11 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 1 informational
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| aramosf/CVE-2026-68138 | 11 Aug 2026 +1.4 d | 34 | PoC |
| suominen/CVE-2026-68138 | 17 Aug 2026 +6.8 d | 0 | PoC |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| jangkrikkbozz/CVE-2026-68138 | 17 Aug 2026 +6.8 d | 0 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /
- Query
delimiter=/prefix=marker=- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2026-68138
- Evidence
- suominen/CVE-2026-68138/CLAUDE.md:733 suominen/CVE-2026-68138/scripts/nixos-first-shipped:108 suominen/CVE-2026-68138/scripts/nixos-first-shipped:174
GET /data/csaf/v2/vex/2026/cve-2026-68138.json
- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2026-68138
- Evidence
- suominen/CVE-2026-68138/CLAUDE.md:812
GET /dev/null
- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2026-68138
- Evidence
- suominen/CVE-2026-68138/scripts/nixos-first-shipped:206
GET /madison
- Query
package=linuxs=sid,forky,trixie,bookwormtext=on- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2026-68138
- Evidence
- suominen/CVE-2026-68138/CLAUDE.md:1001 suominen/CVE-2026-68138/scripts/auto-update-prompt.txt:178
GET /mr/package/linux/{var}/srcfiles
- Query
fileinfo=1- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2026-68138
- Evidence
- suominen/CVE-2026-68138/CLAUDE.md:1008
GET /tracker/data/json
- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2026-68138
- Evidence
- suominen/CVE-2026-68138/CLAUDE.md:991 suominen/CVE-2026-68138/scripts/auto-update-prompt.txt:174
GET /{var}/git-revision)
- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2026-68138
- Evidence
- suominen/CVE-2026-68138/CLAUDE.md:680
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\?(?:.*&)?delimiter=/.*prefix=.*marker=
(?i)^/data/csaf/v2/vex/2026/cve-2026-68138\.json(?:[?#].*)?$
(?i)^/dev/null(?:[?#].*)?$
(?i)^/madison\?(?:.*&)?package=linux.*s=sid,forky,trixie,bookworm.*text=on
(?i)^/mr/package/linux/[^/?#]*/srcfiles\?(?:.*&)?fileinfo=1
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2026-68138 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"delimiter=/"; http.uri; content:"prefix="; http.uri; content:"marker="; reference:url,poc.griffinguard.io/cve/CVE-2026-68138; classtype:web-application-attack; sid:9017754; rev:1;)
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2026-68138 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/data/csaf/v2/vex/2026/cve-2026-68138.json"; reference:url,poc.griffinguard.io/cve/CVE-2026-68138; classtype:web-application-attack; sid:9631907; rev:1;)
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2026-68138 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dev/null"; reference:url,poc.griffinguard.io/cve/CVE-2026-68138; classtype:web-application-attack; sid:9626267; rev:1;)
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2026-68138 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/madison"; http.uri; content:"package=linux"; http.uri; content:"s=sid,forky,trixie,bookworm"; http.uri; content:"text=on"; reference:url,poc.griffinguard.io/cve/CVE-2026-68138; classtype:web-application-attack; sid:9365449; rev:1;)
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2026-68138 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/mr/package/linux/"; http.uri; content:"/srcfiles"; http.uri; content:"fileinfo=1"; reference:url,poc.griffinguard.io/cve/CVE-2026-68138; classtype:web-application-attack; sid:9073767; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Linux Linux exploit attempt (CVE-2026-68138)
id: gg-pocmon-cve-2026-68138-9017754
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-68138. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-68138
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-query|contains|all:
- 'delimiter=/'
- 'prefix='
- 'marker='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.68138
title: Linux Linux exploit attempt (CVE-2026-68138)
id: gg-pocmon-cve-2026-68138-9631907
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-68138. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-68138
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/data/csaf/v2/vex/2026/cve-2026-68138.json'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.68138
title: Linux Linux exploit attempt (CVE-2026-68138)
id: gg-pocmon-cve-2026-68138-9626267
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-68138. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-68138
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/dev/null'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.68138
title: Linux Linux exploit attempt (CVE-2026-68138)
id: gg-pocmon-cve-2026-68138-9365449
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-68138. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-68138
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/madison'
cs-uri-query|contains|all:
- 'package=linux'
- 's=sid,forky,trixie,bookworm'
- 'text=on'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.68138
title: Linux Linux exploit attempt (CVE-2026-68138)
id: gg-pocmon-cve-2026-68138-9073767
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-68138. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-68138
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/mr/package/linux/'
- '/srcfiles'
cs-uri-query|contains|all:
- 'fileinfo=1'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.68138