CVE-2024-58010

published 27 Feb 2025 · updated 5 Aug 2026

binfmt_flat: Fix integer overflow bug on 32 bit systems

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0b6be54d7386b7addbf9e5947366f94aad046938, Kernel 55cf2f4b945f6a6416cc2524ba740b83cc9af25a, Kernel 6fb98e0576ea155267e206286413dcb3a3d55c12 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: binfmt_flat: Fix integer overflow bug on 32 bit systems Most of these sizes and counts are capped at 256MB so the math doesn't result in an integer overflow. The "relocs" count needs to be checked as well. Otherwise on 32bit systems the calculation of "full_data" could be wrong. full_data = data_len + relocs * sizeof(unsigned long);

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.8, >=c995ee28d29d6f256c3a8a6c4e66469554374f25 <0b6be54d7386b7addbf9e5947366f94aad046938, >=c995ee28d29d6f256c3a8a6c4e66469554374f25 <55cf2f4b945f6a6416cc2524ba740b83cc9af25a, >=c995ee28d29d6f256c3a8a6c4e66469554374f25 <6fb98e0576ea155267e206286413dcb3a3d55c12, >=c995ee28d29d6f256c3a8a6c4e66469554374f25 <8e8cd712bb06a507b26efd2a56155076aa454345, >=c995ee28d29d6f256c3a8a6c4e66469554374f25 <95506c7f33452450346fbe2975c1359100f854ca, >=c995ee28d29d6f256c3a8a6c4e66469554374f25 <a009378af674b808efcca1e2e67916e79ce866b3, >=c995ee28d29d6f256c3a8a6c4e66469554374f25 <bc8ca18b8ef4648532c001bd6c8151143b569275, >=c995ee28d29d6f256c3a8a6c4e66469554374f25 <d17ca8f2dfcf423c439859995910a20e38b86f000b6be54d7386b7addbf9e5947366f94aad046938, 55cf2f4b945f6a6416cc2524ba740b83cc9af25a, 6fb98e0576ea155267e206286413dcb3a3d55c12, 8e8cd712bb06a507b26efd2a56155076aa454345, 95506c7f33452450346fbe2975c1359100f854ca, a009378af674b808efcca1e2e67916e79ce866b3, bc8ca18b8ef4648532c001bd6c8151143b569275, d17ca8f2dfcf423c439859995910a20e38b86f00

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58010 severity on Zeptric[![CVE-2024-58010](https://zeptric.io/badge/cve/CVE-2024-58010.svg)](https://zeptric.io/cve/CVE-2024-58010)