CVE-2023-54317
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 versions
Linux kernel versions
4.14.158,
4.19.88,
4.9.206,
5.0
and later are affected. Fixed in
4.14.308,
4.19.276,
5.4.235,
5.10.173,
5.15.99,
6.1.16,
6.2.3,
6.3
and their respective stable series.
References
The following references provide additional information about CVE-2023-54317 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3c4a56ef7c538d16c1738ba0ccea9e7146105b5a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/63d31617883d64b43b0e2d529f0751f40713ecae
-
PatchKernel patch commithttps://git.kernel.org/stable/c/98e311be44dbe31ad9c42aa067b2359bac451fda
Frequently asked questions
-
What is CVE-2023-54317?
CVE-2023-54317 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.14.158 onward and has been patched in 4.14.308, 4.19.276, 5.4.235 and others. CVE-2023-54317 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-54317?
Yes — CVE-2023-54317 has been patched. Fixed versions include 4.14.308, 4.19.276, 5.4.235 and others. If you are running Linux kernel 4.14.158 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-54317 actively exploited?
No — CVE-2023-54317 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.