CVE-2026-97616

net/sched: act_api: release all action references on NEWACTION failure

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 30, 2026
Reserved
Sep 24, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

net/sched: act_api: release all action references on NEWACTION failure

When a batched RTM_NEWACTION request replaces an existing action, tcf_idr_check_alloc() takes a temporary reference on it. If a later action fails to initialize, tcf_action_destroy() uses strict release semantics to clean up the actions initialized so far. For an action bound to a filter, the strict check returns -EPERM without dropping the temporary reference.

This error also makes tcf_action_destroy() return before releasing subsequent entries. Any new action initialized between the bound action and the failing entry is leaked together with its reserved IDR slot, preventing reuse of its index.

Use tcf_idr_release() to drop each reference held by the batch without rejecting bound actions. This allows cleanup to continue through all initialized entries and preserves the module reference release when an action is destroyed. Explicit action deletion and flushing retain their separate bind-count checks.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 55334a5db5cd32b207ac697cec3ec8e078f345d4 to before b7133be1faa35b38f68d78a9f950f1dddf3eb8e5Affected
  • 55334a5db5cd32b207ac697cec3ec8e078f345d4 to before b83a51a83e85411c050c7b16cdc43b331c6565beAffected
  • 55334a5db5cd32b207ac697cec3ec8e078f345d4 to before e469765708b1afa9b9565dbafca09e22ec4edfa7Affected
  • 55334a5db5cd32b207ac697cec3ec8e078f345d4 to before 1b5730a1c7def8993b3feba764008d1ff5c9dceaAffected
  • 55334a5db5cd32b207ac697cec3ec8e078f345d4 to before f908c8a969946a45225fd7f9d9a85771e12ae0a8Affected
  • 55334a5db5cd32b207ac697cec3ec8e078f345d4 to before 64b36eaef6ea5ada9aea4c2cf87099aaa8a4869bAffected
  • 55334a5db5cd32b207ac697cec3ec8e078f345d4 to before 048617743febf6530111cfb594e9bbbd7918bf67Affected
  • 55334a5db5cd32b207ac697cec3ec8e078f345d4 to before 478eb5abb51931a152abab068f8a717b7ff480fdAffected
LinuxLinux
  • 3.15Affected
  • before 3.15Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.