erofs: fix blksize < PAGE_SIZE for file-backed mounts
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
erofs: fix blksize < PAGE_SIZE for file-backed mounts
Adjust sb->s_blocksize{,_bits} directly for file-backed mounts when the fs block size is smaller than PAGE_SIZE.
Previously, EROFS used sb_set_blocksize(), which caused a panic if bdev-backed mounts is not used.
From the CVE record · Linux
Linux kernel EROFS file-backed mounts can panic when the filesystem block size is smaller than PAGE_SIZE. The issue occurs during a file-backed mount rather than a block-device-backed mount; the input does not specify attacker access, authentication, or user-interaction requirements.
Teams running Linux kernel EROFS file-backed mounts should check their kernel versions; affected versions were not provided.