CVE-2023-54317

dm flakey: don't corrupt the zero page

State
Published
Severity
7.8 High
Published
Dec 30, 2025
Updated
Oct 15, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c6cd92fcabd6cc78bb1808c6a18245c842722fc1 to before b7f8892f672222dbfcc721f51edc03963212b249Affected
  • d4c637af2e56ee1ec66ee34d0ac5a13c75911aec to before 98e311be44dbe31ad9c42aa067b2359bac451fdaAffected
  • a00f5276e26636cbf72f24f79831026d2e2868e7 to before 3c4a56ef7c538d16c1738ba0ccea9e7146105b5aAffected
  • a00f5276e26636cbf72f24f79831026d2e2868e7 to before f2b478228bfdd11e358c5bc197561331f5d5c394Affected
  • a00f5276e26636cbf72f24f79831026d2e2868e7 to before ff60b2bb680ebcaf8890814dd51084a022891469Affected
  • a00f5276e26636cbf72f24f79831026d2e2868e7 to before be360c83f2d810493c04f999d69ec9152981e0c0Affected
  • a00f5276e26636cbf72f24f79831026d2e2868e7 to before 63d31617883d64b43b0e2d529f0751f40713ecaeAffected
  • a00f5276e26636cbf72f24f79831026d2e2868e7 to before f50714b57aecb6b3dc81d578e295f86d9c73f078Affected
  • 1ed7c9f45fb893877ffa7cedd7aa61beaadbb328Affected
  • 4.14.158 to before 4.14.308Affected
  • 4.19.88 to before 4.19.276Affected
  • 4.9.206 to before 4.10Affected
LinuxLinux
  • 5.0Affected
  • before 5.0Not affected
  • 4.14.308 through 4.14.*Not affected
  • 4.19.276 through 4.19.*Not affected
  • 5.4.235 through 5.4.*Not affected
  • 5.10.173 through 5.10.*Not affected
  • 5.15.99 through 5.15.*Not affected
  • 6.1.16 through 6.1.*Not affected
  • 6.2.3 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.