1. Home
  2. Vulnerabilities
  3. CVE-2023-54317

CVE-2023-54317

dm flakey: don't corrupt the zero page

Published 30 Dec 2025 · modified 15 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 33/100

Summary

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.

Affected products and versions

Linux (4 line(s))
Linux
ProductVersionsFixed inSource
Linux from 4.14.158 (included) to 4.14.308 (excluded) — CNA (vendor or assigner)
Linux from 4.19.88 (included) to 4.19.276 (excluded) — CNA (vendor or assigner)
Linux from 4.9.206 (included) to 4.10 (excluded) — CNA (vendor or assigner)
Linux 5.0 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)

How this data is obtained and calculated