CVE-2026-23238 json
romfs: check sb_set_blocksize() return value
published 2026-03-04 8 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-9410
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.251, 5.15.201, 6.1.164, 6.6.127, 6.12.74, 6.18.13, 6.19
- Siemens RUGGEDCOM RST2428P V4.0
- linux Debian 12 6.1.164-1
- linux Debian 13 6.12.74-2
- linux Debian 14 6.18.13-1
debian advisories DEBIAN-CVE-2026-23238
- linux Ubuntu 22.04 LTS 5.15.0-186.196
- linux Ubuntu 24.04 LTS 6.8.0-134.134
- linux-aws Ubuntu 22.04 LTS 5.15.0-1112.119
- linux-aws Ubuntu 24.04 LTS 6.8.0-1060.63
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1112.122
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1063.69
- linux-gke Ubuntu 22.04 LTS 5.15.0-1108.114
- linux-gke Ubuntu 24.04 LTS 6.8.0-1058.64
ubuntu advisories UBUNTU-CVE-2026-23238
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/a381f0f61b35c8894b0bd0d6acef2d8f9b08b244 commit
- git.kernel.org/stable/c/f2521ab1f63a8c244f06a080319e5ff9a2e1bd95 commit
- git.kernel.org/stable/c/2c5829cd8fbbc91568c520b666898f57cdcb8cf6 commit
- git.kernel.org/stable/c/cbd9931e6456822067725354d83446c5bb813030 commit
- git.kernel.org/stable/c/9b203b8ddd7359270e8a694d0584743555128e2c commit
- git.kernel.org/stable/c/4b71ad7676564a94ec5f7d18298f51e8ae53db73 commit
- git.kernel.org/stable/c/ab7ad7abb3660c58ffffdf07ff3bb976e7e0afa0 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-23238 updated cvss 5.5
kernel: romfs: check sb_set_blocksize() return value
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: workaround, no fix planned “To mitigate this issue, prevent the romfs module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-188-05 updated cvss 5.5
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 4.0affected: fixed in V4.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
- Siemens RUGGEDCOM RST2428P
Classification
- Weakness
-
- CWE-617 Reachable Assertion
- Technology feeds
References
-
git.kernel.org
/stable/c/a381f0f61b35c8894b0bd0d6acef2d8f9b08b244
patch
-
git.kernel.org
/stable/c/f2521ab1f63a8c244f06a080319e5ff9a2e1bd95
patch
-
git.kernel.org
/stable/c/2c5829cd8fbbc91568c520b666898f57cdcb8cf6
patch
-
git.kernel.org
/stable/c/cbd9931e6456822067725354d83446c5bb813030
patch
-
git.kernel.org
/stable/c/9b203b8ddd7359270e8a694d0584743555128e2c
patch
-
git.kernel.org
/stable/c/4b71ad7676564a94ec5f7d18298f51e8ae53db73
patch
-
git.kernel.org
/stable/c/ab7ad7abb3660c58ffffdf07ff3bb976e7e0afa0
patch
- cert-portal.siemens.com /productcert/html/ssa-253495.html
Sources
- CVE List CVE-2026-23238
- NVD CVE-2026-23238
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.