md/bitmap: fix GPF in write_page caused by resize race
Summary
| CVE | CVE-2026-43163 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-06 12:16:34 UTC |
| Updated | 2026-05-13 21:19:39 UTC |
| Description | In 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. |
Risk And Classification
Primary CVSS: v3.1 4.7 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-362
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/a437e3bf30e32846079e470c1ba5ee790bccdf89 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ebcacc7ca22d5e8a03a970f0621ae1d1356b9ae8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/46ef85f854dfa9d5226b3c1c46493d79556c9589 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d92b8fac294b5f915c50e65ce4ae2262e53614ec | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/140cc839fbeb1ddb33a8da8811b716d88d3905b7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d3af62411e19752c663fe4f424dbf49d95a4cc7c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/9a6f8cd28bb9bb6ed86a6df19331fb08016dee7f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/5f73c8b33df9a605a591eab72d43a969600c1f8c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.