CVE-2026-68138
net/sched: serialize qdisc_rtab_list against concurrent get/put
Check your servers for CVE-2026-68138
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-68138 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 470502de5bdb1ed0def643a4458593a40b8f6b66, before 1b050d09dd1a0ddae83bf012cf4956b7a960235f affected from 470502de5bdb1ed0def643a4458593a40b8f6b66, before 6e0241f6cbb149d926ee8efee2c734fea71452cf affected from 470502de5bdb1ed0def643a4458593a40b8f6b66, before f93c89392bd3b180b5b7abc6fdae8e3dd667a313 affected from 470502de5bdb1ed0def643a4458593a40b8f6b66, before 4131dd0b6f67acddd616ed7c244e1d3eedd46e7b affected from 470502de5bdb1ed0def643a4458593a40b8f6b66, before d981098b76756ed71666a27518eeb69883657c43 affected from 470502de5bdb1ed0def643a4458593a40b8f6b66, before 8ddc2eb0d2da9c83f54f1e5720525b461b8480c4 affected from 470502de5bdb1ed0def643a4458593a40b8f6b66, before fb29e1b41052488ee3f2d115d4a870497ebd7f7d affected from 470502de5bdb1ed0def643a4458593a40b8f6b66, before f43ee0c0730d6191629b5ee1ceae27b1ebfdc047
Other versions: unaffected
|
| Linux |
affected 5.1 unaffected before 5.1 unaffected from 5.10.266 up to and including 5.10.* unaffected from 5.15.217 up to and including 5.15.* unaffected from 6.1.184 up to and including 6.1.* unaffected from 6.6.153 up to and including 6.6.* unaffected from 6.12.105 up to and including 6.12.* unaffected from 6.18.46 up to and including 6.18.* unaffected from 7.1.6 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-68138 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-68138
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-68138
trivy image --scanners vuln IMAGE | grep CVE-2026-68138
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1b050d09dd1a0ddae83bf012cf4956b7a960235f git.kernel.org
- https://git.kernel.org/stable/c/6e0241f6cbb149d926ee8efee2c734fea71452cf git.kernel.org
- https://git.kernel.org/stable/c/f93c89392bd3b180b5b7abc6fdae8e3dd667a313 git.kernel.org
- https://git.kernel.org/stable/c/4131dd0b6f67acddd616ed7c244e1d3eedd46e7b git.kernel.org
- https://git.kernel.org/stable/c/d981098b76756ed71666a27518eeb69883657c43 git.kernel.org
- https://git.kernel.org/stable/c/8ddc2eb0d2da9c83f54f1e5720525b461b8480c4 git.kernel.org
- https://git.kernel.org/stable/c/fb29e1b41052488ee3f2d115d4a870497ebd7f7d git.kernel.org
- https://git.kernel.org/stable/c/f43ee0c0730d6191629b5ee1ceae27b1ebfdc047 git.kernel.org
Source: the record CVE-2026-68138 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse