Skip to content

CVE-2026-34962 barebox ext4 Directory Parsing Infinite Loop Denial of Service

MediumCVSS 6.9 EPSS 0.13%
Published
Updated
Exploit status
No public exploit known

Description

barebox version prior to 2026.04.0 contains a denial-of-service vulnerability in ext4 directory parsing in fs/ext4/ext4_common.c where the ext4fs_iterate_dir() function fails to validate that directory entry length values are non-zero. Attackers can supply a malicious ext4 filesystem image with a crafted directory entry containing a direntlen value of 0 to cause an infinite loop during directory listing or path resolution, resulting in the boot process hanging indefinitely.

Affected products

ProductAffected versionsFixed in
barebox < 2026.04.0 2026.04.0
pengutronix barebox < 2026.04.0 2026.04.0

References