Linux Kernelのcls_flowerに解放後の参照を招く脆弱性
Summary
Linux Kernelのcls_flowerで、フィルターを削除したあとに解放済みのマスクを参照してしまう脆弱性です。CVSS v3のスコアは7.1で、深刻度はhighとされています。影響を受けるのは5.2.0以降の6.12.117未満、6.13.0以降の6.18.61未満、6.19.0以降の7.3.2未満のバージョンで、修正版は6.12.117、6.18.61、7.3.2です。利用しているカーネルのバージョンを確認し、修正版への更新を進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux Kernelのcls_flowerで、フィルターを削除したあとに解放済みのマスクを参照してしまう脆弱性です。CVSS v3のスコアは7.1で、深刻度はhighとされています。影響を受けるのは5.2.0以降の6.12.117未満、6.13.0以降の6.18.61未満、6.19.0以降の7.3.2未満のバージョンで、修正版は6.12.117、6.18.61、7.3.2です。利用しているカーネルのバージョンを確認し、修正版への更新を進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.2.0, < 5.10.275→ 5.10.275 ≥ 5.11.0, < 5.15.226→ 5.15.226 ≥ 5.16.0, < 6.1.193→ 6.1.193 ≥ 6.2.0, < 6.6.163→ 6.6.163 ≥ 6.7.0, < 6.12.117→ 6.12.117 ≥ 6.13.0, < 6.18.61→ 6.18.61 ≥ 6.19.0, < 7.3.2→ 7.3.2 |
5.10.275 5.15.226 6.1.193 6.6.163 6.12.117 6.18.61 7.3.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99546 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99546 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99546 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +162 more No fixed version in this record
Original description The description as published by 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com