{"id":"CVE-2024-50272","published":"2024-11-19T01:30:11Z","modified":"2026-05-23T15:54:55Z","title":"filemap: Fix bounds checking in filemap_read()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfilemap: Fix bounds checking in filemap_read()\n\nIf the caller supplies an iocb->ki_pos value that is close to the\nfilesystem upper limit, and an iterator with a count that causes us to\noverflow that limit, then filemap_read() enters an infinite loop.\n\nThis behaviour was discovered when testing xfstests generic/525 with the\n\"localio\" optimisation for loopback NFS mounts.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00301,"percentile":0.15233,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6cc52df69e8464811f9f6fc12f7aaa78451eb0b8","tags":[]},{"url":"https://git.kernel.org/stable/c/26530b757c81f1389fb33ae0357500150933161b","tags":[]},{"url":"https://git.kernel.org/stable/c/a2746ab3bbc9c6408da5cd072653ec8c24749235","tags":[]},{"url":"https://git.kernel.org/stable/c/6450e73f4c86d481ac2e22e1bc848d346e140826","tags":[]},{"url":"https://git.kernel.org/stable/c/ace149e0830c380ddfce7e466fe860ca502fe4ee","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":3.05}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c2a9737f45e27d8263ff9643f994bda9bac0b944, < 6cc52df69e8464811f9f6fc12f7aaa78451eb0b8",">= c2a9737f45e27d8263ff9643f994bda9bac0b944, < 26530b757c81f1389fb33ae0357500150933161b",">= c2a9737f45e27d8263ff9643f994bda9bac0b944, < a2746ab3bbc9c6408da5cd072653ec8c24749235",">= c2a9737f45e27d8263ff9643f994bda9bac0b944, < 6450e73f4c86d481ac2e22e1bc848d346e140826",">= c2a9737f45e27d8263ff9643f994bda9bac0b944, < ace149e0830c380ddfce7e466fe860ca502fe4ee","272830350bb1bb5bb39395966ea63b9864b135d1","fbc7b803831e5c8a42c1f3427a17e55a814d6b3c","3d549dcfbbb0ecdaa571431a27ee5da9f2466716",">= 3.16.40, < 3.17",">= 4.7.10, < 4.8"]},{"vendor":"Linux","product":"Linux","versions":["4.9"]}],"euvd":{"id":"EUVD-2024-44774","exploited":false,"provenance":"source"}}