{"api_version":"1","generated_at":"2026-08-09T10:01:01+00:00","cve":"CVE-2023-54317","urls":{"html":"https://cve.report/CVE-2023-54317","api":"https://cve.report/api/cve/CVE-2023-54317.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-54317","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-54317"},"summary":{"title":"dm flakey: don't corrupt the zero page","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm flakey: don't corrupt the zero page\n\nWhen we need to zero some range on a block device, the function\n__blkdev_issue_zero_pages submits a write bio with the bio vector pointing\nto the zero page. If we use dm-flakey with corrupt bio writes option, it\nwill corrupt the content of the zero page which results in crashes of\nvarious userspace programs. Glibc assumes that memory returned by mmap is\nzeroed and it uses it for calloc implementation; if the newly mapped\nmemory is not zeroed, calloc will return non-zeroed memory.\n\nFix this bug by testing if the page is equal to ZERO_PAGE(0) and\navoiding the corruption in this case.","state":"PUBLISHED","assigner":"Linux","published_at":"2025-12-30 13:16:20","updated_at":"2026-08-04 11:16:40"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/ff60b2bb680ebcaf8890814dd51084a022891469","name":"https://git.kernel.org/stable/c/ff60b2bb680ebcaf8890814dd51084a022891469","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f50714b57aecb6b3dc81d578e295f86d9c73f078","name":"https://git.kernel.org/stable/c/f50714b57aecb6b3dc81d578e295f86d9c73f078","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b7f8892f672222dbfcc721f51edc03963212b249","name":"https://git.kernel.org/stable/c/b7f8892f672222dbfcc721f51edc03963212b249","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f2b478228bfdd11e358c5bc197561331f5d5c394","name":"https://git.kernel.org/stable/c/f2b478228bfdd11e358c5bc197561331f5d5c394","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/63d31617883d64b43b0e2d529f0751f40713ecae","name":"https://git.kernel.org/stable/c/63d31617883d64b43b0e2d529f0751f40713ecae","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3c4a56ef7c538d16c1738ba0ccea9e7146105b5a","name":"https://git.kernel.org/stable/c/3c4a56ef7c538d16c1738ba0ccea9e7146105b5a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/be360c83f2d810493c04f999d69ec9152981e0c0","name":"https://git.kernel.org/stable/c/be360c83f2d810493c04f999d69ec9152981e0c0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/98e311be44dbe31ad9c42aa067b2359bac451fda","name":"https://git.kernel.org/stable/c/98e311be44dbe31ad9c42aa067b2359bac451fda","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-54317","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54317","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c6cd92fcabd6cc78bb1808c6a18245c842722fc1 b7f8892f672222dbfcc721f51edc03963212b249 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d4c637af2e56ee1ec66ee34d0ac5a13c75911aec 98e311be44dbe31ad9c42aa067b2359bac451fda git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a00f5276e26636cbf72f24f79831026d2e2868e7 3c4a56ef7c538d16c1738ba0ccea9e7146105b5a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a00f5276e26636cbf72f24f79831026d2e2868e7 f2b478228bfdd11e358c5bc197561331f5d5c394 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a00f5276e26636cbf72f24f79831026d2e2868e7 ff60b2bb680ebcaf8890814dd51084a022891469 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a00f5276e26636cbf72f24f79831026d2e2868e7 be360c83f2d810493c04f999d69ec9152981e0c0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a00f5276e26636cbf72f24f79831026d2e2868e7 63d31617883d64b43b0e2d529f0751f40713ecae git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a00f5276e26636cbf72f24f79831026d2e2868e7 f50714b57aecb6b3dc81d578e295f86d9c73f078 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1ed7c9f45fb893877ffa7cedd7aa61beaadbb328 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.14.158 4.14.308 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.19.88 4.19.276 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.9.206 4.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.14.308 4.14.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.19.276 4.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4.235 5.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.173 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.99 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.16 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.2.3 6.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2023","cve_id":"54317","cve":"CVE-2023-54317","epss":"0.001340000","percentile":"0.033170000","score_date":"2026-08-06","updated_at":"2026-08-07 00:14:20"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/md/dm-flakey.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b7f8892f672222dbfcc721f51edc03963212b249","status":"affected","version":"c6cd92fcabd6cc78bb1808c6a18245c842722fc1","versionType":"git"},{"lessThan":"98e311be44dbe31ad9c42aa067b2359bac451fda","status":"affected","version":"d4c637af2e56ee1ec66ee34d0ac5a13c75911aec","versionType":"git"},{"lessThan":"3c4a56ef7c538d16c1738ba0ccea9e7146105b5a","status":"affected","version":"a00f5276e26636cbf72f24f79831026d2e2868e7","versionType":"git"},{"lessThan":"f2b478228bfdd11e358c5bc197561331f5d5c394","status":"affected","version":"a00f5276e26636cbf72f24f79831026d2e2868e7","versionType":"git"},{"lessThan":"ff60b2bb680ebcaf8890814dd51084a022891469","status":"affected","version":"a00f5276e26636cbf72f24f79831026d2e2868e7","versionType":"git"},{"lessThan":"be360c83f2d810493c04f999d69ec9152981e0c0","status":"affected","version":"a00f5276e26636cbf72f24f79831026d2e2868e7","versionType":"git"},{"lessThan":"63d31617883d64b43b0e2d529f0751f40713ecae","status":"affected","version":"a00f5276e26636cbf72f24f79831026d2e2868e7","versionType":"git"},{"lessThan":"f50714b57aecb6b3dc81d578e295f86d9c73f078","status":"affected","version":"a00f5276e26636cbf72f24f79831026d2e2868e7","versionType":"git"},{"status":"affected","version":"1ed7c9f45fb893877ffa7cedd7aa61beaadbb328","versionType":"git"},{"lessThan":"4.14.308","status":"affected","version":"4.14.158","versionType":"semver"},{"lessThan":"4.19.276","status":"affected","version":"4.19.88","versionType":"semver"},{"lessThan":"4.10","status":"affected","version":"4.9.206","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/md/dm-flakey.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.0"},{"lessThan":"5.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"4.14.*","status":"unaffected","version":"4.14.308","versionType":"semver"},{"lessThanOrEqual":"4.19.*","status":"unaffected","version":"4.19.276","versionType":"semver"},{"lessThanOrEqual":"5.4.*","status":"unaffected","version":"5.4.235","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.173","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.99","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.16","versionType":"semver"},{"lessThanOrEqual":"6.2.*","status":"unaffected","version":"6.2.3","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.14.308","versionStartIncluding":"4.14.158","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.19.276","versionStartIncluding":"4.19.88","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.235","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.173","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.99","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.16","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.2.3","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.3","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.206","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm flakey: don't corrupt the zero page\n\nWhen we need to zero some range on a block device, the function\n__blkdev_issue_zero_pages submits a write bio with the bio vector pointing\nto the zero page. If we use dm-flakey with corrupt bio writes option, it\nwill corrupt the content of the zero page which results in crashes of\nvarious userspace programs. Glibc assumes that memory returned by mmap is\nzeroed and it uses it for calloc implementation; if the newly mapped\nmemory is not zeroed, calloc will return non-zeroed memory.\n\nFix this bug by testing if the page is equal to ZERO_PAGE(0) and\navoiding the corruption in this case."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-08-04T09:18:59.932Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b7f8892f672222dbfcc721f51edc03963212b249"},{"url":"https://git.kernel.org/stable/c/98e311be44dbe31ad9c42aa067b2359bac451fda"},{"url":"https://git.kernel.org/stable/c/3c4a56ef7c538d16c1738ba0ccea9e7146105b5a"},{"url":"https://git.kernel.org/stable/c/f2b478228bfdd11e358c5bc197561331f5d5c394"},{"url":"https://git.kernel.org/stable/c/ff60b2bb680ebcaf8890814dd51084a022891469"},{"url":"https://git.kernel.org/stable/c/be360c83f2d810493c04f999d69ec9152981e0c0"},{"url":"https://git.kernel.org/stable/c/63d31617883d64b43b0e2d529f0751f40713ecae"},{"url":"https://git.kernel.org/stable/c/f50714b57aecb6b3dc81d578e295f86d9c73f078"}],"title":"dm flakey: don't corrupt the zero page","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2023-54317","datePublished":"2025-12-30T12:23:47.232Z","dateReserved":"2025-12-30T12:06:44.531Z","dateUpdated":"2026-08-04T09:18:59.932Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-12-30 13:16:20","lastModifiedDate":"2026-08-04 11:16:40","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2023","CveId":"54317","Ordinal":"1","Title":"dm flakey: don't corrupt the zero page","CVE":"CVE-2023-54317","Year":"2023"},"notes":[{"CveYear":"2023","CveId":"54317","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm flakey: don't corrupt the zero page\n\nWhen we need to zero some range on a block device, the function\n__blkdev_issue_zero_pages submits a write bio with the bio vector pointing\nto the zero page. If we use dm-flakey with corrupt bio writes option, it\nwill corrupt the content of the zero page which results in crashes of\nvarious userspace programs. Glibc assumes that memory returned by mmap is\nzeroed and it uses it for calloc implementation; if the newly mapped\nmemory is not zeroed, calloc will return non-zeroed memory.\n\nFix this bug by testing if the page is equal to ZERO_PAGE(0) and\navoiding the corruption in this case.","Type":"Description","Title":"dm flakey: don't corrupt the zero page"}]}}}