CVE 7.8 HIGH

fs/omfs: reject s_sys_blocksize smaller than OMFS_DIR_START_CVE-2026-53130

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

In the Linux kernel, the following vulnerability has been resolved:

fs/omfs: reject s_sys_blocksize smaller than OMFS_DIR_START

omfs_fill_super() rejects oversized s_sys_blocksize values (> PAGE_SIZE),
but it does not reject values smaller than OMFS_DIR_START (0x1b8 = 440).

Later, omfs_make_empty() uses

sbi->s_sys_blocksize - OMFS_DIR_START

as the length argument to memset(). Since s_sys_blocksize is u32,
a crafted filesystem image with s_sys_blocksize < OMFS_DIR_START causes
an unsigned underflow there, wrapping to a value near 2^32. That drives
a ~4 GiB memset() from bh->b_data + OMFS_DIR_START and overwrites kernel
memory far beyond the backing block buffer.

Add the corresponding lower-bound check alongside the existing upper-bound
check in omfs_fill_super(), so that malformed images are rejected during
superblock validation before any filesystem data is processed.

Basic Information

ID CVE-2026-53130
Source Linux
Published Jun 24, 2026 at 16:30
Modified Jun 28, 2026 at 06:39

Affected Product

Vendor Linux
Product Linux
Version a3ab7155ea21aadc8a4d5687e91b3d876973185e
Affected Versions Linux Linux a3ab7155ea21aadc8a4d5687e91b3d876973185e
Linux Linux a3ab7155ea21aadc8a4d5687e91b3d876973185e
Linux Linux a3ab7155ea21aadc8a4d5687e91b3d876973185e
Linux Linux a3ab7155ea21aadc8a4d5687e91b3d876973185e
Linux Linux a3ab7155ea21aadc8a4d5687e91b3d876973185e
Linux Linux a3ab7155ea21aadc8a4d5687e91b3d876973185e
Linux Linux a3ab7155ea21aadc8a4d5687e91b3d876973185e
Linux Linux a3ab7155ea21aadc8a4d5687e91b3d876973185e
Linux Linux 2.6.27

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.