CVE-2024-58010

binfmt_flat: Fix integer overflow bug on 32 bit systems

State
Published
Severity
7.8 High
Published
Feb 27, 2025
Updated
Aug 5, 2026
Reserved
Feb 27, 2025

Read the record on cve.org

Description

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);

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c995ee28d29d6f256c3a8a6c4e66469554374f25 to before 0b6be54d7386b7addbf9e5947366f94aad046938Affected
  • c995ee28d29d6f256c3a8a6c4e66469554374f25 to before 6fb98e0576ea155267e206286413dcb3a3d55c12Affected
  • c995ee28d29d6f256c3a8a6c4e66469554374f25 to before bc8ca18b8ef4648532c001bd6c8151143b569275Affected
  • c995ee28d29d6f256c3a8a6c4e66469554374f25 to before 95506c7f33452450346fbe2975c1359100f854caAffected
  • c995ee28d29d6f256c3a8a6c4e66469554374f25 to before d17ca8f2dfcf423c439859995910a20e38b86f00Affected
  • c995ee28d29d6f256c3a8a6c4e66469554374f25 to before a009378af674b808efcca1e2e67916e79ce866b3Affected
  • c995ee28d29d6f256c3a8a6c4e66469554374f25 to before 8e8cd712bb06a507b26efd2a56155076aa454345Affected
  • c995ee28d29d6f256c3a8a6c4e66469554374f25 to before 55cf2f4b945f6a6416cc2524ba740b83cc9af25aAffected
LinuxLinux
  • 4.8Affected
  • before 4.8Not affected
  • 5.4.291 through 5.4.*Not affected
  • 5.10.235 through 5.10.*Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.129 through 6.1.*Not affected
  • 6.6.78 through 6.6.*Not affected
  • 6.12.14 through 6.12.*Not affected
  • 6.13.3 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.