CVE-2024-58010

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-58010
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58010.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-58010
Downstream
Related
Published
2025-02-27T02:12:05.165Z
Modified
2025-11-27T19:34:44.830917Z
Summary
binfmt_flat: Fix integer overflow bug on 32 bit systems
Details

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);
Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2024/58xxx/CVE-2024-58010.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c995ee28d29d6f256c3a8a6c4e66469554374f25
Fixed
6fb98e0576ea155267e206286413dcb3a3d55c12
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c995ee28d29d6f256c3a8a6c4e66469554374f25
Fixed
bc8ca18b8ef4648532c001bd6c8151143b569275
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c995ee28d29d6f256c3a8a6c4e66469554374f25
Fixed
95506c7f33452450346fbe2975c1359100f854ca
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c995ee28d29d6f256c3a8a6c4e66469554374f25
Fixed
d17ca8f2dfcf423c439859995910a20e38b86f00
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c995ee28d29d6f256c3a8a6c4e66469554374f25
Fixed
a009378af674b808efcca1e2e67916e79ce866b3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c995ee28d29d6f256c3a8a6c4e66469554374f25
Fixed
8e8cd712bb06a507b26efd2a56155076aa454345
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c995ee28d29d6f256c3a8a6c4e66469554374f25
Fixed
55cf2f4b945f6a6416cc2524ba740b83cc9af25a

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.8.0
Fixed
5.4.291
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.235
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.179
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.129
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.78
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.14
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.3