CVE-2026-98235
JSON

Not scored

net/sched: act_api: release tail references on DELACTION failure

Severity
Not scored
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: act_api: release tail references on DELACTION failure A batched RTM_DELACTION request takes a temporary reference on each action before attempting any deletion. tcf_action_delete() clears each processed slot and drops its temporary reference before attempting the deletion. If deletion fails, tca_action_gd() calls tcf_action_put_many() to release the remaining references, but its tcf_act_for_each_action() iterator stops at the first NULL slot. When a batch stops at an action bound to a filter, this leaks a reference on each subsequent action. A later delete of an unbound action can then return success without removing it from the IDR. Walk the full array in tcf_action_put_many() and skip NULL slots to release the references held on the unprocessed actions.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a0e947c9ccffe47d45aca793d9e7fe4f4494e381 before 9eaba16f1b6ee19b249e6afd82c27f958d441458, from a0e947c9ccffe47d45aca793d9e7fe4f4494e381 before 1be63e4579af408d596f0f3165faf1a880631d3b, from a0e947c9ccffe47d45aca793d9e7fe4f4494e381 before 57b477e46ef2df3483f3488cc713c61c4b384aab, from a0e947c9ccffe47d45aca793d9e7fe4f4494e381 before 6e05e46fa821a5c1b281355f1f622ac76cb6080a, 6.8
Not affected: before 6.8, from 6.12.112 up to 6.12.*, from 6.18.54 up to 6.18.*, from 7.2.8 up to 7.2.*, from 7.3 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-98235 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-98235 changed 2026-10-19Public domain