CVE-2024-50272

published 19 Nov 2024 · updated 17 Nov 2026

filemap: Fix bounds checking in filemap_read()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ace149e0830c380ddfce7e466fe860ca502fe4ee, Kernel 3.17, Kernel 4.8 and 9 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=c2a9737f45e27d8263ff9643f994bda9bac0b944 <ace149e0830c380ddfce7e466fe860ca502fe4ee, >=3.16.40 <3.17, >=4.7.10 <4.8, >=4.8.4 <4.9, >=c2a9737f45e27d8263ff9643f994bda9bac0b944 <26530b757c81f1389fb33ae0357500150933161b, >=c2a9737f45e27d8263ff9643f994bda9bac0b944 <6450e73f4c86d481ac2e22e1bc848d346e140826, >=c2a9737f45e27d8263ff9643f994bda9bac0b944 <6cc52df69e8464811f9f6fc12f7aaa78451eb0b8, >=c2a9737f45e27d8263ff9643f994bda9bac0b944 <a2746ab3bbc9c6408da5cd072653ec8c24749235, =272830350bb1bb5bb39395966ea63b9864b135d1, =3d549dcfbbb0ecdaa571431a27ee5da9f2466716, =4.9, =fbc7b803831e5c8a42c1f3427a17e55a814d6b3cace149e0830c380ddfce7e466fe860ca502fe4ee, 3.17, 4.8, 4.9, 26530b757c81f1389fb33ae0357500150933161b, 6450e73f4c86d481ac2e22e1bc848d346e140826, 6cc52df69e8464811f9f6fc12f7aaa78451eb0b8, a2746ab3bbc9c6408da5cd072653ec8c24749235
linux-kernel: Kernel>=4.7.10 <4.8, >=4.8.4 <4.9, >=4.9.0 <5.15.181, >=5.16.0 <6.1.117, >=6.2.0 <6.6.61, >=6.7.0 <6.11.8, >=3.16.40 <3.174.8, 4.9, 5.15.181, 6.1.117, 6.6.61, 6.11.8, 3.17

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50272 severity on Zeptric[![CVE-2024-50272](https://zeptric.io/badge/cve/CVE-2024-50272.svg)](https://zeptric.io/cve/CVE-2024-50272)