Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-41010

published high CVSS 3.1 · 7.8

bpf: Fix too early release of tcx_entry

Published
17 Jul 2024, 06:10:12 UTC
Updated
05 Aug 2026, 11:34:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe420bed025071a623d2720a92bc2245c84757ecb to < 230bb13650b0f186f540500fd5f5f7096a822a2a · e420bed025071a623d2720a92bc2245c84757ecb to < f61ecf1bd5b562ebfd7d430ccb31619857e80857 · e420bed025071a623d2720a92bc2245c84757ecb to < 1cb6f0bae50441f4b4b32a28315853b279c7404e · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.41 through 6.6.* (unaffected · semver) · 6.9.10 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.5.0-802.el9_6 ELSA-2025-6966
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.5.0-802.el9_6 ELSA-2025-6966
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-coreaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-develaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modules-coreaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 rtlaaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 rvaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix too early release of tcx_entry Pedro Pinto and later independently also Hyunwoo Kim and Wongi Lee reported an issue that the tcx_entry can be released too early leading to a use after free (UAF) when an active old-style ingress or clsact qdisc with a shared tc block is later replaced by another ingress or clsact instance. Essentially, the sequence to trigger the UAF (one example) can be as follows: 1. A network namespace is created 2. An ingress qdisc is created. This allocates a tcx_entry, and &tcx_entry->miniq is stored in the qdisc's miniqp->p_miniq. At the same time, a tcf block with index 1 is created. 3. chain0 is attached to the tcf block. chain0 must be connected to the block linked to the ingress qdisc to later reach the function tcf_chain0_head_change_cb_del() which triggers the UAF. 4. Create and graft a clsact qdisc. This causes the ingress qdisc created in step 1 to be removed, thus freeing the previously linked tcx_entry: rtnetlink_rcv_msg() => tc_modify_qdisc() => qdisc_create() => clsact_init() [a] => qdisc_graft() => qdisc_destroy() => __qdisc_destroy() => ingress_destroy() [b] => tcx_entry_free() => kfree_rcu() // tcx_entry freed 5. Finally, the network namespace is closed. This registers the cleanup_net worker, and during the process of releasing the remaining clsact qdisc, it accesses the tcx_entry that was already freed in step 4, causing the UAF to occur: cleanup_net() => ops_exit_list() => default_device_exit_batch() => unregister_netdevice_many() => unregister_netdevice_many_notify() => dev_shutdown() => qdisc_put() => clsact_destroy() [c] => tcf_block_put_ext() => tcf_chain0_head_change_cb_del() => tcf_chain_head_change_item() => clsact_chain_head_change() => mini_qdisc_pair_swap() // UAF There are also other variants, the gist is to add an ingress (or clsact) qdisc with a specific shared block, then to replace that qdisc, waiting for the tcx_entry kfree_rcu() to be executed and subsequently accessing the current active qdisc's miniq one way or another. The correct fix is to turn the miniq_active boolean into a counter. What can be observed, at step 2 above, the counter transitions from 0->1, at step [a] from 1->2 (in order for the miniq object to remain active during the replacement), then in [b] from 2->1 and finally [c] 1->0 with the eventual release. The reference counter in general ranges from [0,2] and it does not need to be atomic since all access to the counter is protected by the rtnl mutex. With this in place, there is no longer a UAF happening and the tcx_entry is freed at the correct time.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

22

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached through rtnetlink `RTM_NEWQDISC`/`RTM_NEWTFILTER` messages (`tc_modify_qdisc()` → `ingress_init`/`clsact_init`/`*_destroy`) and network-namespace teardown, all of which require local access via a netlink socket and syscalls. No remote packet can drive the qdisc configuration path. AC:L - The attacker deterministically controls every step — create netns, create ingress qdisc with a shared block, attach chain0, graft a clsact qdisc to free the tcx_entry, then close the netns — with all mutations serialized under the rtnl mutex, so there is no race to win, only an RCU grace period to wait out. Heap grooming of the kmalloc-2048 slot is entirely under attacker control. PR:L - `rtnetlink_rcv_msg()` gates qdisc creation on `netlink_net_capable(skb, CAP_NET_ADMIN)` evaluated against the netns owner's user namespace, so an unprivileged local user obtains it with `unshare -Urn` — the published trigger sequence itself begins by creating a network namespace. No real root or init-namespace privilege is needed. UI:N - The entire sequence is performed by the attacker's own process; the final UAF fires from the `cleanup_net` worker triggered by the attacker closing its own network namespace. No victim action of any kind is involved. S:U - The corruption occurs in kernel heap memory and the impact stays within the same kernel security authority (local privilege escalation). No hypervisor, IOMMU, or other security-authority boundary is crossed. C:H - This is a use-after-free with an attacker-timed read of the freed `tcx_entry->miniq` slot, and the reclaimed ~1.6 KB kmalloc-2048 object can be sprayed with attacker-chosen structures, giving a path to disclose kernel heap pointers and read arbitrary kernel memory via a corrupted `mini_Qdisc`/`filter_list` chain. I:H - `mini_qdisc_pair_swap()` writes a kernel pointer (or NULL) into offset 0 of the freed object, corrupting whatever object was reallocated there, and the write can be repeated on demand by adding/removing filters on the shared block. Combined with the RX path's indirect call through `miniq->filter_list` in `tcf_classify()`, this yields a control-flow hijack primitive suitable for full privilege escalation. A:H - Even without successful exploitation, the use-after-free write into freed slab memory reliably corrupts unrelated kernel objects and panics the machine (KASAN-detected UAF, oops in `mini_qdisc_pair_swap`/`cleanup_net`). It can be triggered repeatedly by any unprivileged local user.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e420bed025071a623d2720a92bc2245c84757ecb to < 230bb13650b0f186f540500fd5f5f7096a822a2a (affected · git)e420bed025071a623d2720a92bc2245c84757ecb to < f61ecf1bd5b562ebfd7d430ccb31619857e80857 (affected · git)e420bed025071a623d2720a92bc2245c84757ecb to < 1cb6f0bae50441f4b4b32a28315853b279c7404e (affected · git)Default: unaffected Linux · cna
Linux Linux 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.41 through 6.6.* (unaffected · semver)6.9.10 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

3

Linux · cna

bpf: Fix too early release of tcx_entry

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
b460a434d67ec1abac34e83c69db22c6e6ad81b62fea0022f261ffd48849cdfe
Ingested
23 Sep 2026, 08:26:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected