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… (CVE-2024-57256)
Description
An integer overflow vulnerability exists in the ext4fs_read_symlink function of Das U-Boot before version 2025.01-rc1. This flaw occurs when handling a crafted ext4 filesystem with an inode size of 0xffffffff, causing a zero-byte allocation and subsequent memory overwrite. The issue can lead to denial of service or arbitrary code execution.
CVSS v3.1
Score 7.1high
Affected software
pkg:deb/ubuntu/u-boot?arch=source&distro=xenialpkg:deb/ubuntu/u-boot?arch=source&distro=bionicpkg:deb/ubuntu/u-boot?arch=source&distro=focalpkg:deb/ubuntu/u-boot?arch=source&distro=jammypkg:deb/ubuntu/u-boot-nezha?arch=source&distro=jammypkg:deb/ubuntu/u-boot?arch=source&distro=noblepkg:deb/ubuntu/u-boot-nezha?arch=source&distro=nobleRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-57256 describes an integer overflow in the ext4fs_read_symlink function of Das U-Boot prior to 2025.01-rc1. The vulnerability arises from adding one to a 32-bit little-endian variable representing inode size, which can overflow when the inode size is set to 0xffffffff. This results in a zero-sized memory allocation (malloc(0)) and a consequent memory overwrite. An attacker can exploit this by providing a specially crafted ext4 filesystem to cause U-Boot to crash or execute arbitrary code.
Potential Impact
Successful exploitation of this vulnerability can cause U-Boot to crash, resulting in denial of service, or potentially allow execution of arbitrary code with high impact on confidentiality, integrity, and availability. The CVSS 3.1 base score is 7.1, indicating a high severity with attack vector being physical (local), high attack complexity, no privileges required, no user interaction, and scope changed.
Mitigation Recommendations
A patch is available and should be applied to affected U-Boot packages. Ubuntu has released fixed versions for multiple releases, including 24.04 LTS and 22.04 LTS. Users should update to the patched versions listed in the Ubuntu security notice USN-8056-1. Standard system updates will apply the necessary fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2024-57256
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS"]
- Cvss Version
- 3.1
Patch Information
Threat ID: 6a8effeeacd9273b49087c3f
Added to database: 08/26/2026, 15:02:06 UTC
Last enriched: 09/10/2026, 11:09:15 UTC
Last updated: 10/15/2026, 18:48:12 UTC
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.