7.8

CVE-2024-46828: linux

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2024-46828DEBIAN-CVE-2024-46828
Published 27-09-2024Last modified 05-08-2026

Vulnerability summary

CVE-2024-46828 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.2% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.25%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 33 · Related 29

Timeline

  1. 27-09-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

0.00 pp

From 0.25% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.25%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Ubuntu125 products
  • linux< 5.4.0-200.220 | < 5.15.0-125.135 | < 6.8.0-50.51
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.4.0-1135.145 | < 5.15.0-1072.78 | < 6.8.0-1020.22
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 712639929912c5eefb09facccb48d55b3f72c9f8, < 4a4eeefa514db570be025ab46d779af180e2c9bb | ≥ 712639929912c5eefb09facccb48d55b3f72c9f8, < 7725152b54d295b7da5e34c2f419539b30d017bd | ≥ 712639929912c5eefb09facccb48d55b3f72c9f8, < cde71a5677971f4f1b69b25e854891dbe78066a4 | ≥ 712639929912c5eefb09facccb48d55b3f72c9f8, < 549e407569e08459d16122341d332cb508024094 | ≥ 712639929912c5eefb09facccb48d55b3f72c9f8, < d4a9039a7b3d8005b90c7b1a55a306444f0e5447 | ≥ 712639929912c5eefb09facccb48d55b3f72c9f8, < d7c01c0714c04431b5e18cf17a9ea68a553d1c3c | ≥ 712639929912c5eefb09facccb48d55b3f72c9f8, < 546ea84d07e3e324644025e2aae2d12ea4c5896e | 5.1
  • linux_kernel≥ 5.1, < 5.4.284 | ≥ 5.10, < 5.10.226 | ≥ 5.15, < 5.15.167 | ≥ 6.1, < 6.1.110 | ≥ 6.6, < 6.6.51 | ≥ 6.10, < 6.10.10 | 6.11:rc1 | 6.11:rc2 | 6.11:rc3 | 6.11:rc4 | 6.11:rc5 | 6.11:rc6
Debian1 product
  • linux< 6.1.112-1 | < 6.10.11-1

3 vendors · 128 products

References

29 links
Show all 29 references