Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2024-56750

erofs: fix blksize < PAGE_SIZE for file-backed mounts

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • fb176750266a3d7f42ebdcf28e8ba40350b27847 to < 679d8537e5748241c71ac97a6b6dc919eae31716affected
  • fb176750266a3d7f42ebdcf28e8ba40350b27847 to < bae0854160939a64a092516ff1b2f221402b843baffected

Linux Linux

Default version status: affected

  • 6.12affected
  • 0 to < 6.12unaffected
  • 6.12.2 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References