CVE-2024-53235

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-53235
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53235.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53235
Downstream
Published
2024-12-27T13:50:21Z
Modified
2025-10-17T17:54:51.157314Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
erofs: fix file-backed mounts over FUSE
Details

In the Linux kernel, the following vulnerability has been resolved:

erofs: fix file-backed mounts over FUSE

syzbot reported a null-ptr-deref in fusereadargsfill: fusereadfolio+0xb0/0x100 fs/fuse/file.c:905 filemapreadfolio+0xc6/0x2a0 mm/filemap.c:2367 doreadcachefolio+0x263/0x5c0 mm/filemap.c:3825 readmappingfolio include/linux/pagemap.h:1011 [inline] erofsbread+0x34d/0x7e0 fs/erofs/data.c:41 erofsreadsuperblock fs/erofs/super.c:281 [inline] erofsfcfillsuper+0x2b9/0x2500 fs/erofs/super.c:625

Unlike most filesystems, some network filesystems and FUSE need unavoidable valid file pointers for their read I/Os [1]. Anyway, those use cases need to be supported too.

[1] https://docs.kernel.org/filesystems/vfs.html

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fb176750266a3d7f42ebdcf28e8ba40350b27847
Fixed
5036f2f024cac40a02ea6ea70de2c3a4407d16bc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fb176750266a3d7f42ebdcf28e8ba40350b27847
Fixed
3a23787ca8756920d65fda39f41353a4be1d1642

Affected versions

v6.*

v6.11
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.2