# CVE-2023-53624: net/sched: sch\_fq: fix integer overflow of "credit"

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2025-10-07T15:19:29.545Z
- **Modified:** 2026-11-05T21:17:29.670Z

## Who should check

- Anyone running Linux \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 4b8a05e3801661a0438fcd0cdef181030d966a5a; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< d0b43125ec892aeb1b03e5df5aab595097da225a; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 4fbefeab88c6e79753a25099d455d3d59d2946b4; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 85f24cb2f10b2b0f2882e5786a09b4790bb3a0ad; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 7041101ff6c3073fd8f2e99920f535b111c929cb
- Anyone running Linux 3.12

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

## Affected and fixed versions

- Linux: \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 4b8a05e3801661a0438fcd0cdef181030d966a5a; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< d0b43125ec892aeb1b03e5df5aab595097da225a; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 4fbefeab88c6e79753a25099d455d3d59d2946b4; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 85f24cb2f10b2b0f2882e5786a09b4790bb3a0ad; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 7041101ff6c3073fd8f2e99920f535b111c929cb (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- Upgrade Linux to 7041101ff6c3073fd8f2e99920f535b111c929cb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53624. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53624.md
Affected: Linux >= afe4fd062416b158a8a8538b23adc1930a9b88dc, < 4b8a05e3801661a0438fcd0cdef181030d966a5a; >= afe4fd062416b158a8a8538b23adc1930a9b88dc, < d0b43125ec892aeb1b03e5df5aab595097da225a; >= afe4fd062416b158a8a8538b23adc1930a9b88dc, < 4fbefeab88c6e79753a25099d455d3d59d2946b4; >= afe4fd062416b158a8a8538…
Fixed in: Linux 4b8a05e3801661a0438fcd0cdef181030d966a5a, Linux 4fbefeab88c6e79753a25099d455d3d59d2946b4, Linux 85f24cb2f10b2b0f2882e5786a09b4790bb3a0ad, Linux 2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd, Linux 7041101ff6c3073fd8f2e99920f535b111c929cb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53624 being exploited?

There is no confirmed exploitation: CVE-2023-53624 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53624?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53624?

Linux \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 4b8a05e3801661a0438fcd0cdef181030d966a5a; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< d0b43125ec892aeb1b03e5df5aab595097da225a; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 4fbefeab88c6e79753a25099d455d3d59d2946b4; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 85f24cb2f10b2b0f2882e5786a09b4790bb3a0ad; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd; \>= afe4fd062416b158a8a8538b23adc1930a9b88dc, \< 7041101ff6c3073fd8f2e99920f535b111c929cb; Linux 3.12.

### Is there a fix for CVE-2023-53624?

Yes. Fixed in Linux 4b8a05e3801661a0438fcd0cdef181030d966a5a, Linux 4fbefeab88c6e79753a25099d455d3d59d2946b4, Linux 85f24cb2f10b2b0f2882e5786a09b4790bb3a0ad, Linux 2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd, Linux 7041101ff6c3073fd8f2e99920f535b111c929cb. Upgrade Linux to 7041101ff6c3073fd8f2e99920f535b111c929cb or later.

### How do I check if I'm affected by CVE-2023-53624?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53624>

HTML: <https://flawdb.com/CVE-2023-53624> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53624>
