CVE-2026-139268
publishednet/sched: act_api: reject duplicate actions in a batch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux16af6067392c40e454e49eec834843ab03643d96 to < d4229acd7c22f6af52db2a32f8e3f47b4376f68c · 16af6067392c40e454e49eec834843ab03643d96 to < ecdf29d27ba4748dcae391c4db4f78cde4c8e341 · 16af6067392c40e454e49eec834843ab03643d96 to < 2e60fc3160988f22a91284d0c06c2a98034d50bf · 16af6067392c40e454e49eec834843ab03643d96 to < 713558512bd62c262c8bfb410e9f7232b2e7efc3 · 16af6067392c40e454e49eec834843ab03643d96 to < 4ba345f48749f1994a66a4e74a5f6e27a261c928 · 16af6067392c40e454e49eec834843ab03643d96 to < 729549dcf46800fd8a1810fb0021bdc46e3e7554 · 16af6067392c40e454e49eec834843ab03643d96 to < d6c2174294977869c8e8534a21d5667befd59cd8 · 16af6067392c40e454e49eec834843ab03643d96 to < f67b3ed1308d7a282e2d6202d61af052ab0da39e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.19 (affected) · 0 to < 4.19 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 16af6067392c40e454e49eec834843ab03643d96 to < d4229acd7c22f6af52db2a32f8e3f47b4376f68c (affected · git)16af6067392c40e454e49eec834843ab03643d96 to < ecdf29d27ba4748dcae391c4db4f78cde4c8e341 (affected · git)16af6067392c40e454e49eec834843ab03643d96 to < 2e60fc3160988f22a91284d0c06c2a98034d50bf (affected · git)16af6067392c40e454e49eec834843ab03643d96 to < 713558512bd62c262c8bfb410e9f7232b2e7efc3 (affected · git)16af6067392c40e454e49eec834843ab03643d96 to < 4ba345f48749f1994a66a4e74a5f6e27a261c928 (affected · git)16af6067392c40e454e49eec834843ab03643d96 to < 729549dcf46800fd8a1810fb0021bdc46e3e7554 (affected · git)16af6067392c40e454e49eec834843ab03643d96 to < d6c2174294977869c8e8534a21d5667befd59cd8 (affected · git)16af6067392c40e454e49eec834843ab03643d96 to < f67b3ed1308d7a282e2d6202d61af052ab0da39e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.19 (affected)0 to < 4.19 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/2e60fc3160988f22a91284d0c06c2a98034d50bf
- https://git.kernel.org/stable/c/4ba345f48749f1994a66a4e74a5f6e27a261c928
- https://git.kernel.org/stable/c/713558512bd62c262c8bfb410e9f7232b2e7efc3
- https://git.kernel.org/stable/c/729549dcf46800fd8a1810fb0021bdc46e3e7554
- https://git.kernel.org/stable/c/d4229acd7c22f6af52db2a32f8e3f47b4376f68c
- https://git.kernel.org/stable/c/d6c2174294977869c8e8534a21d5667befd59cd8
- https://git.kernel.org/stable/c/ecdf29d27ba4748dcae391c4db4f78cde4c8e341
- https://git.kernel.org/stable/c/f67b3ed1308d7a282e2d6202d61af052ab0da39e
Provider assertions
1Linux · cna
net/sched: act_api: reject duplicate actions in a batch
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa5fe14b099f2f9dfb90be25b310f442dbe664080570845005318b7ec8515664
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record