block: refine the EOF check in blkdev_iomap_begin (Linux Linux)

CVE-2024-38604
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: block: refine the EOF check in blkdev_iomap_begin blkdev_iomap_begin rounds down the offset to the logical block size before stashing it in iomap->offset and checking that it still is inside the inode size. Check the i_size check to the raw pos value so that we don't try a zero size write if iter->pos is unaligned.

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 487c607df790d366e67a7d6a30adf785cdd98e55 < 910717920c8c3f9386277a44c44d448058a18084 ; affected 487c607df790d366e67a7d6a30adf785cdd98e55 < 72c54e063c32aeb38d43a2bd897821e6e5a1757d ; affected 487c607df790d366e67a7d6a30adf785cdd98e55 < 10b723bcba8986537a484aa94dbfc9093fd776a1 ; affected 487c607df790d366e67a7d6a30adf785cdd98e55 < 0c12028aec837f5a002009bbf68d179d506510e8
Linux · Linuxaffected 6.6 ; unaffected 0 < 6.6 ; unaffected 6.6.33 ≤ 6.6.* ; unaffected 6.8.12 ≤ 6.8.* ; unaffected 6.9.3 ≤ 6.9.* ; unaffected 6.10 ≤ *

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