dm flakey: don't corrupt the zero page (Linux Linux)

CVE-2023-54317
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.15 % · centile 5 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: dm flakey: don't corrupt the zero page When we need to zero some range on a block device, the function __blkdev_issue_zero_pages submits a write bio with the bio vector pointing to the zero page. If we use dm-flakey with corrupt bio writes option, it will corrupt the content of the zero page which results in crashes of various userspace programs. Glibc assumes that memory returned by mmap is zeroed and it uses it for calloc implementation; if the newly mapped memory is not zeroed, calloc will return non-zeroed memory. Fix this bug by testing if the page is equal to ZERO_PAGE(0) and avoiding the corruption in this case.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected c6cd92fcabd6cc78bb1808c6a18245c842722fc1 < b7f8892f672222dbfcc721f51edc03963212b249 ; affected d4c637af2e56ee1ec66ee34d0ac5a13c75911aec < 98e311be44dbe31ad9c42aa067b2359bac451fda ; affected a00f5276e26636cbf72f24f79831026d2e2868e7 < 3c4a56ef7c538d16c1738ba0ccea9e7146105b5a ; affected a00f5276e26636cbf72f24f79831026d2e2868e7 < f2b478228bfdd11e358c5bc197561331f5d5c394 ; affected a00f5276e26636cbf72f24f79831026d2e2868e7 < ff60b2bb680ebcaf8890814dd51084a022891469 ; affected a00f5276e26636cbf72f24f79831026d2e2868e7 < be360c83f2d810493c04f999d69ec9152981e0c0
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 4.14.308 ≤ 4.14.* ; unaffected 4.19.276 ≤ 4.19.* ; unaffected 5.4.235 ≤ 5.4.* ; unaffected 5.10.173 ≤ 5.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