net/sched: act_api: release all action references on NEWACTION failure
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.
CVE-2026-97616
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-97616
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "55334a5db5cd32b207ac697cec3ec8e078f345d4",
"lessThan": "1b5730a1c7def8993b3feba764008d1ff5c9dcea",
"versionType": "git"
},
{
"status": "affected",
"version": "55334a5db5cd32b207ac697cec3ec8e078f345d4",
"lessThan": "f908c8a969946a45225fd7f9d9a85771e12ae0a8",
"versionType": "git"
},
{
"status": "affected",
"version": "55334a5db5cd32b207ac697cec3ec8e078f345d4",
"lessThan": "64b36eaef6ea5ada9aea4c2cf87099aaa8a4869b",
"versionType": "git"
},
{
"status": "affected",
"version": "55334a5db5cd32b207ac697cec3ec8e078f345d4",
"lessThan": "048617743febf6530111cfb594e9bbbd7918bf67",
"versionType": "git"
},
{
"status": "affected",
"version": "55334a5db5cd32b207ac697cec3ec8e078f345d4",
"lessThan": "478eb5abb51931a152abab068f8a717b7ff480fd",
"versionType": "git"
}
],
"programFiles": [
"net/sched/act_api.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.15"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.15",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/sched/act_api.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97616
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48796 · Revision 1
- Added to Heist Feed
- Publisher date