VYPR
Unrated severityNVD Advisory· Published Nov 19, 2024· Updated Nov 3, 2025

filemap: Fix bounds checking in filemap_read()

CVE-2024-50272

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

79

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.