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-53044

published high CVSS 3.1 · 7.8

net/sched: sch_api: fix xa_insert() error path in tcf_block_get_ext()

Published
19 Nov 2024, 17:19:32 UTC
Updated
05 Aug 2026, 11:43:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux94e2557d086ad831027c54bc9c2130d337c72814 to < 8966eb69a143b1c032365fe84f2815f3c46f2590 · 94e2557d086ad831027c54bc9c2130d337c72814 to < a13e690191eafc154b3f60afe9ce35aa9b9128b4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.11.7 through 6.11.* (unaffected · semver) · 6.12 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: net/sched: sch_api: fix xa_insert() error path in tcf_block_get_ext() This command: $ tc qdisc replace dev eth0 ingress_block 1 egress_block 1 clsact Error: block dev insert failed: -EBUSY. fails because user space requests the same block index to be set for both ingress and egress. [ side note, I don't think it even failed prior to commit 913b47d3424e ("net/sched: Introduce tc block netdev tracking infra"), because this is a command from an old set of notes of mine which used to work, but alas, I did not scientifically bisect this ] The problem is not that it fails, but rather, that the second time around, it fails differently (and irrecoverably): $ tc qdisc replace dev eth0 ingress_block 1 egress_block 1 clsact Error: dsa_core: Flow block cb is busy. [ another note: the extack is added by me for illustration purposes. the context of the problem is that clsact_init() obtains the same &q->ingress_block pointer as &q->egress_block, and since we call tcf_block_get_ext() on both of them, "dev" will be added to the block->ports xarray twice, thus failing the operation: once through the ingress block pointer, and once again through the egress block pointer. the problem itself is that when xa_insert() fails, we have emitted a FLOW_BLOCK_BIND command through ndo_setup_tc(), but the offload never sees a corresponding FLOW_BLOCK_UNBIND. ] Even correcting the bad user input, we still cannot recover: $ tc qdisc replace dev swp3 ingress_block 1 egress_block 2 clsact Error: dsa_core: Flow block cb is busy. Basically the only way to recover is to reboot the system, or unbind and rebind the net device driver. To fix the bug, we need to fill the correct error teardown path which was missed during code movement, and call tcf_block_offload_unbind() when xa_insert() fails. [ last note, fundamentally I blame the label naming convention in tcf_block_get_ext() for the bug. The labels should be named after what they do, not after the error path that jumps to them. This way, it is obviously wrong that two labels pointing to the same code mean something is wrong, and checking the code correctness at the goto site is also easier ]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

15

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 the rtnetlink `RTM_NEWQDISC` interface (`tc qdisc add/replace ... clsact ingress_block N egress_block N`), which requires a local netlink socket. Per kernel scoring guidance, tc/netlink qdisc paths are Local. AC:L - The trigger is a single deterministic command reproduced verbatim in the fix commit — no race, no memory-layout dependency, and the attacker fully controls both block indices that make `xa_insert()` fail. Every attempt reliably leaks the offload binding. PR:L - `rtnetlink_rcv_msg()` checks `netlink_net_capable(skb, CAP_NET_ADMIN)`, which is namespace-relative, so an unprivileged user obtains it with `unshare -Urn` and can create a veth/dummy device (or use `lo`) to reach `tcf_block_get_ext()`. No real root in the init namespace is needed. UI:N - Exploitation is a self-contained sequence of netlink qdisc operations issued by the attacker. No victim action of any kind is involved. S:U - The corrupted state (`tcf_block`, `flow_block_cb`, `flow_indir_dev_info`) and the resulting impact are all within the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - The missed `tcf_block_offload_unbind()` leaves callbacks and global-list entries pointing at a `tcf_block` that is then freed by `tcf_block_destroy()`; `tc_block_indr_cleanup()` and `existing_qdiscs_register()` later dereference those stale pointers, and a use-after-free lets the attacker read back attacker-groomed/adjacent kernel heap contents. I:H - The stale `flow_block_cb` remains linked into the freed block's `cb_list`, so the later `list_move()`/`list_splice()` and `block->lockeddevcnt--` write kernel pointers into freed, reallocatable slab memory — a classic list-corruption write primitive suitable for control-flow hijack. It also permanently corrupts driver offload state (`nooffloaddevcnt`, driver cb lists). A:H - The use-after-free on the freed `tcf_block` causes oopses/panics, and even without memory corruption the leaked bind permanently wedges tc hardware offload on the device — the commit notes recovery requires a reboot or driver rebind, and an unprivileged user can trigger it repeatedly to also leak memory.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.5 medium CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 94e2557d086ad831027c54bc9c2130d337c72814 to < 8966eb69a143b1c032365fe84f2815f3c46f2590 (affected · git)94e2557d086ad831027c54bc9c2130d337c72814 to < a13e690191eafc154b3f60afe9ce35aa9b9128b4 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.11.7 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

2

Provider assertions

2

Linux · cna

net/sched: sch_api: fix xa_insert() error path in tcf_block_get_ext()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
80223341b950d42b1b7ee31007f83cdf4c5342016cafe1d1f43219938283627b
Ingested
23 Sep 2026, 08:30:55 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