Public vulnerability disclosure

CVE-2026-99546

net/sched: cls_flower: avoid stale mask references after delete

published

In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_flower: avoid stale mask references after delete Flower releases a mask reference when a filter is removed from the classifier. The filter object can remain alive while dump, walk, or hardware reoffload paths hold a reference to it. Those paths can then dereference f->mask after the mask has already been released. Keep the mask reference until the filter reference count reaches zero. Release the mask synchronously from the final __fl_put() while the caller still holds the tcf_proto reference, and leave the existing RCU work to free the mask. This keeps the mask available to every reader that still holds the filter. The filter is still removed from the classifier indexes immediately. Therefore, a deleted filter can temporarily retain an otherwise empty mask; fl_delete() uses the handle IDR, rather than the mask list, to determine whether the classifier has become empty. Failed mask assignment can leave fnew->mask as an error or borrowed pointer without an owned mask reference. Clear it before the common failure path so the final put cannot release an unowned reference. This fix does not add fields, snapshots, or per-filter memory.

Technical severity7.1 highCVSS 3.1 · CNA: Linux
Published2026-11-19Source updated 2026-11-22
Collected2026-11-223 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Linux
Linux
≥ 92149190067dc1ba656ce63a328c4b88b34e3f09; < 47ae95cdcb9b1d6770c624ae778828b1d698801a (affected, git)
≥ 92149190067dc1ba656ce63a328c4b88b34e3f09; < cdffcb89d84455158d057a6baa87a67225a7f062 (affected, git)
≥ 92149190067dc1ba656ce63a328c4b88b34e3f09; < 0cc691a899a43e8ecbddfe657198b3f6935122f0 (affected, git)
≥ 92149190067dc1ba656ce63a328c4b88b34e3f09; < 58f7989da6e715ce834ac861b7ba6ae9f9bdb098 (affected, git)
Other versions: unaffected
CNA: Linux
Linux
Linux
5.2 (affected)
≥ 0; < 5.2 (unaffected, semver)
≥ 6.12.117; ≤ 6.12.* (unaffected, semver)
≥ 6.18.61; ≤ 6.18.* (unaffected, semver)
≥ 7.3.2; ≤ 7.3.* (unaffected, semver)
≥ 7.4-rc1; ≤ * (unaffected, original_commit_for_fix)
Other versions: affected
CNA: Linux

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.1
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCNA: Linux
3.1 / 7.1
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide