{"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-11-13T04:03:20.166690288Z","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":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50272.json"},"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":"272830350bb1bb5bb39395966ea63b9864b135d1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fbc7b803831e5c8a42c1f3427a17e55a814d6b3c"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3d549dcfbbb0ecdaa571431a27ee5da9f2466716"}]}],"versions":["v3.16.85","v3.16.84","v3.16.83","v3.16.82","v3.16.81","v3.16.80","v3.16.79","v3.16.78","v3.16.77","v3.16.76","v3.16.75","v3.16.74","v3.16.73","v3.16.72","v3.16.71","v3.16.70","v3.16.69","v3.16.68","v3.16.67","v3.16.66","v3.16.65","v3.16.64","v3.16.63","v3.16.62","v3.16.61","v3.16.60","v3.16.59","v3.16.58","v3.16.57","v3.16.56","v3.16.55","v3.16.54","v3.16.53","v3.16.52","v3.16.51","v3.16.50","v3.16.49","v3.16.48","v3.16.47","v3.16.46","v3.16.45","v3.16.44","v3.16.43","v3.16.42","v3.16.41","v3.16.40","v4.7.10","v4.8.17","v4.8.16","v4.8.15","v4.8.14","v4.8.13","v4.8.12","v4.8.11","v4.8.10","v4.8.9","v4.8.8","v4.8.7","v4.8.6","v4.8.5","v4.8.4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50272.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.16.40"},{"fixed":"3.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.7.10"},{"fixed":"4.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.8.4"},{"fixed":"4.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.9.0"},{"fixed":"5.15.181"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.11.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50272.json"}}],"schema_version":"1.9.2"}