CVE-2024-56750

erofs: fix blksize < PAGE_SIZE for file-backed mounts

State
Published
Severity
5.5 Medium
Published
Dec 29, 2024
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fb176750266a3d7f42ebdcf28e8ba40350b27847 to before 679d8537e5748241c71ac97a6b6dc919eae31716Affected
  • fb176750266a3d7f42ebdcf28e8ba40350b27847 to before bae0854160939a64a092516ff1b2f221402b843bAffected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.