CVE-2026-53130 Details
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.
A vulnerability exists in the Linux kernel's OMFS filesystem handling, specifically within the superblock validation process. The issue arises because the function 'omfs_fill_super()' fails to properly validate the 's_sys_blocksize' value, allowing sizes smaller than the defined minimum (OMFS_DIR_START) to be accepted. This oversight can be exploited by crafting a filesystem image with a 's_sys_blocksize' less than the minimum, causing an unsigned underflow when the value is used as a length argument in 'memset()'. The resulting memory overwrite can extend far beyond the intended buffer, potentially leading to arbitrary code execution or other malicious outcomes.
The vulnerability has been addressed by adding a lower-bound check for 's_sys_blocksize' in the 'omfs_fill_super()' function. Users should update to the latest version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0621c385fda1376e967f37ccd534c26c3e511d14 | kernel.org | Patch |
| https://git.kernel.org/stable/c/131ea3e57fc22936ed0e2c8330f2e36106172f51 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5822a05a841a10794ad818620dd2af490b0705d3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6561afc38398e3518a29c5eebb975c30468f98a6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/754ff1bea3819a90c6f33cccfc1a299ef7609f07 | kernel.org | Patch |
| https://git.kernel.org/stable/c/79f84af38c9fef9deb0e02c79eb969b5541c2644 | kernel.org | Patch |
| https://git.kernel.org/stable/c/817f16ed62bc58a168417bfb5e859c2a370bab03 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fbc72f5c645155dc2ed3573243ed20f9913e3a54 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.27, < 5.10.258 >= 5.11, < 5.15.209 >= 5.16, < 6.1.175 >= 6.2, < 6.6.141 >= 6.7, < 6.12.91 >= 6.13, < 6.18.33 >= 6.19, < 7.0.10 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 6, 2026 | Initial Analysis | [email protected] |
| Jun 28, 2026 | CVE Modified | kernel.org |
| Jun 24, 2026 | New CVE Received | kernel.org |