{"id":"CVE-2024-50272","summary":"filemap: Fix bounds checking in filemap_read()","details":"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-\u003eki_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.","modified":"2026-04-02T12:21:22.661051Z","published":"2024-11-19T01:30:11.194Z","related":["SUSE-SU-2025:0117-1","SUSE-SU-2025:0153-1","SUSE-SU-2025:0154-1","SUSE-SU-2025:01600-1","SUSE-SU-2025:0289-1","SUSE-SU-2025:20165-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20248-1","SUSE-SU-2025:20249-1","USN-7276-1","USN-7277-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50272.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/26530b757c81f1389fb33ae0357500150933161b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6450e73f4c86d481ac2e22e1bc848d346e140826"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6cc52df69e8464811f9f6fc12f7aaa78451eb0b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2746ab3bbc9c6408da5cd072653ec8c24749235"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ace149e0830c380ddfce7e466fe860ca502fe4ee"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50272.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50272"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c2a9737f45e27d8263ff9643f994bda9bac0b944"},{"fixed":"6cc52df69e8464811f9f6fc12f7aaa78451eb0b8"},{"fixed":"26530b757c81f1389fb33ae0357500150933161b"},{"fixed":"a2746ab3bbc9c6408da5cd072653ec8c24749235"},{"fixed":"6450e73f4c86d481ac2e22e1bc848d346e140826"},{"fixed":"ace149e0830c380ddfce7e466fe860ca502fe4ee"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"272830350bb1bb5bb39395966ea63b9864b135d1"},{"last_affected":"fbc7b803831e5c8a42c1f3427a17e55a814d6b3c"},{"last_affected":"3d549dcfbbb0ecdaa571431a27ee5da9f2466716"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50272.json"}}],"schema_version":"1.7.5"}