What’s Vulnerable › Vulnerabilities
CVE-2024-50272: filemap: Fix bounds checking in filemap_read()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-19 · updated 2026-06-17
- Weakness: CWE-835
Description
In the Linux kernel, the following vulnerability has been resolved: filemap: Fix bounds checking in filemap_read() If the caller supplies an iocb->ki_pos value that is close to the filesystem upper limit, and an iterator with a count that causes us to overflow that limit, then filemap_read() enters an infinite loop. This behaviour was discovered when testing xfstests generic/525 with the "localio" optimisation for loopback NFS mounts.
Affected products
- Linux kernel: from 3.16.40 before 3.17; from 4.7.10 before 4.8; from 4.8.4 before 4.9; from 4.9 before 6.1.117; from 6.2 before 6.6.61; from 6.7 before 6.11.8 — fixed in 3.17, 4.8, 4.9, 6.1.117, 6.11.8, 6.6.61
How to fix
Upgrade to a fixed version: Linux kernel 3.17, 4.8, 4.9, 6.1.117. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/26530b757c81f1389fb33ae0357500150933161b
- https://git.kernel.org/stable/c/6450e73f4c86d481ac2e22e1bc848d346e140826
- https://git.kernel.org/stable/c/6cc52df69e8464811f9f6fc12f7aaa78451eb0b8
- https://git.kernel.org/stable/c/a2746ab3bbc9c6408da5cd072653ec8c24749235
- https://git.kernel.org/stable/c/ace149e0830c380ddfce7e466fe860ca502fe4ee
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Get alerted when CVE-2024-50272 or the next vulnerability affects your stack