CVE-2023-54317
dm flakey: don't corrupt the zero page
Check your servers for CVE-2023-54317
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54317 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.08% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c6cd92fcabd6cc78bb1808c6a18245c842722fc1, before b7f8892f672222dbfcc721f51edc03963212b249 affected from d4c637af2e56ee1ec66ee34d0ac5a13c75911aec, before 98e311be44dbe31ad9c42aa067b2359bac451fda affected from a00f5276e26636cbf72f24f79831026d2e2868e7, before 3c4a56ef7c538d16c1738ba0ccea9e7146105b5a affected from a00f5276e26636cbf72f24f79831026d2e2868e7, before f2b478228bfdd11e358c5bc197561331f5d5c394 affected from a00f5276e26636cbf72f24f79831026d2e2868e7, before ff60b2bb680ebcaf8890814dd51084a022891469 affected from a00f5276e26636cbf72f24f79831026d2e2868e7, before be360c83f2d810493c04f999d69ec9152981e0c0 affected from a00f5276e26636cbf72f24f79831026d2e2868e7, before 63d31617883d64b43b0e2d529f0751f40713ecae affected from a00f5276e26636cbf72f24f79831026d2e2868e7, before f50714b57aecb6b3dc81d578e295f86d9c73f078 affected 1ed7c9f45fb893877ffa7cedd7aa61beaadbb328 affected from 4.14.158, before 4.14.308 affected from 4.19.88, before 4.19.276 affected from 4.9.206, before 4.10
Other versions: unaffected
|
| Linux |
affected 5.0 unaffected before 5.0 unaffected from 4.14.308 up to and including 4.14.* unaffected from 4.19.276 up to and including 4.19.* unaffected from 5.4.235 up to and including 5.4.* unaffected from 5.10.173 up to and including 5.10.* unaffected from 5.15.99 up to and including 5.15.* unaffected from 6.1.16 up to and including 6.1.* unaffected from 6.2.3 up to and including 6.2.* unaffected 6.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54317 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54317
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54317
trivy image --scanners vuln IMAGE | grep CVE-2023-54317
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b7f8892f672222dbfcc721f51edc03963212b249 git.kernel.org
- https://git.kernel.org/stable/c/98e311be44dbe31ad9c42aa067b2359bac451fda git.kernel.org
- https://git.kernel.org/stable/c/3c4a56ef7c538d16c1738ba0ccea9e7146105b5a git.kernel.org
- https://git.kernel.org/stable/c/f2b478228bfdd11e358c5bc197561331f5d5c394 git.kernel.org
- https://git.kernel.org/stable/c/ff60b2bb680ebcaf8890814dd51084a022891469 git.kernel.org
- https://git.kernel.org/stable/c/be360c83f2d810493c04f999d69ec9152981e0c0 git.kernel.org
- https://git.kernel.org/stable/c/63d31617883d64b43b0e2d529f0751f40713ecae git.kernel.org
- https://git.kernel.org/stable/c/f50714b57aecb6b3dc81d578e295f86d9c73f078 git.kernel.org
Source: the record CVE-2023-54317 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse