CVE-2026-43163

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

State
Published
Severity
Not scored
Published
May 6, 2026
Updated
May 11, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d60b479d177a5735b6b4db6ee5280ef6653f50e7 to before 140cc839fbeb1ddb33a8da8811b716d88d3905b7Affected
  • d60b479d177a5735b6b4db6ee5280ef6653f50e7 to before ebcacc7ca22d5e8a03a970f0621ae1d1356b9ae8Affected
  • d60b479d177a5735b6b4db6ee5280ef6653f50e7 to before d3af62411e19752c663fe4f424dbf49d95a4cc7cAffected
  • d60b479d177a5735b6b4db6ee5280ef6653f50e7 to before d92b8fac294b5f915c50e65ce4ae2262e53614ecAffected
  • d60b479d177a5735b6b4db6ee5280ef6653f50e7 to before a437e3bf30e32846079e470c1ba5ee790bccdf89Affected
  • d60b479d177a5735b6b4db6ee5280ef6653f50e7 to before 9a6f8cd28bb9bb6ed86a6df19331fb08016dee7fAffected
  • d60b479d177a5735b6b4db6ee5280ef6653f50e7 to before 5f73c8b33df9a605a591eab72d43a969600c1f8cAffected
  • d60b479d177a5735b6b4db6ee5280ef6653f50e7 to before 46ef85f854dfa9d5226b3c1c46493d79556c9589Affected
LinuxLinux
  • 3.5Affected
  • before 3.5Not affected
  • 5.10.252 through 5.10.*Not affected
  • 5.15.202 through 5.15.*Not affected
  • 6.1.165 through 6.1.*Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.