StraitOfVuln
Latest / CVE-2026-139268

CVE-2026-139268

Not yet scoredReceived
CVE.org ↗NVD ↗

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

Details

CVE ID
CVE-2026-139268
Published / updated
30 Nov 2026, 14:18 UTC · last modified 30 Nov 2026, 14:18 UTC
Severity
Not yet scored by NVD
CVSS score
—
Affected vendor
Linux
Affected products
Linux
Affected versions
Linux: 16af6067392c40e454e49eec834843ab03643d96 to before d4229acd7c22f6af52db2a32f8e3f47b4376f68c, 16af6067392c40e454e49eec834843ab03643d96 to before ecdf29d27ba4748dcae391c4db4f78cde4c8e341, 16af6067392c40e454e49eec834843ab03643d96 to before 2e60fc3160988f22a91284d0c06c2a98034d50bf, 16af6067392c40e454e49eec834843ab03643d96 to before 713558512bd62c262c8bfb410e9f7232b2e7efc3, 16af6067392c40e454e49eec834843ab03643d96 to before 4ba345f48749f1994a66a4e74a5f6e27a261c928, 16af6067392c40e454e49eec834843ab03643d96 to before 729549dcf46800fd8a1810fb0021bdc46e3e7554, 16af6067392c40e454e49eec834843ab03643d96 to before d6c2174294977869c8e8534a21d5667befd59cd8, 16af6067392c40e454e49eec834843ab03643d96 to before f67b3ed1308d7a282e2d6202d61af052ab0da39e
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Linux d4229acd7c22f6af52db2a32f8e3f47b4376f68c, Linux ecdf29d27ba4748dcae391c4db4f78cde4c8e341, Linux 2e60fc3160988f22a91284d0c06c2a98034d50bf, Linux 713558512bd62c262c8bfb410e9f7232b2e7efc3, Linux 4ba345f48749f1994a66a4e74a5f6e27a261c928, Linux 729549dcf46800fd8a1810fb0021bdc46e3e7554, Linux d6c2174294977869c8e8534a21d5667befd59cd8, Linux f67b3ed1308d7a282e2d6202d61af052ab0da39e
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.22% probability of exploitation in the next 30 days · 13% percentile (03 Dec 2026)
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
416baaa9-dc9f-4396-8d5f-8c081fb06d67