CVE-2024-50272

Source
https://cve.org/CVERecord?id=CVE-2024-50272
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50272.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50272
Downstream
Related
Published
2024-11-19T01:30:11.194Z
Modified
2026-03-20T12:39:40.042518Z
Summary
filemap: Fix bounds checking in filemap_read()
Details

In the Linux kernel, the following vulnerability has been resolved:

filemap: Fix bounds checking in filemap_read()

If the caller supplies an iocb->kipos value that is close to the filesystem upper limit, and an iterator with a count that causes us to overflow that limit, then filemapread() enters an infinite loop.

This behaviour was discovered when testing xfstests generic/525 with the "localio" optimisation for loopback NFS mounts.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50272.json"
}
References

Affected packages

Git / 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
0 Unknown introduced commit / All previous commits are affected
Last affected
272830350bb1bb5bb39395966ea63b9864b135d1
Last affected
fbc7b803831e5c8a42c1f3427a17e55a814d6b3c
Last affected
3d549dcfbbb0ecdaa571431a27ee5da9f2466716

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50272.json"