net/sched: cls_flower: avoid stale mask references after delete
Summary
| CVE | CVE-2026-99546 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-19 15:18:10 UTC |
| Updated | 2026-11-23 08:17:56 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS: 0.001600000 probability, percentile 0.051680000 (date 2026-11-23)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 92149190067dc1ba656ce63a328c4b88b34e3f09 282807a0ecb8fe5beba8e4983e4330e03311e55a git | Not specified |
| CNA | Linux | Linux | affected 92149190067dc1ba656ce63a328c4b88b34e3f09 a2b1492931d41202e03ea55fb0a855f8d19b618e git | Not specified |
| CNA | Linux | Linux | affected 92149190067dc1ba656ce63a328c4b88b34e3f09 5f001b9ffe36361d0f07e776b05827c3139c884b git | Not specified |
| CNA | Linux | Linux | affected 92149190067dc1ba656ce63a328c4b88b34e3f09 7def39be0ecaec241699ed001c9d669bf742465e git | Not specified |
| CNA | Linux | Linux | affected 92149190067dc1ba656ce63a328c4b88b34e3f09 47ae95cdcb9b1d6770c624ae778828b1d698801a git | Not specified |
| CNA | Linux | Linux | affected 92149190067dc1ba656ce63a328c4b88b34e3f09 cdffcb89d84455158d057a6baa87a67225a7f062 git | Not specified |
| CNA | Linux | Linux | affected 92149190067dc1ba656ce63a328c4b88b34e3f09 0cc691a899a43e8ecbddfe657198b3f6935122f0 git | Not specified |
| CNA | Linux | Linux | affected 92149190067dc1ba656ce63a328c4b88b34e3f09 58f7989da6e715ce834ac861b7ba6ae9f9bdb098 git | Not specified |
| CNA | Linux | Linux | affected 5.2 | Not specified |
| CNA | Linux | Linux | unaffected 5.2 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.275 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.226 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.193 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.163 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.117 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.61 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.2 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/7def39be0ecaec241699ed001c9d669bf742465e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/a2b1492931d41202e03ea55fb0a855f8d19b618e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/58f7989da6e715ce834ac861b7ba6ae9f9bdb098 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/282807a0ecb8fe5beba8e4983e4330e03311e55a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/cdffcb89d84455158d057a6baa87a67225a7f062 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/47ae95cdcb9b1d6770c624ae778828b1d698801a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/5f001b9ffe36361d0f07e776b05827c3139c884b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0cc691a899a43e8ecbddfe657198b3f6935122f0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.