What’s Vulnerable › Vulnerabilities

CVE-2024-50272: filemap: Fix bounds checking in filemap_read()

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

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

Get alerted when CVE-2024-50272 or the next vulnerability affects your stack