{"id":"CVE-2026-90325","published":"2026-09-17T16:08:40Z","modified":"2026-10-19T09:01:42Z","title":"blk-cgroup: skip dying blkg in blkcg_activate_policy()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-cgroup: skip dying blkg in blkcg_activate_policy()\n\nWhen switching IO schedulers on a block device, blkcg_activate_policy()\ncan race with concurrent blkcg deletion, leading to a use-after-free in\nrcu_accelerate_cbs.\n\nT1:                               T2:\n                                  blkg_destroy\n                                  kill(&blkg->refcnt) // blkg->refcnt=1->0\n                                  blkg_release // call_rcu(__blkg_release)\n                                  ...\n                                  blkg_free_workfn\n                                  ->pd_free_fn(pd)\nelv_iosched_store\nelevator_switch\n...\niterate blkg list\nblkg_get(blkg) // blkg->refcnt=0->1\n                                  list_del_init(&blkg->q_node)\nblkg_put(pinned_blkg) // blkg->refcnt=1->0\nblkg_release // call_rcu again\nrcu_accelerate_cbs // uaf\n\nFix this by checking hlist_unhashed(&blkg->blkcg_node) before getting\na reference to the blkg. This is the same check used in blkg_destroy()\nto detect if a blkg has already been destroyed. If the blkg is already\nunhashed, skip processing it since it's being destroyed.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00171,"percentile":0.03725,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b5dae1cd0d8368b4338430ff93403df67f0b8bcc","tags":[]},{"url":"https://git.kernel.org/stable/c/083b58373463a6e5ee60ecb135269348f68ad7df","tags":[]},{"url":"https://git.kernel.org/stable/c/1a267295b1ea6a6477963f3fda84adfecd48fcad","tags":[]},{"url":"https://git.kernel.org/stable/c/7337d012ca3fc3a6a2d1c8e2a19c6d97c38b410d","tags":[]},{"url":"https://git.kernel.org/stable/c/3d8c3da95c75a4d312e272fc7b4076dd3ba9115c","tags":[]},{"url":"https://git.kernel.org/stable/c/d8c872901e6459339374e9eea80aa919176c2ccd","tags":[]},{"url":"https://git.kernel.org/stable/c/5e9220389920f33b6a804d50c548cd0cd1b04634","tags":[]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":0.74},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 81c1188905f88b77743d1fdeeedfc8cb7b67787d, < b5dae1cd0d8368b4338430ff93403df67f0b8bcc",">= bfe46d2efe46c5c952f982e2ca94fe2ec5e58e2a, < 083b58373463a6e5ee60ecb135269348f68ad7df",">= f1c006f1c6850c14040f8337753a63119bba39b9, < 1a267295b1ea6a6477963f3fda84adfecd48fcad",">= f1c006f1c6850c14040f8337753a63119bba39b9, < 7337d012ca3fc3a6a2d1c8e2a19c6d97c38b410d",">= f1c006f1c6850c14040f8337753a63119bba39b9, < 3d8c3da95c75a4d312e272fc7b4076dd3ba9115c",">= f1c006f1c6850c14040f8337753a63119bba39b9, < d8c872901e6459339374e9eea80aa919176c2ccd",">= f1c006f1c6850c14040f8337753a63119bba39b9, < 5e9220389920f33b6a804d50c548cd0cd1b04634",">= 6.1.16, < 6.1.17",">= 6.2.3, < 6.2.4"]},{"vendor":"Linux","product":"Linux","versions":["6.3"]}],"euvd":{"id":"EUVD-2026-81986","exploited":false,"provenance":"source"}}