Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-23238— romfs: check sb_set_blocksize() return value

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未检查sb_set_blocksize返回值,可能导致内核崩溃。

AI Predicted 7.8 Difficulty: Moderate EPSS 0.20% · P9

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 16

VendorProduct Version RangeStatus
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< a381f0f61b35c8894b0bd0d6acef2d8f9b08b244 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< f2521ab1f63a8c244f06a080319e5ff9a2e1bd95 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 2c5829cd8fbbc91568c520b666898f57cdcb8cf6 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< cbd9931e6456822067725354d83446c5bb813030 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 9b203b8ddd7359270e8a694d0584743555128e2c affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 4b71ad7676564a94ec5f7d18298f51e8ae53db73 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< ab7ad7abb3660c58ffffdf07ff3bb976e7e0afa0 affected
2.6.12 affected
… +8 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-23238

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
romfs: check sb_set_blocksize() return value
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: romfs: check sb_set_blocksize() return value romfs_fill_super() ignores the return value of sb_set_blocksize(), which can fail if the requested block size is incompatible with the block device's configuration. This can be triggered by setting a loop device's block size larger than PAGE_SIZE using ioctl(LOOP_SET_BLOCK_SIZE, 32768), then mounting a romfs filesystem on that device. When sb_set_blocksize(sb, ROMBSIZE) is called with ROMBSIZE=4096 but the device has logical_block_size=32768, bdev_validate_blocksize() fails because the requested size is smaller than the device's logical block size. sb_set_blocksize() returns 0 (failure), but romfs ignores this and continues mounting. The superblock's block size remains at the device's logical block size (32768). Later, when sb_bread() attempts I/O with this oversized block size, it triggers a kernel BUG in folio_set_bh(): kernel BUG at fs/buffer.c:1582! BUG_ON(size > PAGE_SIZE); Fix by checking the return value of sb_set_blocksize() and failing the mount with -EINVAL if it returns 0.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未检查sb_set_blocksize返回值,可能导致内核崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ~ a381f0f61b35c8894b0bd0d6acef2d8f9b08b244 -
Linux Linux 2.6.12 -

II. Public POCs for CVE-2026-23238

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-23238

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-23238 (7)

Same Patch Batch · Linux · 2026-03-04 · 9 CVEs total

CVE-2026-23231 7.8 HIGH netfilter: nf_tables: fix use-after-free in nf_tables_addchain()
CVE-2026-23236 7.3 HIGH fbdev: smscufx: properly copy ioctl memory to kernelspace
CVE-2026-23232 Revert "f2fs: block cache/dio write during f2fs_enable_checkpoint()"
CVE-2025-71238 scsi: qla2xxx: Fix bsg_done() causing double free
CVE-2026-23233 f2fs: fix to avoid mapping wrong physical block for swapfile
CVE-2026-23234 f2fs: fix to avoid UAF in f2fs_write_end_io()
CVE-2026-23235 f2fs: fix out-of-bounds access in sysfs attribute read/write
CVE-2026-23237 platform/x86: classmate-laptop: Add missing NULL pointer checks

IV. Related Vulnerabilities

V. Comments for CVE-2026-23238

No comments yet


Leave a comment