{"id":"CVE-2026-90277","aliases":["CVE-2026-90277"],"related":[],"kind":"vulnerability","state":"published","title":"md/md-llbitmap: prevent create failure bitmap UAF","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-17T16:08:09.328Z","modified":"2026-10-19T09:19:21.257Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5ab829f1971dc99f2aac10846c378e67fc875abc","fixed":"930cc4f1af5a1afcd545a6ba00e38921ff8401e0","status":"affected"},{"type":"git","introduced":"5ab829f1971dc99f2aac10846c378e67fc875abc","fixed":"2f0722435ce3a844dbb66b9bb0a18229dcc8739c","status":"affected"},{"type":"git","introduced":"5ab829f1971dc99f2aac10846c378e67fc875abc","fixed":"2116c2f0a0e547615886900e2ed8c529c016499b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/930cc4f1af5a1afcd545a6ba00e38921ff8401e0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f0722435ce3a844dbb66b9bb0a18229dcc8739c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2116c2f0a0e547615886900e2ed8c529c016499b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90277","url":"https://www.cve.org/CVERecord?id=CVE-2026-90277","licence":"CVE Terms of Use","modified":"2026-10-19T09:00:54.917Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90277","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90277","licence":"Public domain","modified":"2026-10-19T09:19:21.257Z"}],"updatedAt":"2026-11-25T22:59:39.366Z","epss":{"score":0.00198,"percentile":0.09993,"date":"2026-12-01T12:00:22.000Z"}}