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

published high CVSS 3.1 · 7.1

sched: sch_cake: fix bulk flow accounting logic for host fairness

Published
27 Sep 2024, 12:39:27 UTC
Updated
05 Aug 2026, 11:38:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux712639929912c5eefb09facccb48d55b3f72c9f8 to < 4a4eeefa514db570be025ab46d779af180e2c9bb · 712639929912c5eefb09facccb48d55b3f72c9f8 to < 7725152b54d295b7da5e34c2f419539b30d017bd · 712639929912c5eefb09facccb48d55b3f72c9f8 to < cde71a5677971f4f1b69b25e854891dbe78066a4 · 712639929912c5eefb09facccb48d55b3f72c9f8 to < 549e407569e08459d16122341d332cb508024094 · 712639929912c5eefb09facccb48d55b3f72c9f8 to < d4a9039a7b3d8005b90c7b1a55a306444f0e5447 · 712639929912c5eefb09facccb48d55b3f72c9f8 to < d7c01c0714c04431b5e18cf17a9ea68a553d1c3c · 712639929912c5eefb09facccb48d55b3f72c9f8 to < 546ea84d07e3e324644025e2aae2d12ea4c5896e · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.1 (affected) · 0 to < 5.1 (unaffected · semver) · 5.4.284 through 5.4.* (unaffected · semver) · 5.10.226 through 5.10.* (unaffected · semver) · 5.15.167 through 5.15.* (unaffected · semver) · 6.1.110 through 6.1.* (unaffected · semver) · 6.6.51 through 6.6.* (unaffected · semver) · 6.10.10 through 6.10.* (unaffected · semver) · 6.11 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 AL2 Release evaluationALAS2KERNEL-5.10-2024-070 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-055 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-086 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.112-1 DSA-5782-1
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2024-744 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.226-1 DLA-3912-1
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.337.5.el7uek ELSA-2024-12813
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.337.5.el8uek ELSA-2024-12813
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.5.0-802.el9_6 ELSA-2025-6966
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
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
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-uekaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815

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

Description

In the Linux kernel, the following vulnerability has been resolved: sched: sch_cake: fix bulk flow accounting logic for host fairness In sch_cake, we keep track of the count of active bulk flows per host, when running in dst/src host fairness mode, which is used as the round-robin weight when iterating through flows. The count of active bulk flows is updated whenever a flow changes state. This has a peculiar interaction with the hash collision handling: when a hash collision occurs (after the set-associative hashing), the state of the hash bucket is simply updated to match the new packet that collided, and if host fairness is enabled, that also means assigning new per-host state to the flow. For this reason, the bulk flow counters of the host(s) assigned to the flow are decremented, before new state is assigned (and the counters, which may not belong to the same host anymore, are incremented again). Back when this code was introduced, the host fairness mode was always enabled, so the decrement was unconditional. When the configuration flags were introduced the *increment* was made conditional, but the *decrement* was not. Which of course can lead to a spurious decrement (and associated wrap-around to U16_MAX). AFAICT, when host fairness is disabled, the decrement and wrap-around happens as soon as a hash collision occurs (which is not that common in itself, due to the set-associative hashing). However, in most cases this is harmless, as the value is only used when host fairness mode is enabled. So in order to trigger an array overflow, sch_cake has to first be configured with host fairness disabled, and while running in this mode, a hash collision has to occur to cause the overflow. Then, the qdisc has to be reconfigured to enable host fairness, which leads to the array out-of-bounds because the wrapped-around value is retained and used as an array index. It seems that syzbot managed to trigger this, which is quite impressive in its own right. This patch fixes the issue by introducing the same conditional check on decrement as is used on increment. The original bug predates the upstreaming of cake, but the commit listed in the Fixes tag touched that code, meaning that this patch won't apply before that.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

56

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scenarios
en: AV:L - The vulnerability is reached through tc/netlink qdisc configuration (RTM_NEWQDISC/change on a cake qdisc) plus locally generated traffic; per kernel scoring guidance tc/qdisc netlink paths are Local. The mandatory reconfiguration step (host fairness off → collision → host fairness on) cannot be performed by a remote peer. AC:L - Every step is fully under the attacker's control and deterministic: configure the qdisc in `flows` mode, emit enough distinct 5-tuples to exhaust an 8-way hash set and force the collision, then `tc qdisc change` to `triple-isolate`; the number of collisions even selects the exact wrapped index. No race, memory layout, or victim state is involved. PR:L - Qdisc creation/modification is gated by `netlink_net_capable(skb, CAP_NET_ADMIN)` which resolves to `ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)`, so an unprivileged local user obtains it with `unshare -Urn` and attaches cake to `lo` inside the new netns. Real root is not required. UI:N - The attacker performs the qdisc configuration, traffic generation, reconfiguration, and stats read entirely on their own; no action by any other user or administrator is needed. S:U - The out-of-bounds read and the resulting crash are confined to the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The wrapped `u16` counter yields an attacker-chosen index of up to 65535 into a 1025-entry global array, reading up to ~128 KB of adjacent kernel `.bss`/`.data`, and the value is propagated into `flow->deficit` which userspace reads back via `TCA_CAKE_STATS_DEFICIT` in `cake_dump_class_stats()` — a controlled-offset kernel memory disclosure that defeats KASLR and can leak arbitrary kernel globals. I:N - There is no out-of-bounds write: the only OOB access is the `quantum_div[]` load, and the counter decrements and `flow->deficit` store are all within bounds of the attacker's own qdisc state. No kernel data outside the attacker's own scheduling context is modified. A:H - `WARN_ON(host_load > CAKE_QUEUES)` in `cake_dequeue()` fires on every dequeue, producing a kernel oops and a panic on the widely deployed `panic_on_warn=1` configuration, and the ~128 KB read past a module's `.bss` can fault on unmapped vmalloc memory; under KASAN it is a global-out-of-bounds report.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 712639929912c5eefb09facccb48d55b3f72c9f8 to < 4a4eeefa514db570be025ab46d779af180e2c9bb (affected · git)712639929912c5eefb09facccb48d55b3f72c9f8 to < 7725152b54d295b7da5e34c2f419539b30d017bd (affected · git)712639929912c5eefb09facccb48d55b3f72c9f8 to < cde71a5677971f4f1b69b25e854891dbe78066a4 (affected · git)712639929912c5eefb09facccb48d55b3f72c9f8 to < 549e407569e08459d16122341d332cb508024094 (affected · git)712639929912c5eefb09facccb48d55b3f72c9f8 to < d4a9039a7b3d8005b90c7b1a55a306444f0e5447 (affected · git)712639929912c5eefb09facccb48d55b3f72c9f8 to < d7c01c0714c04431b5e18cf17a9ea68a553d1c3c (affected · git)712639929912c5eefb09facccb48d55b3f72c9f8 to < 546ea84d07e3e324644025e2aae2d12ea4c5896e (affected · git)Default: unaffected Linux · cna
Linux Linux 5.1 (affected)0 to < 5.1 (unaffected · semver)5.4.284 through 5.4.* (unaffected · semver)5.10.226 through 5.10.* (unaffected · semver)5.15.167 through 5.15.* (unaffected · semver)6.1.110 through 6.1.* (unaffected · semver)6.6.51 through 6.6.* (unaffected · semver)6.10.10 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

3

Linux · cna

sched: sch_cake: fix bulk flow accounting logic for host fairness

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
6eea0f61d1fa2db20f2e97f9334234ff501497da91bf43be465993d74a1ca3fa
Ingested
23 Sep 2026, 08:28:03 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