CVE Professor
/
All CVEs
CVE-2026-139268

CVE-2026-139268 — Linux Kernel — NONE Vulnerability

NONE CVSS 0 ⚡ EPSS 0.2% NVD

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

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

EPSS — Exploit Prediction Scoring System
0.2%
30-day probability
In the 13. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Technical flaw

The Linux kernel’s traffic‑control (tc) subsystem contains a bug in the action API (net/sched/act_api.c).
When a batch delete request (RTM_DELACTION) is processed, the kernel builds an array of action pointers (actions[]) by calling tcf_action_get_1() for every nested TCA_ACT_TAB entry.
If the same action index (TCA_ACT_INDEX) appears more than once in the same batch, tcf_action_get_1() returns the same action pointer for each duplicate entry.

During the delete walk, each slot consumes two references:

1. tcf_action_put() – releases one reference.
2. tcf_idr_delete_index() – releases the second reference.

Because the same action is referenced twice, the second reference is released twice (once per duplicate slot).
The reference count therefore under‑flows to zero mid‑walk, freeing the action and removing its IDR slot.
The next slot then calls tcf_action_put() on the already‑freed action, causing a refcount underflow → use‑after‑free in kernel space.

CWE – CWE‑476: Null Pointer Dereference (in practice a use‑after‑free).
CVSS – 0/10 (NONE) because the flaw requires root privileges to trigger and does not provide a remote code‑execution path.


⚡ Attack Chain

Note: The following chain is a local attack that requires root access.
It demonstrates how the bug can be triggered and the resulting denial‑of‑service (DoS) effect.
StepActionDetails
1. Discovery & ReconnaissanceIdentify kernel versionuname -r → e.g., 4.19.0-18-amd64. If the kernel is 4.19 or the commit hash d4229acd7c22f6af52db2a32f8e3f47b4376f68c (the vulnerable build), the system is vulnerable.
2. ExploitationTrigger the UAF via tc1. Create a dummy action:<br>tc actions add action gact index 100<br>2. Delete the same action three times in one batch:<br>tc actions delete action gact index 100 action gact index 100 action gact index 100
3. Post‑exploitationObserve kernel crash / panicThe kernel emits:<br>WARNING: lib/refcount.c:87 at refcount_dec_not_one<br>refcount_t: underflow; use-after-free.<br>Depending on the system configuration, this may trigger a kernel panic or a silent crash, leading to a Denial‑of‑Service (system reboot or halt). No privilege escalation or remote code execution is achieved.

PoC (illustrative)

# 1. Verify vulnerability
$ uname -r
4.19.0-18-amd64

# 2. Create a dummy action
$ sudo tc actions add action gact index 100

# 3. Trigger the bug
$ sudo tc actions delete action gact index 100 action gact index 100 action gact index 100
Result: The kernel logs the warning above and may reboot or halt.
This demonstrates the DoS impact but not a remote exploit.

🌍 Real World Impact

ImpactAssessment
ConfidentialityNone – the bug does not leak data.
IntegrityNone – no data corruption.
AvailabilityDenial‑of‑Service (kernel crash or reboot) for the local system.
ExploitabilityRequires root or a user with CAP_NET_ADMIN to run tc.
Practical ConsequencesIn a production environment, a privileged attacker could bring the host down by repeatedly deleting the same action, potentially disrupting critical services.

🛡️ Remediation & Mitigation

Affected Versions

  • Linux kernel 4.19 (including the specific commit d4229acd7c22f6af52db2a32f8e3f47b4376f68c)
  • Any kernel that contains the unpatched net/sched/act_api.c (up to the patch release)
  • Patch

  • Upgrade to a kernel that includes the fix. The patch was merged into the mainline kernel in commit 5.10.0 (and backported to later stable releases).
  • Recommended target: Linux kernel ≥ 5.10 or the latest stable release from your distribution.

Workarounds

1. Avoid duplicate actions in a single delete batch – use one tc actions delete per action index. 2. Disable the tc action API if it is not required:
# Example: blacklist the module (if compiled as a module)
   echo "blacklist tc" | sudo tee /etc/modprobe.d/blacklist-tc.conf

3. Restrict tc usage to trusted users only (e.g., via sudoers or ACLs).
4. Monitor kernel logs for the specific warning pattern.

Detection / Indicators of Compromise (IoCs)

SourceIndicator
Kernel logs (/var/log/kern.log, dmesg)WARNING: lib/refcount.c:87 at refcount_dec_not_one
System behaviorUnexpected kernel panic or reboot after tc actions delete
Audit logsRepeated tc actions delete commands from the same user

⚠️ Urgency

MetricValue
CVSS0/10 (NONE)
CISA KEVNo
Exploit ComplexityHigh (requires root / CAP_NET_ADMIN)
ImpactLocal DoS only

Patching priority: Low for remote attackers; High for environments where privileged users can run tc commands (e.g., container hosts, network appliances).
If the system is exposed to untrusted users who could gain root (e.g., via another vulnerability), the risk escalates and a patch should be applied promptly.


Summary

CVE‑2026‑139268 is a local use‑after‑free in the Linux kernel’s traffic‑control action API that can be triggered by a privileged user running tc with duplicate action indices in a delete batch. The flaw leads to a kernel crash and a local denial‑of‑service but does not provide remote code execution or privilege escalation. The fix is available in kernel 5.10 and later; upgrading or applying the workaround is strongly recommended for any system that uses tc or runs a vulnerable kernel.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Linux Linux"
CVSS Score
0 / 10 · CVSS NONE
Affected Products (2)
Linux Kernel (commit: d4229acd7c) Linux Kernel (4.19)
Related CVEs
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L
8.8
CVE-2026-105101
An OS command injection vulnerability in the ping diagnostic function (InternetState.java) in Elinktek UZ801 4
8.8
CVE-2026-118966
A missing authentication vulnerability in the SSH server of Nokia SR Linux allows an unauthenticated attacker
8.7
CVE-2026-145182
Mullvad gotatun 0.1.0 before 0.10.1 contains a denial of service vulnerability that allows unauthenticated rem
0.0
CVE-2026-132063
The 2C2P Redirect API for WooCommerce WordPress plugin through 7.0.3 does not stop processing a payment callba
0.0
CVE-2026-140849
Multiple malformed-packet handling vulnerabilities exist in a number of Nokia SR OS control-plane protocols (B
0.0
CVE-2026-141072
Rejected reason: Not a valid vulnerability.