CVEvulnerability
CVE-2024-58010
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-02-27
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-190
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);
Affected configurations
• linux linux kernel (>= 4.8 < 6.1.129)
• linux linux kernel (>= 6.2 < 6.6.78)
• linux linux kernel (>= 6.7 < 6.12.14)
• linux linux kernel (>= 6.13 < 6.13.3)
Related
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://git.kernel.org/stable/c/0b6be54d7386b7addbf9e5947366f94aad046938 git.kernel.org
- https://git.kernel.org/stable/c/55cf2f4b945f6a6416cc2524ba740b83cc9af25a Patch
- https://git.kernel.org/stable/c/6fb98e0576ea155267e206286413dcb3a3d55c12 git.kernel.org
- https://git.kernel.org/stable/c/8e8cd712bb06a507b26efd2a56155076aa454345 Patch
- https://git.kernel.org/stable/c/95506c7f33452450346fbe2975c1359100f854ca Patch
- https://git.kernel.org/stable/c/a009378af674b808efcca1e2e67916e79ce866b3 Patch
- https://git.kernel.org/stable/c/bc8ca18b8ef4648532c001bd6c8151143b569275 git.kernel.org
- https://git.kernel.org/stable/c/d17ca8f2dfcf423c439859995910a20e38b86f00 Patch
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org