# CVE-2023-53624: net/sched: sch_fq: fix integer overflow of "credit"

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-10-07T15:19:29.545Z
- Modified: 2026-11-05T21:17:29.670Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from afe4fd062416b158a8a8538b23adc1930a9b88dc before 4b8a05e3801661a0438fcd0cdef181030d966a5a; from afe4fd062416b158a8a8538b23adc1930a9b88dc before d0b43125ec892aeb1b03e5df5aab595097da225a; from afe4fd062416b158a8a8538b23adc1930a9b88dc before 4fbefeab88c6e79753a25099d455d3d59d2946b4; from afe4fd062416b158a8a8538b23adc1930a9b88dc before 85f24cb2f10b2b0f2882e5786a09b4790bb3a0ad; from afe4fd062416b158a8a8538b23adc1930a9b88dc before 2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd; from afe4fd062416b158a8a8538b23adc1930a9b88dc before 7041101ff6c3073fd8f2e99920f535b111c929cb; 3.12 (not affected: before 3.12; from 5.10.180 up to 5.10.*; from 5.15.111 up to 5.15.*; from 6.1.28 up to 6.1.*; from 6.2.15 up to 6.2.*; from 6.3.2 up to 6.3.*; from 6.4 up to *)
- linux linux_kernel: from 3.12 before 5.10.180; from 5.11 before 5.15.111; from 5.16 before 6.1.28; from 6.2 before 6.2.15; from 6.3 before 6.3.2

## References

- <https://git.kernel.org/stable/c/4b8a05e3801661a0438fcd0cdef181030d966a5a> (patch)
- <https://git.kernel.org/stable/c/d0b43125ec892aeb1b03e5df5aab595097da225a> (patch)
- <https://git.kernel.org/stable/c/4fbefeab88c6e79753a25099d455d3d59d2946b4> (patch)
- <https://git.kernel.org/stable/c/85f24cb2f10b2b0f2882e5786a09b4790bb3a0ad> (patch)
- <https://git.kernel.org/stable/c/2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd> (patch)
- <https://git.kernel.org/stable/c/7041101ff6c3073fd8f2e99920f535b111c929cb> (patch)

## Sources

- CVE List: [CVE-2023-53624](https://www.cve.org/CVERecord?id=CVE-2023-53624), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-53624](https://nvd.nist.gov/vuln/detail/CVE-2023-53624), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-53624 · Whole record: https://cve.day/CVE-2023-53624.json · Rebuilt by cve.day 2026-11-25T22:58:34.973Z
