5.5
MEDIUM
CVE-2024-58010
Linux Kernel binfmt_flat Integer Overflow Vulnerability
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);

INFO

Published Date :

Feb. 27, 2025, 3:15 a.m.

Last Modified :

March 6, 2025, 12:42 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-58010 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-58010 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-58010 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 06, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-190
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 from (excluding) 6.13.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.78 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.12.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 from (excluding) 6.1.129
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/55cf2f4b945f6a6416cc2524ba740b83cc9af25a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/8e8cd712bb06a507b26efd2a56155076aa454345 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/95506c7f33452450346fbe2975c1359100f854ca Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a009378af674b808efcca1e2e67916e79ce866b3 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d17ca8f2dfcf423c439859995910a20e38b86f00 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Feb. 27, 2025

    Action Type Old Value New Value
    Added 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);
    Added Reference https://git.kernel.org/stable/c/55cf2f4b945f6a6416cc2524ba740b83cc9af25a
    Added Reference https://git.kernel.org/stable/c/8e8cd712bb06a507b26efd2a56155076aa454345
    Added Reference https://git.kernel.org/stable/c/95506c7f33452450346fbe2975c1359100f854ca
    Added Reference https://git.kernel.org/stable/c/a009378af674b808efcca1e2e67916e79ce866b3
    Added Reference https://git.kernel.org/stable/c/d17ca8f2dfcf423c439859995910a20e38b86f00
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-58010 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-58010 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability