Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 CC3543909A6 for ; Thu, 17 Sep 2026 16:23:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662213; cv=none; b=HQQ3xyD0kyjnsogt/mK6l7g4LTl7rpmB1UZYYrzwcsR/JFTf3Bz6wIIB9p0/MtzWWj6iReyGv0Y/R1HLhutTQVD5SDdQ0wLMlW28r3+QkwKs+dJ9cD2Ue+3BwaBI6oNIDFe2WhO3caN90tnszttICVFjBSy6rFHR+gnAlFVuS0A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662213; c=relaxed/simple; bh=C3JXMIzjMRSWGET4qxY4MyGUgRDnGabkD9rivk58HYg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ano5EKu9uKaUsjJGZQW9lBE6xuZIU4+BLGWnCUF5rK8gao9bbIJWNw0H/PR33J4bafQN1OucXuK7JXhM07bvK5olFNxNREjoEG8dCuqCOiLMmc5gxhqRvsWpfKZyJ6FelWVrK0d9+2Ue7Mb6xUXoU/OYXxY0MzUzTTbLXekRBlM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UoGBZwOn; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UoGBZwOn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C98921F000FF; Thu, 17 Sep 2026 16:23:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662211; bh=IKAwSl7fqX3aqluIPXAl4QK5kw/BVNCSwPZzIMuLzYU=; h=From:To:Cc:Subject:Date:Reply-To; b=UoGBZwOnN8QdYuCOaKugTDFwnxi0jR5Sk0PbsVfaGMjz5fWmyUQJtmNF8lWox7YGQ febrKgR7X16rgOr/7342L2fr+bVfvRy89NprvmhvfeiC8Df4WjWsKugSPsIPE0jWqV 2r6yKO5TG2SAsMvKUf/bYWa8XhmOyROKfgnEFiUk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90277: md/md-llbitmap: prevent create failure bitmap UAF Date: Thu, 17 Sep 2026 17:11:47 +0100 Message-ID: <2026091749-CVE-2026-90277-aeab@gregkh> X-Mailer: git-send-email 2.55.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=2723; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nkZOTzsNKKsWW4JVib94xC0uOdLrgjw5PdJZ6WcY0mA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBCYe881lc86YZ5L/bPcMqSffp+XEf+FMiL9z98GFb d05fEGTOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiH/8wzI8winL+uzWk/fM5 iQM8gkcSbKbLXGGYn8RwInjqsymLDJfvXvaBYY+Uy7YEZwA= 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/md-llbitmap: prevent create failure bitmap UAF llbitmap_create() publishes mddev->bitmap before reading the bitmap superblock. This is needed because llbitmap_read_sb() can initialize a new bitmap and flush it through helpers that use mddev->bitmap. If llbitmap_read_sb() fails, the old cleanup dropped bitmap_info.mutex and freed llbitmap before clearing mddev->bitmap. Readers such as /proc/mdstat rely on bitmap_info.mutex to keep the bitmap pointer stable while collecting bitmap stats, so they could observe the stale pointer after the failed create path released the mutex. Clear mddev->bitmap while still holding bitmap_info.mutex, then free the failed llbitmap after dropping the mutex. This makes mutex-protected readers see either a live bitmap or no bitmap. The Linux kernel CVE team has assigned CVE-2026-90277 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 5ab829f1971dc99f2aac10846c378e67fc875abc and fixed in 6.18.52 with commit 930cc4f1af5a1afcd545a6ba00e38921ff8401e0 Issue introduced in 6.18 with commit 5ab829f1971dc99f2aac10846c378e67fc875abc and fixed in 7.2.6 with commit 2f0722435ce3a844dbb66b9bb0a18229dcc8739c Issue introduced in 6.18 with commit 5ab829f1971dc99f2aac10846c378e67fc875abc and fixed in 7.3-rc1 with commit 2116c2f0a0e547615886900e2ed8c529c016499b 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-90277 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-llbitmap.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/930cc4f1af5a1afcd545a6ba00e38921ff8401e0 https://git.kernel.org/stable/c/2f0722435ce3a844dbb66b9bb0a18229dcc8739c https://git.kernel.org/stable/c/2116c2f0a0e547615886900e2ed8c529c016499b