# CVE-2026-43163: md/bitmap: fix GPF in write_page caused by resize race

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-05-06T11:27:41.265Z
- Modified: 2026-11-11T20:10:00.273Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d60b479d177a5735b6b4db6ee5280ef6653f50e7 before 140cc839fbeb1ddb33a8da8811b716d88d3905b7; from d60b479d177a5735b6b4db6ee5280ef6653f50e7 before ebcacc7ca22d5e8a03a970f0621ae1d1356b9ae8; from d60b479d177a5735b6b4db6ee5280ef6653f50e7 before d3af62411e19752c663fe4f424dbf49d95a4cc7c; from d60b479d177a5735b6b4db6ee5280ef6653f50e7 before d92b8fac294b5f915c50e65ce4ae2262e53614ec; from d60b479d177a5735b6b4db6ee5280ef6653f50e7 before a437e3bf30e32846079e470c1ba5ee790bccdf89; from d60b479d177a5735b6b4db6ee5280ef6653f50e7 before 9a6f8cd28bb9bb6ed86a6df19331fb08016dee7f; from d60b479d177a5735b6b4db6ee5280ef6653f50e7 before 5f73c8b33df9a605a591eab72d43a969600c1f8c; from d60b479d177a5735b6b4db6ee5280ef6653f50e7 before 46ef85f854dfa9d5226b3c1c46493d79556c9589; 3.5 (not affected: before 3.5; from 5.10.252 up to 5.10.*; from 5.15.202 up to 5.15.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 3.5 before 5.10.252; from 5.11 before 5.15.202; from 5.16 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/140cc839fbeb1ddb33a8da8811b716d88d3905b7> (patch)
- <https://git.kernel.org/stable/c/ebcacc7ca22d5e8a03a970f0621ae1d1356b9ae8> (patch)
- <https://git.kernel.org/stable/c/d3af62411e19752c663fe4f424dbf49d95a4cc7c> (patch)
- <https://git.kernel.org/stable/c/d92b8fac294b5f915c50e65ce4ae2262e53614ec> (patch)
- <https://git.kernel.org/stable/c/a437e3bf30e32846079e470c1ba5ee790bccdf89> (patch)
- <https://git.kernel.org/stable/c/9a6f8cd28bb9bb6ed86a6df19331fb08016dee7f> (patch)
- <https://git.kernel.org/stable/c/5f73c8b33df9a605a591eab72d43a969600c1f8c> (patch)
- <https://git.kernel.org/stable/c/46ef85f854dfa9d5226b3c1c46493d79556c9589> (patch)

## Sources

- CVE List: [CVE-2026-43163](https://www.cve.org/CVERecord?id=CVE-2026-43163), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-43163](https://nvd.nist.gov/vuln/detail/CVE-2026-43163), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43163 · Whole record: https://cve.day/CVE-2026-43163.json · Rebuilt by cve.day 2026-11-25T22:59:20.706Z
