{"id":"CVE-2026-90276","aliases":["CVE-2026-90276"],"related":[],"kind":"vulnerability","state":"published","title":"md/md-llbitmap: stop daemon timer rearm on destroy","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/md-llbitmap: stop daemon timer rearm on destroy\n\nllbitmap_destroy() deletes pending_timer before flushing\nmd_llbitmap_io_wq. However, daemon_work can still be queued or running\nafter the timer has been deleted, and the daemon path can arm\npending_timer again when it finds dirty chunks that are not ready to\nflush yet.\n\nIf that happens during teardown, pending_timer can remain armed after\nllbitmap is freed and later dereference freed memory.\n\nAdd a BITMAP_SHUTDOWN bit to llbitmap->flags, set it before deleting\nthe timer, and make the timer and daemon paths stop queueing or rearming\nwork once teardown starts. Cancel daemon_work before flushing the shared\nworkqueue so no already queued daemon instance can race with the free.\nUse timer_shutdown_sync() so a daemon instance that passed the shutdown\ncheck before teardown cannot rearm the timer afterward.\n\nBITMAP_SHUTDOWN is a runtime-only state. Mask it out when reading and\nupdating the llbitmap superblock so the shutdown state is never loaded\nfrom disk or persisted to disk.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/md-llbitmap: stop daemon timer rearm on destroy\n\nllbitmap_destroy() deletes pending_timer before flushing\nmd_llbitmap_io_wq. However, daemon_work can still be queued or running\nafter the timer has been deleted, and the daemon path can arm\npending_timer again when it finds dirty chunks that are not ready to\nflush yet.\n\nIf that happens during teardown, pending_timer can remain armed after\nllbitmap is freed and later dereference freed memory.\n\nAdd a BITMAP_SHUTDOWN bit to llbitmap->flags, set it before deleting\nthe timer, and make the timer and daemon paths stop queueing or rearming\nwork once teardown starts. Cancel daemon_work before flushing the shared\nworkqueue so no already queued daemon instance can race with the free.\nUse timer_shutdown_sync() so a daemon instance that passed the shutdown\ncheck before teardown cannot rearm the timer afterward.\n\nBITMAP_SHUTDOWN is a runtime-only state. Mask it out when reading and\nupdating the llbitmap superblock so the shutdown state is never loaded\nfrom disk or persisted to disk.","source":"cvelist"}],"published":"2026-09-17T16:08:08.697Z","modified":"2026-10-19T09:19:21.170Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5ab829f1971dc99f2aac10846c378e67fc875abc","fixed":"c55aa6c17f019b6296952d336939891efa084c06","status":"affected"},{"type":"git","introduced":"5ab829f1971dc99f2aac10846c378e67fc875abc","fixed":"bb7f92d58fca9a9f06f3f51a82481c5f0bbbd46c","status":"affected"},{"type":"git","introduced":"5ab829f1971dc99f2aac10846c378e67fc875abc","fixed":"5553d64e01d9a995be6c3de38501c6dd4ceede3b","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/c55aa6c17f019b6296952d336939891efa084c06","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb7f92d58fca9a9f06f3f51a82481c5f0bbbd46c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5553d64e01d9a995be6c3de38501c6dd4ceede3b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90276","url":"https://www.cve.org/CVERecord?id=CVE-2026-90276","licence":"CVE Terms of Use","modified":"2026-10-19T09:00:53.942Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90276","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90276","licence":"Public domain","modified":"2026-10-19T09:19:21.170Z"}],"updatedAt":"2026-11-25T22:59:39.365Z","epss":{"score":0.00198,"percentile":0.1003,"date":"2026-12-01T12:00:22.000Z"}}