CVE-2024-50272
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-835
- Record status
- Modified
Affected
- Linux Kernel < 3.17
- Linux Kernel < 4.8
- Linux Kernel < 4.9
- Linux Kernel < 6.1.117
- Linux Kernel < 6.6.61
- Linux Kernel < 6.11.8
- Linux Kernel 6.12
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-50272.md and follow it. Check whether this project is affected by CVE-2024-50272. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/26530b757c81f1389fb33ae0357500150933161b
- https://git.kernel.org/stable/c/6450e73f4c86d481ac2e22e1bc848d346e140826
- https://git.kernel.org/stable/c/a2746ab3bbc9c6408da5cd072653ec8c24749235
- https://git.kernel.org/stable/c/ace149e0830c380ddfce7e466fe860ca502fe4ee
References
- https://git.kernel.org/stable/c/26530b757c81f1389fb33ae0357500150933161b
- https://git.kernel.org/stable/c/6450e73f4c86d481ac2e22e1bc848d346e140826
- https://git.kernel.org/stable/c/6cc52df69e8464811f9f6fc12f7aaa78451eb0b8
- https://git.kernel.org/stable/c/a2746ab3bbc9c6408da5cd072653ec8c24749235
- https://git.kernel.org/stable/c/ace149e0830c380ddfce7e466fe860ca502fe4ee
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html