Security mailing lists by PureSourceCode

CVE-2025-21647

HIGH 7.1CVSS 3.1

In the Linux kernel, the following vulnerability has been resolved:

sched: sch_cake: add bounds checks to host bulk flow fairness counts

Even though we fixed a logic error in the commit cited below, syzbot
still managed to trigger an underflow of the per-host bulk flow
counters, leading to an out of bounds memory access.

To avoid any such logic errors causing out of bounds memory accesses,
this commit factors out all accesses to the per-host bulk flow counters
to a series of helpers that perform bounds-checking before any
increments and decrements. This also has the benefit of improving
readability by moving the conditional checks for the flow mode into
these helpers, instead of having them spread out throughout the
code (which was the cause of the original logic error).

As part of this change, the flow quantum calculation is consolidated
into a helper function, which means that the dithering applied to the
ost load scaling is now applied both in the DRR rotation and when a
sparse flow's quantum is first initiated. The only user-visible effect
of this is that the maximum packet size that can be sent while a flow
stays sparse will now vary with +/- one byte in some cases. This should
not make a noticeable difference in practice, and thus it's not worth
complicating the code to preserve the old behaviour.

Published
19 Jan 2025
Last modified
30 Jul 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Weakness
CWE-125
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.4.284, < 5.4.291 5.4.291
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.10.226, < 5.10.235 5.10.235
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.15.167, < 5.15.179 5.15.179
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.1.110, < 6.1.125 6.1.125
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.6.51, < 6.6.72 6.6.72
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.10.10, < 6.11 6.11
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.11.1, < 6.12.10 6.12.10
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*
= 6.11
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc7:*:*:*:*:*:*
= 6.11
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
= 6.13
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
= 6.13
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
= 6.13
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
= 6.13
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
= 6.13
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
= 6.13

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 19 Jan 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.