CVE-2024-50272

Source
https://cve.org/CVERecord?id=CVE-2024-50272
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50272.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-50272
Downstream
AZL (2)
BELL (1)
CLSA (1)
DEBIAN (1)
OESA (3)
RHSA (1)
ROOT (2)
SUSE (9)
UBUNTU (1)
Related
Published
2024-11-19T01:30:11Z
Modified
2026-10-20T10:30:27Z
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->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.

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
3.16.40
Fixed
3.17
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4.7.10
Fixed
4.8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4.8.4
Fixed
4.9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
272830350bb1bb5bb39395966ea63b9864b135d1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fbc7b803831e5c8a42c1f3427a17e55a814d6b3c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3d549dcfbbb0ecdaa571431a27ee5da9f2466716

Affected versions

v3.*
v3.16.40
v3.16.41
v3.16.42
v3.16.43
v3.16.44
v3.16.45
v3.16.46
v3.16.47
v3.16.48
v3.16.49
v3.16.50
v3.16.51
v3.16.52
v3.16.53
v3.16.54
v3.16.55
v3.16.56
v3.16.57
v3.16.58
v3.16.59
v3.16.60
v3.16.61
v3.16.62
v3.16.63
v3.16.64
v3.16.65
v3.16.66
v3.16.67
v3.16.68
v3.16.69
v3.16.70
v3.16.71
v3.16.72
v3.16.73
v3.16.74
v3.16.75
v3.16.76
v3.16.77
v3.16.78
v3.16.79
v3.16.80
v3.16.81
v3.16.82
v3.16.83
v3.16.84
v3.16.85
v4.*
v4.7.10
v4.8.10
v4.8.11
v4.8.12
v4.8.13
v4.8.14
v4.8.15
v4.8.16
v4.8.17
v4.8.4
v4.8.5
v4.8.6
v4.8.7
v4.8.8
v4.8.9

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.9.0
Fixed
5.15.181
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.117
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.61
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.8

Database specific

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