md/bitmap: fix GPF in write_page caused by resize race

Summary

CVECVE-2026-43163
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-06 12:16:34 UTC
Updated2026-05-06 13:07:51 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: md/bitmap: fix GPF in write_page caused by resize race A General Protection Fault occurs in write_page() during array resize: RIP: 0010:write_page+0x22b/0x3c0 [md_mod] This is a use-after-free race between bitmap_daemon_work() and __bitmap_resize(). The daemon iterates over `bitmap->storage.filemap` without locking, while the resize path frees that storage via md_bitmap_file_unmap(). `quiesce()` does not stop the md thread, allowing concurrent access to freed pages. Fix by holding `mddev->bitmap_info.mutex` during the bitmap update.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 140cc839fbeb1ddb33a8da8811b716d88d3905b7 git Not specified
CNA Linux Linux affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 ebcacc7ca22d5e8a03a970f0621ae1d1356b9ae8 git Not specified
CNA Linux Linux affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 d3af62411e19752c663fe4f424dbf49d95a4cc7c git Not specified
CNA Linux Linux affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 d92b8fac294b5f915c50e65ce4ae2262e53614ec git Not specified
CNA Linux Linux affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 a437e3bf30e32846079e470c1ba5ee790bccdf89 git Not specified
CNA Linux Linux affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 9a6f8cd28bb9bb6ed86a6df19331fb08016dee7f git Not specified
CNA Linux Linux affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 5f73c8b33df9a605a591eab72d43a969600c1f8c git Not specified
CNA Linux Linux affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 46ef85f854dfa9d5226b3c1c46493d79556c9589 git Not specified
CNA Linux Linux affected 3.5 Not specified
CNA Linux Linux unaffected 3.5 semver Not specified
CNA Linux Linux unaffected 5.10.252 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.202 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.165 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.128 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.75 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.16 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.6 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a437e3bf30e32846079e470c1ba5ee790bccdf89 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ebcacc7ca22d5e8a03a970f0621ae1d1356b9ae8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/46ef85f854dfa9d5226b3c1c46493d79556c9589 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d92b8fac294b5f915c50e65ce4ae2262e53614ec 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/140cc839fbeb1ddb33a8da8811b716d88d3905b7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d3af62411e19752c663fe4f424dbf49d95a4cc7c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9a6f8cd28bb9bb6ed86a6df19331fb08016dee7f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5f73c8b33df9a605a591eab72d43a969600c1f8c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report