# CVE-2024-56750: erofs: fix blksize < PAGE_SIZE for file-backed mounts

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-12-29T11:30:16.053Z
- Modified: 2026-06-17T08:12:54.190Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fb176750266a3d7f42ebdcf28e8ba40350b27847 before 679d8537e5748241c71ac97a6b6dc919eae31716; from fb176750266a3d7f42ebdcf28e8ba40350b27847 before bae0854160939a64a092516ff1b2f221402b843b; 6.12 (not affected: before 6.12; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/679d8537e5748241c71ac97a6b6dc919eae31716> (patch)
- <https://git.kernel.org/stable/c/bae0854160939a64a092516ff1b2f221402b843b> (patch)

## Sources

- CVE List: [CVE-2024-56750](https://www.cve.org/CVERecord?id=CVE-2024-56750), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56750](https://nvd.nist.gov/vuln/detail/CVE-2024-56750), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56750 · Whole record: https://cve.day/CVE-2024-56750.json · Rebuilt by cve.day 2026-11-25T22:58:50.564Z
