Skip to main content
← All vulnerabilities
CVE-2024-50272

filemap: Fix bounds checking in filemap_read()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.17, 4.8, 4.9
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 3.16.40 · fixed in 3.17; From 4.7.10 · fixed in 4.8; From 4.8.4 · fixed in 4.9

  • Linux Linux

    4.9

References 5

git.kernel.org