# CVE-2023-54317: dm flakey: don't corrupt the zero page

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2025-12-30T12:23:47.232Z
- **Modified:** 2026-10-15T22:17:58.093Z

## Who should check

- Anyone running Linux \>= c6cd92fcabd6cc78bb1808c6a18245c842722fc1, \< b7f8892f672222dbfcc721f51edc03963212b249; \>= d4c637af2e56ee1ec66ee34d0ac5a13c75911aec, \< 98e311be44dbe31ad9c42aa067b2359bac451fda; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< 3c4a56ef7c538d16c1738ba0ccea9e7146105b5a; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< f2b478228bfdd11e358c5bc197561331f5d5c394; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< ff60b2bb680ebcaf8890814dd51084a022891469; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< be360c83f2d810493c04f999d69ec9152981e0c0; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< 63d31617883d64b43b0e2d529f0751f40713ecae; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< f50714b57aecb6b3dc81d578e295f86d9c73f078; 1ed7c9f45fb893877ffa7cedd7aa61beaadbb328; \>= 4.14.158, \< 4.14.308; …
- Anyone running Linux 5.0

## 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.

## Affected and fixed versions

- Linux: \>= c6cd92fcabd6cc78bb1808c6a18245c842722fc1, \< b7f8892f672222dbfcc721f51edc03963212b249; \>= d4c637af2e56ee1ec66ee34d0ac5a13c75911aec, \< 98e311be44dbe31ad9c42aa067b2359bac451fda; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< 3c4a56ef7c538d16c1738ba0ccea9e7146105b5a; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< f2b478228bfdd11e358c5bc197561331f5d5c394; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< ff60b2bb680ebcaf8890814dd51084a022891469; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< be360c83f2d810493c04f999d69ec9152981e0c0; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< 63d31617883d64b43b0e2d529f0751f40713ecae; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< f50714b57aecb6b3dc81d578e295f86d9c73f078; 1ed7c9f45fb893877ffa7cedd7aa61beaadbb328; \>= 4.14.158, \< 4.14.308; … (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54317. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54317.md
Affected: Linux >= c6cd92fcabd6cc78bb1808c6a18245c842722fc1, < b7f8892f672222dbfcc721f51edc03963212b249; >= d4c637af2e56ee1ec66ee34d0ac5a13c75911aec, < 98e311be44dbe31ad9c42aa067b2359bac451fda; >= a00f5276e26636cbf72f24f79831026d2e2868e7, < 3c4a56ef7c538d16c1738ba0ccea9e7146105b5a; >= a00f5276e26636cbf72f24f…
Fixed in: Linux 98e311be44dbe31ad9c42aa067b2359bac451fda, Linux 3c4a56ef7c538d16c1738ba0ccea9e7146105b5a, Linux 63d31617883d64b43b0e2d529f0751f40713ecae, Linux 4.14.308

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54317 being exploited?

There is no confirmed exploitation: CVE-2023-54317 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-54317?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-54317?

Linux \>= c6cd92fcabd6cc78bb1808c6a18245c842722fc1, \< b7f8892f672222dbfcc721f51edc03963212b249; \>= d4c637af2e56ee1ec66ee34d0ac5a13c75911aec, \< 98e311be44dbe31ad9c42aa067b2359bac451fda; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< 3c4a56ef7c538d16c1738ba0ccea9e7146105b5a; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< f2b478228bfdd11e358c5bc197561331f5d5c394; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< ff60b2bb680ebcaf8890814dd51084a022891469; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< be360c83f2d810493c04f999d69ec9152981e0c0; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< 63d31617883d64b43b0e2d529f0751f40713ecae; \>= a00f5276e26636cbf72f24f79831026d2e2868e7, \< f50714b57aecb6b3dc81d578e295f86d9c73f078; 1ed7c9f45fb893877ffa7cedd7aa61beaadbb328; \>= 4.14.158, \< 4.14.308; …; Linux 5.0.

### Is there a fix for CVE-2023-54317?

Yes. Fixed in Linux 98e311be44dbe31ad9c42aa067b2359bac451fda, Linux 3c4a56ef7c538d16c1738ba0ccea9e7146105b5a, Linux 63d31617883d64b43b0e2d529f0751f40713ecae, Linux 4.14.308. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54317?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b7f8892f672222dbfcc721f51edc03963212b249>
- other: <https://git.kernel.org/stable/c/98e311be44dbe31ad9c42aa067b2359bac451fda>
- other: <https://git.kernel.org/stable/c/3c4a56ef7c538d16c1738ba0ccea9e7146105b5a>
- other: <https://git.kernel.org/stable/c/f2b478228bfdd11e358c5bc197561331f5d5c394>
- other: <https://git.kernel.org/stable/c/ff60b2bb680ebcaf8890814dd51084a022891469>
- other: <https://git.kernel.org/stable/c/be360c83f2d810493c04f999d69ec9152981e0c0>
- other: <https://git.kernel.org/stable/c/63d31617883d64b43b0e2d529f0751f40713ecae>
- other: <https://git.kernel.org/stable/c/f50714b57aecb6b3dc81d578e295f86d9c73f078>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54317>

HTML: <https://flawdb.com/CVE-2023-54317> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54317>
