{"id":"CVE-2026-53130","aliases":["CVE-2026-53130"],"related":[],"kind":"vulnerability","state":"published","title":"fs/omfs: reject s_sys_blocksize smaller than OMFS_DIR_START","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/omfs: reject s_sys_blocksize smaller than OMFS_DIR_START\n\nomfs_fill_super() rejects oversized s_sys_blocksize values (> PAGE_SIZE),\nbut it does not reject values smaller than OMFS_DIR_START (0x1b8 = 440).\n\nLater, omfs_make_empty() uses\n\n    sbi->s_sys_blocksize - OMFS_DIR_START\n\nas the length argument to memset().  Since s_sys_blocksize is u32,\na crafted filesystem image with s_sys_blocksize < OMFS_DIR_START causes\nan unsigned underflow there, wrapping to a value near 2^32.  That drives\na ~4 GiB memset() from bh->b_data + OMFS_DIR_START and overwrites kernel\nmemory far beyond the backing block buffer.\n\nAdd the corresponding lower-bound check alongside the existing upper-bound\ncheck in omfs_fill_super(), so that malformed images are rejected during\nsuperblock validation before any filesystem data is processed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/omfs: reject s_sys_blocksize smaller than OMFS_DIR_START\n\nomfs_fill_super() rejects oversized s_sys_blocksize values (> PAGE_SIZE),\nbut it does not reject values smaller than OMFS_DIR_START (0x1b8 = 440).\n\nLater, omfs_make_empty() uses\n\n    sbi->s_sys_blocksize - OMFS_DIR_START\n\nas the length argument to memset().  Since s_sys_blocksize is u32,\na crafted filesystem image with s_sys_blocksize < OMFS_DIR_START causes\nan unsigned underflow there, wrapping to a value near 2^32.  That drives\na ~4 GiB memset() from bh->b_data + OMFS_DIR_START and overwrites kernel\nmemory far beyond the backing block buffer.\n\nAdd the corresponding lower-bound check alongside the existing upper-bound\ncheck in omfs_fill_super(), so that malformed images are rejected during\nsuperblock validation before any filesystem data is processed.","source":"cvelist"}],"published":"2026-06-24T16:30:57.227Z","modified":"2026-08-05T12:33:24.185Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-191"],"affected":[{"ranges":[{"type":"git","introduced":"a3ab7155ea21aadc8a4d5687e91b3d876973185e","fixed":"fbc72f5c645155dc2ed3573243ed20f9913e3a54","status":"affected"},{"type":"git","introduced":"a3ab7155ea21aadc8a4d5687e91b3d876973185e","fixed":"5822a05a841a10794ad818620dd2af490b0705d3","status":"affected"},{"type":"git","introduced":"a3ab7155ea21aadc8a4d5687e91b3d876973185e","fixed":"754ff1bea3819a90c6f33cccfc1a299ef7609f07","status":"affected"},{"type":"git","introduced":"a3ab7155ea21aadc8a4d5687e91b3d876973185e","fixed":"131ea3e57fc22936ed0e2c8330f2e36106172f51","status":"affected"},{"type":"git","introduced":"a3ab7155ea21aadc8a4d5687e91b3d876973185e","fixed":"79f84af38c9fef9deb0e02c79eb969b5541c2644","status":"affected"},{"type":"git","introduced":"a3ab7155ea21aadc8a4d5687e91b3d876973185e","fixed":"6561afc38398e3518a29c5eebb975c30468f98a6","status":"affected"},{"type":"git","introduced":"a3ab7155ea21aadc8a4d5687e91b3d876973185e","fixed":"817f16ed62bc58a168417bfb5e859c2a370bab03","status":"affected"},{"type":"git","introduced":"a3ab7155ea21aadc8a4d5687e91b3d876973185e","fixed":"0621c385fda1376e967f37ccd534c26c3e511d14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.27","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.27","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.141","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.91","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.33","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.10","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.27","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.141"},{"status":"affected","introduced":"6.7","fixed":"6.12.91"},{"status":"affected","introduced":"6.13","fixed":"6.18.33"},{"status":"affected","introduced":"6.19","fixed":"7.0.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/fbc72f5c645155dc2ed3573243ed20f9913e3a54","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5822a05a841a10794ad818620dd2af490b0705d3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/754ff1bea3819a90c6f33cccfc1a299ef7609f07","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/131ea3e57fc22936ed0e2c8330f2e36106172f51","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79f84af38c9fef9deb0e02c79eb969b5541c2644","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6561afc38398e3518a29c5eebb975c30468f98a6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/817f16ed62bc58a168417bfb5e859c2a370bab03","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0621c385fda1376e967f37ccd534c26c3e511d14","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53130","url":"https://www.cve.org/CVERecord?id=CVE-2026-53130","licence":"CVE Terms of Use","modified":"2026-08-05T12:33:24.185Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53130","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53130","licence":"Public domain","modified":"2026-07-06T15:26:25.980Z"}],"updatedAt":"2026-11-25T22:59:25.707Z","epss":{"score":0.00129,"percentile":0.02728,"date":"2026-12-01T12:00:22.000Z"}}