{"id":"CVE-2026-90277","revision":"0ad671699e84490b8e248b252bf87be6","records":[{"revision":"0ad671699e84490b8e248b252bf87be6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-90277","aliases":[],"title":"md/md-llbitmap: prevent create failure bitmap UAF","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/md-llbitmap: prevent create failure bitmap UAF\n\nllbitmap_create() publishes mddev->bitmap before reading the bitmap\nsuperblock. This is needed because llbitmap_read_sb() can initialize a\nnew bitmap and flush it through helpers that use mddev->bitmap.\n\nIf llbitmap_read_sb() fails, the old cleanup dropped bitmap_info.mutex\nand freed llbitmap before clearing mddev->bitmap. Readers such as\n/proc/mdstat rely on bitmap_info.mutex to keep the bitmap pointer stable\nwhile collecting bitmap stats, so they could observe the stale pointer\nafter the failed create path released the mutex.\n\nClear mddev->bitmap while still holding bitmap_info.mutex, then free the\nfailed llbitmap after dropping the mutex. This makes mutex-protected\nreaders see either a live bitmap or no bitmap.","state":0,"publishedAt":"2026-09-17T16:08:09.328+00:00","modifiedAt":"2026-10-19T09:00:54.917+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/md/md-llbitmap.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5ab829f1971dc99f2aac10846c378e67fc875abc\",\n                            \"lessThan\": \"930cc4f1af5a1afcd545a6ba00e38921ff8401e0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"5ab829f1971dc99f2aac10846c378e67fc875abc\",\n                            \"lessThan\": \"2f0722435ce3a844dbb66b9bb0a18229dcc8739c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"5ab829f1971dc99f2aac10846c378e67fc875abc\",\n                            \"lessThan\": \"2116c2f0a0e547615886900e2ed8c529c016499b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/md/md-llbitmap.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.18\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.18\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.52\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/930cc4f1af5a1afcd545a6ba00e38921ff8401e0","https://git.kernel.org/stable/c/2f0722435ce3a844dbb66b9bb0a18229dcc8739c","https://git.kernel.org/stable/c/2116c2f0a0e547615886900e2ed8c529c016499b"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-90277","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-90277","identifiers":["CVE-2026-90277"]},"retained":false,"historicalAffected":[]}],"coverage":[]}