# CVE-2026-53130: fs/omfs: reject s_sys_blocksize smaller than OMFS_DIR_START

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-24T16:30:57.227Z
- Modified: 2026-08-05T12:33:24.185Z
- Weaknesses: CWE-191
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a3ab7155ea21aadc8a4d5687e91b3d876973185e before fbc72f5c645155dc2ed3573243ed20f9913e3a54; from a3ab7155ea21aadc8a4d5687e91b3d876973185e before 5822a05a841a10794ad818620dd2af490b0705d3; from a3ab7155ea21aadc8a4d5687e91b3d876973185e before 754ff1bea3819a90c6f33cccfc1a299ef7609f07; from a3ab7155ea21aadc8a4d5687e91b3d876973185e before 131ea3e57fc22936ed0e2c8330f2e36106172f51; from a3ab7155ea21aadc8a4d5687e91b3d876973185e before 79f84af38c9fef9deb0e02c79eb969b5541c2644; from a3ab7155ea21aadc8a4d5687e91b3d876973185e before 6561afc38398e3518a29c5eebb975c30468f98a6; from a3ab7155ea21aadc8a4d5687e91b3d876973185e before 817f16ed62bc58a168417bfb5e859c2a370bab03; from a3ab7155ea21aadc8a4d5687e91b3d876973185e before 0621c385fda1376e967f37ccd534c26c3e511d14; 2.6.27 (not affected: before 2.6.27; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.27 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/fbc72f5c645155dc2ed3573243ed20f9913e3a54> (patch)
- <https://git.kernel.org/stable/c/5822a05a841a10794ad818620dd2af490b0705d3> (patch)
- <https://git.kernel.org/stable/c/754ff1bea3819a90c6f33cccfc1a299ef7609f07> (patch)
- <https://git.kernel.org/stable/c/131ea3e57fc22936ed0e2c8330f2e36106172f51> (patch)
- <https://git.kernel.org/stable/c/79f84af38c9fef9deb0e02c79eb969b5541c2644> (patch)
- <https://git.kernel.org/stable/c/6561afc38398e3518a29c5eebb975c30468f98a6> (patch)
- <https://git.kernel.org/stable/c/817f16ed62bc58a168417bfb5e859c2a370bab03> (patch)
- <https://git.kernel.org/stable/c/0621c385fda1376e967f37ccd534c26c3e511d14> (patch)

## Sources

- CVE List: [CVE-2026-53130](https://www.cve.org/CVERecord?id=CVE-2026-53130), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-53130](https://nvd.nist.gov/vuln/detail/CVE-2026-53130), Public domain, modified 2026-07-06

---

Page: https://cve.day/CVE-2026-53130 · Whole record: https://cve.day/CVE-2026-53130.json · Rebuilt by cve.day 2026-11-25T22:59:25.707Z
