Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-99546

CVE-2026-99546: net/sched: cls_flower: avoid stale mask references after delete

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99546: high-severity vulnerability (CVSS 7.1) in Linux Linux.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.1.

Affected products and versions

Linux Linux >= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 282807a0ecb8fe5beba8e4983e4330e03311e55a; Linux Linux >= 92149190067dc1ba656ce63a328c4b88b34e3f09, < a2b1492931d41202e03ea55fb0a855f8d19b618e; Linux Linux >= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 5f001b9ffe36361d0f07e776b05827c3139c884b; Linux Linux >= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 7def39be0ecaec241699ed001c9d669bf742465e; Linux Linux >= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 47ae95cdcb9b1d6770c624ae778828b1d698801a; Linux Linux >= 92149190067dc1ba656ce63a328c4b88b34e3f09, < cdffcb89d84455158d057a6baa87a67225a7f062; Linux Linux >= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 0cc691a899a43e8ecbddfe657198b3f6935122f0; Linux Linux >= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 58f7989da6e715ce834ac861b7ba6ae9f9bdb098; Linux Linux 5.2; Linux Linux < 5.2; Linux Linux 5.10.275 (fixed in 5.10.275); Linux Linux 5.15.226 (fixed in 5.15.226)

ProductVersionsFixed in
Linux Linux>= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 282807a0ecb8fe5beba8e4983e4330e03311e55a—
Linux Linux>= 92149190067dc1ba656ce63a328c4b88b34e3f09, < a2b1492931d41202e03ea55fb0a855f8d19b618e—
Linux Linux>= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 5f001b9ffe36361d0f07e776b05827c3139c884b—
Linux Linux>= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 7def39be0ecaec241699ed001c9d669bf742465e—
Linux Linux>= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 47ae95cdcb9b1d6770c624ae778828b1d698801a—
Linux Linux>= 92149190067dc1ba656ce63a328c4b88b34e3f09, < cdffcb89d84455158d057a6baa87a67225a7f062—
Linux Linux>= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 0cc691a899a43e8ecbddfe657198b3f6935122f0—
Linux Linux>= 92149190067dc1ba656ce63a328c4b88b34e3f09, < 58f7989da6e715ce834ac861b7ba6ae9f9bdb098—
Linux Linux5.2—
Linux Linux< 5.2—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1176.12.117
Linux Linux6.18.616.18.61
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Action recommended by the source

Upgrade to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1.

Fixed in: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.