CVE-2026-139268
net/sched: act_api: reject duplicate actions in a batch
Check your servers for CVE-2026-139268
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-139268 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: act_api: reject duplicate actions in a batch
tca_action_gd() builds actions[] with one tcf_action_get_1() per nested TCA_ACT_TAB entry. Each successful lookup takes its own reference to the resolved action, so repeated TCA_ACT_INDEX entries in one request yield the same pointer in multiple slots.
For RTM_DELACTION, tcf_action_delete() then consumes two references per slot: one in tcf_action_put() and one in tcf_idr_delete_index(). A duplicate therefore drives the refcount to zero mid-walk -- the delete frees the action and removes its IDR slot -- and the next slot calls tcf_action_put() on the freed action:
refcount_t: underflow; use-after-free. WARNING: lib/refcount.c:87 at refcount_dec_not_one refcount_dec_and_mutex_lock __tcf_action_put tca_action_gd
Three duplicate entries are enough. Reject a repeated action while a delete batch is built, dropping the reference the extra lookup took, and return -EINVAL. RTM_GETACTION balances its own references and keeps accepting duplicate entries.
Conditions to recreate the bug: tc actions add action gact index 100 tc actions delete action gact index 100 action gact index 100 \ action gact index 100
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 16af6067392c40e454e49eec834843ab03643d96, before d4229acd7c22f6af52db2a32f8e3f47b4376f68c affected from 16af6067392c40e454e49eec834843ab03643d96, before ecdf29d27ba4748dcae391c4db4f78cde4c8e341 affected from 16af6067392c40e454e49eec834843ab03643d96, before 2e60fc3160988f22a91284d0c06c2a98034d50bf affected from 16af6067392c40e454e49eec834843ab03643d96, before 713558512bd62c262c8bfb410e9f7232b2e7efc3 affected from 16af6067392c40e454e49eec834843ab03643d96, before 4ba345f48749f1994a66a4e74a5f6e27a261c928 affected from 16af6067392c40e454e49eec834843ab03643d96, before 729549dcf46800fd8a1810fb0021bdc46e3e7554 affected from 16af6067392c40e454e49eec834843ab03643d96, before d6c2174294977869c8e8534a21d5667befd59cd8 affected from 16af6067392c40e454e49eec834843ab03643d96, before f67b3ed1308d7a282e2d6202d61af052ab0da39e
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 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-139268 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139268
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-139268
trivy image --scanners vuln IMAGE | grep CVE-2026-139268
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/d4229acd7c22f6af52db2a32f8e3f47b4376f68c git.kernel.org
- https://git.kernel.org/stable/c/ecdf29d27ba4748dcae391c4db4f78cde4c8e341 git.kernel.org
- https://git.kernel.org/stable/c/2e60fc3160988f22a91284d0c06c2a98034d50bf git.kernel.org
- https://git.kernel.org/stable/c/713558512bd62c262c8bfb410e9f7232b2e7efc3 git.kernel.org
- https://git.kernel.org/stable/c/4ba345f48749f1994a66a4e74a5f6e27a261c928 git.kernel.org
- https://git.kernel.org/stable/c/729549dcf46800fd8a1810fb0021bdc46e3e7554 git.kernel.org
- https://git.kernel.org/stable/c/d6c2174294977869c8e8534a21d5667befd59cd8 git.kernel.org
- https://git.kernel.org/stable/c/f67b3ed1308d7a282e2d6202d61af052ab0da39e git.kernel.org
Source: the record CVE-2026-139268 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse