{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-50272","id":"CVE-2024-50272","title":"filemap: Fix bounds checking in filemap_read()","description":"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\"local","descriptionLong":"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.","published":"2024-11-19T01:30:11.194Z","updated":"2026-11-17T07:00:52.498158485Z","reserved":"2024-10-21T19:36:19.982Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c2a9737f45e27d8263ff9643f994bda9bac0b944","lessThan":"6cc52df69e8464811f9f6fc12f7aaa78451eb0b8","status":"affected","versionType":"git"},{"version":"c2a9737f45e27d8263ff9643f994bda9bac0b944","lessThan":"26530b757c81f1389fb33ae0357500150933161b","status":"affected","versionType":"git"},{"version":"c2a9737f45e27d8263ff9643f994bda9bac0b944","lessThan":"a2746ab3bbc9c6408da5cd072653ec8c24749235","status":"affected","versionType":"git"},{"version":"c2a9737f45e27d8263ff9643f994bda9bac0b944","lessThan":"6450e73f4c86d481ac2e22e1bc848d346e140826","status":"affected","versionType":"git"},{"version":"c2a9737f45e27d8263ff9643f994bda9bac0b944","lessThan":"ace149e0830c380ddfce7e466fe860ca502fe4ee","status":"affected","versionType":"git"},{"version":"272830350bb1bb5bb39395966ea63b9864b135d1","status":"affected","versionType":"git"},{"version":"fbc7b803831e5c8a42c1f3427a17e55a814d6b3c","status":"affected","versionType":"git"},{"version":"3d549dcfbbb0ecdaa571431a27ee5da9f2466716","status":"affected","versionType":"git"},{"version":"3.16.40","lessThan":"3.17","status":"affected","versionType":"semver"},{"version":"4.7.10","lessThan":"4.8","status":"affected","versionType":"semver"},{"version":"4.8.4","lessThan":"4.9","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","lessThan":"4.9","status":"unaffected","versionType":"semver"},{"version":"5.15.181","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.117","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.61","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.8","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-835"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6cc52df69e8464811f9f6fc12f7aaa78451eb0b8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/26530b757c81f1389fb33ae0357500150933161b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a2746ab3bbc9c6408da5cd072653ec8c24749235","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6450e73f4c86d481ac2e22e1bc848d346e140826","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ace149e0830c380ddfce7e466fe860ca502fe4ee","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50272.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50272","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00275,"epssPercentile":0.20188,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-50272","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50272","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-50272","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-50272","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}