Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26ABD2E975E for ; Wed, 6 May 2026 11:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067117; cv=none; b=APVyb6EddA6RaA+lQqZk92XLIiVTrJcm5ExlKO+5jpYubEEPIpWuu/Q3a8JQxvihUT7fAGD1rGPiynE2OsqthRMlz259KG+qWUHqMxKlWmcMQb5qvP5GneKAelVXO81SXXAna3pnWohiiiRHlYX9XpXRi6Juc/gAsYInZcUk2dY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067117; c=relaxed/simple; bh=ue762j4hi5egGqXBEVURSGIANnVPmmWQjDOvMPmQb9s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=G4qm0oL6NK0hYNhHBi/xQfTJYZlIFt5iCjaunHuWS6WA7ZjIHamHTiSSIptZHwCmBZ8DE5wMHjBGoW7AbTCjS5RiiRR4O+gbBkNftRofydVXxJRL/IX3I/GqcUV93VgVpr9rR2Hm4J4IRRfQ7nlQHMpn/Uu5E8i698LrUxUd+Rw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CFyPXdi4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CFyPXdi4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1221C2BCB8; Wed, 6 May 2026 11:31:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067117; bh=ue762j4hi5egGqXBEVURSGIANnVPmmWQjDOvMPmQb9s=; h=From:To:Cc:Subject:Date:Reply-To:From; b=CFyPXdi4G0NmWYjXai7ZTgYnG8UK0yyAsm1bPpjMrTxZrhr9BGuSnOYvkardrXfTL SKAbYC2l8PAPsKjMrs0fBCCq0mgGiYhelIMDQ7P58i0hqRiwI2XlCJBDaHNqgrB2/8 Mc+tKi91TACZ0BTjRkP1VMhWWi8JXaiz/vB0IkPM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43163: md/bitmap: fix GPF in write_page caused by resize race Date: Wed, 6 May 2026 13:27:59 +0200 Message-ID: <2026050632-CVE-2026-43163-86e1@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3621; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=snhBWYlIG+dY1jEqs8GhzTUkIuZCaaaNT4pUP+NRfH4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VZcEtTNH7JwvP0vuZ6hb7uv5kz7ulDvOcUV8TuzNj tgPC2Y/7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJlDQzLGian3t4lm/N20NG DvxNW5+YTVtdX80w3yGmNsZzzUXpWTvZdGc6Xgw1VVzrAAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-43163 to this issue. Affected and fixed versions =========================== Issue introduced in 3.5 with commit d60b479d177a5735b6b4db6ee5280ef6653f50e7 and fixed in 5.10.252 with commit 140cc839fbeb1ddb33a8da8811b716d88d3905b7 Issue introduced in 3.5 with commit d60b479d177a5735b6b4db6ee5280ef6653f50e7 and fixed in 5.15.202 with commit ebcacc7ca22d5e8a03a970f0621ae1d1356b9ae8 Issue introduced in 3.5 with commit d60b479d177a5735b6b4db6ee5280ef6653f50e7 and fixed in 6.1.165 with commit d3af62411e19752c663fe4f424dbf49d95a4cc7c Issue introduced in 3.5 with commit d60b479d177a5735b6b4db6ee5280ef6653f50e7 and fixed in 6.6.128 with commit d92b8fac294b5f915c50e65ce4ae2262e53614ec Issue introduced in 3.5 with commit d60b479d177a5735b6b4db6ee5280ef6653f50e7 and fixed in 6.12.75 with commit a437e3bf30e32846079e470c1ba5ee790bccdf89 Issue introduced in 3.5 with commit d60b479d177a5735b6b4db6ee5280ef6653f50e7 and fixed in 6.18.16 with commit 9a6f8cd28bb9bb6ed86a6df19331fb08016dee7f Issue introduced in 3.5 with commit d60b479d177a5735b6b4db6ee5280ef6653f50e7 and fixed in 6.19.6 with commit 5f73c8b33df9a605a591eab72d43a969600c1f8c Issue introduced in 3.5 with commit d60b479d177a5735b6b4db6ee5280ef6653f50e7 and fixed in 7.0 with commit 46ef85f854dfa9d5226b3c1c46493d79556c9589 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-43163 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/md/md-bitmap.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/140cc839fbeb1ddb33a8da8811b716d88d3905b7 https://git.kernel.org/stable/c/ebcacc7ca22d5e8a03a970f0621ae1d1356b9ae8 https://git.kernel.org/stable/c/d3af62411e19752c663fe4f424dbf49d95a4cc7c https://git.kernel.org/stable/c/d92b8fac294b5f915c50e65ce4ae2262e53614ec https://git.kernel.org/stable/c/a437e3bf30e32846079e470c1ba5ee790bccdf89 https://git.kernel.org/stable/c/9a6f8cd28bb9bb6ed86a6df19331fb08016dee7f https://git.kernel.org/stable/c/5f73c8b33df9a605a591eab72d43a969600c1f8c https://git.kernel.org/stable/c/46ef85f854dfa9d5226b3c1c46493d79556c9589