filemap: Fix bounds checking in filemap_read() (Linux Linux)

CVE-2024-50272
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 20 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-835 — Boucle dont la condition de sortie est inatteignable (boucle infinie)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected c2a9737f45e27d8263ff9643f994bda9bac0b944 < 6cc52df69e8464811f9f6fc12f7aaa78451eb0b8 ; affected c2a9737f45e27d8263ff9643f994bda9bac0b944 < 26530b757c81f1389fb33ae0357500150933161b ; affected c2a9737f45e27d8263ff9643f994bda9bac0b944 < a2746ab3bbc9c6408da5cd072653ec8c24749235 ; affected c2a9737f45e27d8263ff9643f994bda9bac0b944 < 6450e73f4c86d481ac2e22e1bc848d346e140826 ; affected c2a9737f45e27d8263ff9643f994bda9bac0b944 < ace149e0830c380ddfce7e466fe860ca502fe4ee ; affected 272830350bb1bb5bb39395966ea63b9864b135d1
Linux · Linuxaffected 4.9 ; unaffected 0 < 4.9 ; unaffected 5.15.181 ≤ 5.15.* ; unaffected 6.1.117 ≤ 6.1.* ; unaffected 6.6.61 ≤ 6.6.* ; unaffected 6.11.8 ≤ 6.11.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD