{"api_version":"1","generated_at":"2026-11-30T17:25:43+00:00","cve":"CVE-2026-139268","urls":{"html":"https://cve.report/CVE-2026-139268","api":"https://cve.report/api/cve/CVE-2026-139268.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139268","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139268"},"summary":{"title":"net/sched: act_api: reject duplicate actions in a batch","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_api: reject duplicate actions in a batch\n\ntca_action_gd() builds actions[] with one tcf_action_get_1() per nested\nTCA_ACT_TAB entry.  Each successful lookup takes its own reference to the\nresolved action, so repeated TCA_ACT_INDEX entries in one request yield\nthe same pointer in multiple slots.\n\nFor RTM_DELACTION, tcf_action_delete() then consumes two references per\nslot: one in tcf_action_put() and one in tcf_idr_delete_index().  A\nduplicate therefore drives the refcount to zero mid-walk -- the delete\nfrees the action and removes its IDR slot -- and the next slot calls\ntcf_action_put() on the freed action:\n\n  refcount_t: underflow; use-after-free.\n  WARNING: lib/refcount.c:87 at refcount_dec_not_one\n   refcount_dec_and_mutex_lock\n   __tcf_action_put\n   tca_action_gd\n\nThree duplicate entries are enough.  Reject a repeated action while a\ndelete batch is built, dropping the reference the extra lookup took, and\nreturn -EINVAL.  RTM_GETACTION balances its own references and keeps\naccepting duplicate entries.\n\nConditions to recreate the bug:\n  tc actions add action gact index 100\n  tc actions delete action gact index 100 action gact index 100 \\\n                     action gact index 100","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:49","updated_at":"2026-11-30 14:18:49"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ecdf29d27ba4748dcae391c4db4f78cde4c8e341","name":"https://git.kernel.org/stable/c/ecdf29d27ba4748dcae391c4db4f78cde4c8e341","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/713558512bd62c262c8bfb410e9f7232b2e7efc3","name":"https://git.kernel.org/stable/c/713558512bd62c262c8bfb410e9f7232b2e7efc3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f67b3ed1308d7a282e2d6202d61af052ab0da39e","name":"https://git.kernel.org/stable/c/f67b3ed1308d7a282e2d6202d61af052ab0da39e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d6c2174294977869c8e8534a21d5667befd59cd8","name":"https://git.kernel.org/stable/c/d6c2174294977869c8e8534a21d5667befd59cd8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2e60fc3160988f22a91284d0c06c2a98034d50bf","name":"https://git.kernel.org/stable/c/2e60fc3160988f22a91284d0c06c2a98034d50bf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/729549dcf46800fd8a1810fb0021bdc46e3e7554","name":"https://git.kernel.org/stable/c/729549dcf46800fd8a1810fb0021bdc46e3e7554","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4ba345f48749f1994a66a4e74a5f6e27a261c928","name":"https://git.kernel.org/stable/c/4ba345f48749f1994a66a4e74a5f6e27a261c928","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d4229acd7c22f6af52db2a32f8e3f47b4376f68c","name":"https://git.kernel.org/stable/c/d4229acd7c22f6af52db2a32f8e3f47b4376f68c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139268","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139268","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 16af6067392c40e454e49eec834843ab03643d96 d4229acd7c22f6af52db2a32f8e3f47b4376f68c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 16af6067392c40e454e49eec834843ab03643d96 ecdf29d27ba4748dcae391c4db4f78cde4c8e341 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 16af6067392c40e454e49eec834843ab03643d96 2e60fc3160988f22a91284d0c06c2a98034d50bf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 16af6067392c40e454e49eec834843ab03643d96 713558512bd62c262c8bfb410e9f7232b2e7efc3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 16af6067392c40e454e49eec834843ab03643d96 4ba345f48749f1994a66a4e74a5f6e27a261c928 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 16af6067392c40e454e49eec834843ab03643d96 729549dcf46800fd8a1810fb0021bdc46e3e7554 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 16af6067392c40e454e49eec834843ab03643d96 d6c2174294977869c8e8534a21d5667befd59cd8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 16af6067392c40e454e49eec834843ab03643d96 f67b3ed1308d7a282e2d6202d61af052ab0da39e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/sched/act_api.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d4229acd7c22f6af52db2a32f8e3f47b4376f68c","status":"affected","version":"16af6067392c40e454e49eec834843ab03643d96","versionType":"git"},{"lessThan":"ecdf29d27ba4748dcae391c4db4f78cde4c8e341","status":"affected","version":"16af6067392c40e454e49eec834843ab03643d96","versionType":"git"},{"lessThan":"2e60fc3160988f22a91284d0c06c2a98034d50bf","status":"affected","version":"16af6067392c40e454e49eec834843ab03643d96","versionType":"git"},{"lessThan":"713558512bd62c262c8bfb410e9f7232b2e7efc3","status":"affected","version":"16af6067392c40e454e49eec834843ab03643d96","versionType":"git"},{"lessThan":"4ba345f48749f1994a66a4e74a5f6e27a261c928","status":"affected","version":"16af6067392c40e454e49eec834843ab03643d96","versionType":"git"},{"lessThan":"729549dcf46800fd8a1810fb0021bdc46e3e7554","status":"affected","version":"16af6067392c40e454e49eec834843ab03643d96","versionType":"git"},{"lessThan":"d6c2174294977869c8e8534a21d5667befd59cd8","status":"affected","version":"16af6067392c40e454e49eec834843ab03643d96","versionType":"git"},{"lessThan":"f67b3ed1308d7a282e2d6202d61af052ab0da39e","status":"affected","version":"16af6067392c40e454e49eec834843ab03643d96","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/sched/act_api.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.19"},{"lessThan":"4.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_api: reject duplicate actions in a batch\n\ntca_action_gd() builds actions[] with one tcf_action_get_1() per nested\nTCA_ACT_TAB entry.  Each successful lookup takes its own reference to the\nresolved action, so repeated TCA_ACT_INDEX entries in one request yield\nthe same pointer in multiple slots.\n\nFor RTM_DELACTION, tcf_action_delete() then consumes two references per\nslot: one in tcf_action_put() and one in tcf_idr_delete_index().  A\nduplicate therefore drives the refcount to zero mid-walk -- the delete\nfrees the action and removes its IDR slot -- and the next slot calls\ntcf_action_put() on the freed action:\n\n  refcount_t: underflow; use-after-free.\n  WARNING: lib/refcount.c:87 at refcount_dec_not_one\n   refcount_dec_and_mutex_lock\n   __tcf_action_put\n   tca_action_gd\n\nThree duplicate entries are enough.  Reject a repeated action while a\ndelete batch is built, dropping the reference the extra lookup took, and\nreturn -EINVAL.  RTM_GETACTION balances its own references and keeps\naccepting duplicate entries.\n\nConditions to recreate the bug:\n  tc actions add action gact index 100\n  tc actions delete action gact index 100 action gact index 100 \\\n                     action gact index 100"}],"providerMetadata":{"dateUpdated":"2026-11-30T13:33:10.545Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d4229acd7c22f6af52db2a32f8e3f47b4376f68c"},{"url":"https://git.kernel.org/stable/c/ecdf29d27ba4748dcae391c4db4f78cde4c8e341"},{"url":"https://git.kernel.org/stable/c/2e60fc3160988f22a91284d0c06c2a98034d50bf"},{"url":"https://git.kernel.org/stable/c/713558512bd62c262c8bfb410e9f7232b2e7efc3"},{"url":"https://git.kernel.org/stable/c/4ba345f48749f1994a66a4e74a5f6e27a261c928"},{"url":"https://git.kernel.org/stable/c/729549dcf46800fd8a1810fb0021bdc46e3e7554"},{"url":"https://git.kernel.org/stable/c/d6c2174294977869c8e8534a21d5667befd59cd8"},{"url":"https://git.kernel.org/stable/c/f67b3ed1308d7a282e2d6202d61af052ab0da39e"}],"title":"net/sched: act_api: reject duplicate actions in a batch","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139268","datePublished":"2026-11-30T13:33:10.545Z","dateReserved":"2026-11-30T13:22:15.923Z","dateUpdated":"2026-11-30T13:33:10.545Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:49","lastModifiedDate":"2026-11-30 14:18:49","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139268","Ordinal":"1","Title":"net/sched: act_api: reject duplicate actions in a batch","CVE":"CVE-2026-139268","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139268","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_api: reject duplicate actions in a batch\n\ntca_action_gd() builds actions[] with one tcf_action_get_1() per nested\nTCA_ACT_TAB entry.  Each successful lookup takes its own reference to the\nresolved action, so repeated TCA_ACT_INDEX entries in one request yield\nthe same pointer in multiple slots.\n\nFor RTM_DELACTION, tcf_action_delete() then consumes two references per\nslot: one in tcf_action_put() and one in tcf_idr_delete_index().  A\nduplicate therefore drives the refcount to zero mid-walk -- the delete\nfrees the action and removes its IDR slot -- and the next slot calls\ntcf_action_put() on the freed action:\n\n  refcount_t: underflow; use-after-free.\n  WARNING: lib/refcount.c:87 at refcount_dec_not_one\n   refcount_dec_and_mutex_lock\n   __tcf_action_put\n   tca_action_gd\n\nThree duplicate entries are enough.  Reject a repeated action while a\ndelete batch is built, dropping the reference the extra lookup took, and\nreturn -EINVAL.  RTM_GETACTION balances its own references and keeps\naccepting duplicate entries.\n\nConditions to recreate the bug:\n  tc actions add action gact index 100\n  tc actions delete action gact index 100 action gact index 100 \\\n                     action gact index 100","Type":"Description","Title":"net/sched: act_api: reject duplicate actions in a batch"}]}}}