{"id":"CVE-2023-53624","summary":"net/sched: sch_fq: fix integer overflow of \"credit\"","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_fq: fix integer overflow of \"credit\"\n\nif sch_fq is configured with \"initial quantum\" having values greater than\nINT_MAX, the first assignment of \"credit\" does signed integer overflow to\na very negative value.\nIn this situation, the syzkaller script provided by Cristoph triggers the\nCPU soft-lockup warning even with few sockets. It's not an infinite loop,\nbut \"credit\" wasn't probably meant to be minus 2Gb for each new flow.\nCapping \"initial quantum\" to INT_MAX proved to fix the issue.\n\nv2: validation of \"initial quantum\" is done in fq_policy, instead of open\n    coding in fq_change() _ suggested by Jakub Kicinski","modified":"2026-04-11T12:46:50.512082Z","published":"2025-10-07T15:19:29.545Z","related":["SUSE-SU-2025:4189-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53624.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4b8a05e3801661a0438fcd0cdef181030d966a5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4fbefeab88c6e79753a25099d455d3d59d2946b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7041101ff6c3073fd8f2e99920f535b111c929cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/85f24cb2f10b2b0f2882e5786a09b4790bb3a0ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0b43125ec892aeb1b03e5df5aab595097da225a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53624.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53624"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"afe4fd062416b158a8a8538b23adc1930a9b88dc"},{"fixed":"4b8a05e3801661a0438fcd0cdef181030d966a5a"},{"fixed":"d0b43125ec892aeb1b03e5df5aab595097da225a"},{"fixed":"4fbefeab88c6e79753a25099d455d3d59d2946b4"},{"fixed":"85f24cb2f10b2b0f2882e5786a09b4790bb3a0ad"},{"fixed":"2322462d6f9ad4874f4e3c63df3b5cc00cb1acbd"},{"fixed":"7041101ff6c3073fd8f2e99920f535b111c929cb"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53624.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.12.0"},{"fixed":"5.10.180"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.28"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.3.0"},{"fixed":"6.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53624.json"}}],"schema_version":"1.7.5"}