BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-46828 in Linux Kernel and 7 more products

High 7.8 Industrial / OT

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.

Affects 8 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.17.8
EPSS0.3%
EPSS percentile18th

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Linux Linux Kernel 6.11 ≥ 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
+1 more≥ 6.10, < 6.10.10
Linux Linux 5.1
Siemens SCALANCE XR-300 (device and firmware) < 3.2
Siemens SCALANCE XR-500 (device and firmware) < 3.2
Siemens RUGGEDCOM RST2428P (device and firmware) < 3.2

Fix and vendor advisory

  • RUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCM-/XRM-/XCH-/XRH-300 family: Update to V3.2 or later version
  • SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family: See Section Additional Information.

Source: ICSA-25-226-07

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-46828
BreachSpider IDBS-2024-GLOBAL-214718-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-09-27
Last modified2026-08-04
SourceNVD

Compensating controls AI-drafted, review before use

Ensure that the sch_cake scheduler is not configured with host fairness toggled in a way that could trigger the vulnerability. Regularly monitor system logs for any signs of unusual behavior or errors related to the sch_cake scheduler.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-04.