{"id":"CVE-2024-58010","summary":"binfmt_flat: Fix integer overflow bug on 32 bit systems","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbinfmt_flat: Fix integer overflow bug on 32 bit systems\n\nMost of these sizes and counts are capped at 256MB so the math doesn't\nresult in an integer overflow.  The \"relocs\" count needs to be checked\nas well.  Otherwise on 32bit systems the calculation of \"full_data\"\ncould be wrong.\n\n\tfull_data = data_len + relocs * sizeof(unsigned long);","modified":"2026-04-02T12:25:28.453560Z","published":"2025-02-27T02:12:05.165Z","related":["USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58010.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b6be54d7386b7addbf9e5947366f94aad046938"},{"type":"WEB","url":"https://git.kernel.org/stable/c/55cf2f4b945f6a6416cc2524ba740b83cc9af25a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fb98e0576ea155267e206286413dcb3a3d55c12"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e8cd712bb06a507b26efd2a56155076aa454345"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95506c7f33452450346fbe2975c1359100f854ca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a009378af674b808efcca1e2e67916e79ce866b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc8ca18b8ef4648532c001bd6c8151143b569275"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d17ca8f2dfcf423c439859995910a20e38b86f00"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58010.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58010"},{"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":"c995ee28d29d6f256c3a8a6c4e66469554374f25"},{"fixed":"0b6be54d7386b7addbf9e5947366f94aad046938"},{"fixed":"6fb98e0576ea155267e206286413dcb3a3d55c12"},{"fixed":"bc8ca18b8ef4648532c001bd6c8151143b569275"},{"fixed":"95506c7f33452450346fbe2975c1359100f854ca"},{"fixed":"d17ca8f2dfcf423c439859995910a20e38b86f00"},{"fixed":"a009378af674b808efcca1e2e67916e79ce866b3"},{"fixed":"8e8cd712bb06a507b26efd2a56155076aa454345"},{"fixed":"55cf2f4b945f6a6416cc2524ba740b83cc9af25a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58010.json"}}],"schema_version":"1.7.5"}