CVE-2024-57256
medium
CVSS v3
6.8
CVSS v2
—
VIR risk
6.8
Description
An integer overflow in ext4fs_read_symlink in Das U-Boot before 2025.01-rc1 occurs for zalloc (adding one to an le32 variable) via a crafted ext4 filesystem with an inode size of 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.
Predictions
Exploit likelihood
67%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-57256
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-57256.html
Vendor advisory: cve@mitre.org — https://www.openwall.com/lists/oss-security/2025/02/17/2
Vendor advisory: cve@mitre.org — https://source.denx.de/u-boot/u-boot/-/commit/35f75d2a46e5859138c83a75cd2f4141c5479ab9
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 2023.01+dfsg-2+deb12u2 |
| debian | bullseye | fixed | 2021.01+dfsg-5+deb11u1 |
| debian | forky | fixed | 2025.01-1 |
| debian | sid | fixed | 2025.01-1 |
| debian | trixie | fixed | 2025.01-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| denx | u-boot | {"endIncluding":"2024.10"} | |
References
- https://source.denx.de/u-boot/u-boot/-/commit/35f75d2a46e5859138c83a75cd2f4141c5479ab9
- https://www.openwall.com/lists/oss-security/2025/02/17/2
- https://lists.debian.org/debian-lts-announce/2025/05/msg00001.html
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html
- https://www.suse.com/security/cve/CVE-2024-57256.html
- https://security-tracker.debian.org/tracker/CVE-2024-57256
CWEs
CWE-190
Verify integrity in audit chain (admin only). AS-IS.