CVE-2024-58010

Updated on 27 Feb 2025

Severity

5.5 Medium severity

Details

CVSS score
5.5
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Overview

About vulnerability

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

Details

Affected packages:
linux @ 4.15.0 (+7 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);

Fixes