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

CVE-2026-43163
MEDIUM 4.7

En bref

Source
NVD
EPSS
EPSS 0.09 % · centile 0 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-362 — Situation de compétition

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected d60b479d177a5735b6b4db6ee5280ef6653f50e7 < 140cc839fbeb1ddb33a8da8811b716d88d3905b7 ; affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 < ebcacc7ca22d5e8a03a970f0621ae1d1356b9ae8 ; affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 < d3af62411e19752c663fe4f424dbf49d95a4cc7c ; affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 < d92b8fac294b5f915c50e65ce4ae2262e53614ec ; affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 < a437e3bf30e32846079e470c1ba5ee790bccdf89 ; affected d60b479d177a5735b6b4db6ee5280ef6653f50e7 < 9a6f8cd28bb9bb6ed86a6df19331fb08016dee7f
Linux · Linuxaffected 3.5 ; unaffected 0 < 3.5 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD