CVE-2023-53624

MEDIUM

Linux Kernel 3.12-5.10.180 - Integer Overflow in FQ Scheduler Credit Calculation

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_fq: fix integer overflow of "credit" if sch_fq is configured with "initial quantum" having values greater than INT_MAX, the first assignment of "credit" does signed integer overflow to a very negative value. In this situation, the syzkaller script provided by Cristoph triggers the CPU soft-lockup warning even with few sockets. It's not an infinite loop, but "credit" wasn't probably meant to be minus 2Gb for each new flow. Capping "initial quantum" to INT_MAX proved to fix the issue. v2: validation of "initial quantum" is done in fq_policy, instead of open coding in fq_change() _ suggested by Jakub Kicinski

Scores

CVSS v3 5.5
EPSS 0.0019
EPSS Percentile 8.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-190
Status published
Products (15)
Linux/Linux < 3.12
Linux/Linux 3.12
Linux/Linux 5.10.180 - 5.10.*
Linux/Linux 5.15.111 - 5.15.*
Linux/Linux 6.1.28 - 6.1.*
Linux/Linux 6.2.15 - 6.2.*
Linux/Linux 6.3.2 - 6.3.*
Linux/Linux 6.4
Linux/Linux afe4fd062416b158a8a8538b23adc1930a9b88dc - 2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd
Linux/Linux afe4fd062416b158a8a8538b23adc1930a9b88dc - 4b8a05e3801661a0438fcd0cdef181030d966a5a
... and 5 more
Published Oct 07, 2025
Tracked Since Feb 18, 2026