CVE-2024-50272 filemap: Fix bounds checking in filemap_read()
A local attacker can trigger an infinite loop in the Linux kernel filemap_read function by supplying specific input, causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-50272?
CVE-2024-50272 is a medium-severity denial of service vulnerability in Linux kernel, published on 19 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-835
Which versions are affected by CVE-2024-50272?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-50272?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-50272 being exploited?
There is no known exploitation of CVE-2024-50272 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-53516, AZL-53637, BELL-CVE-2024-50272, DEBIAN-CVE-2024-50272, GHSA-ch98-87fr-x9f7, ROOT-OS-DEBIAN-11-CVE-2024-50272 and 2 more.