CVE-2026-90325: blk-cgroup: skip dying blkg in blkcg_activate_policy()

Published Sep 17, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

blk-cgroup: skip dying blkg in blkcgactivatepolicy()

When switching IO schedulers on a block device, blkcgactivatepolicy() can race with concurrent blkcg deletion, leading to a use-after-free in rcuacceleratecbs.

T1: T2: blkgdestroy kill(&blkg->refcnt) // blkg->refcnt=1->0 blkgrelease // callrcu(blkgrelease) ... blkgfreeworkfn ->pdfreefn(pd) elvioschedstore elevatorswitch ... iterate blkg list blkgget(blkg) // blkg->refcnt=0->1 listdelinit(&blkg->qnode) blkgput(pinnedblkg) // blkg->refcnt=1->0 blkgrelease // callrcu again rcuacceleratecbs // uaf

Fix this by checking hlistunhashed(&blkg->blkcgnode) before getting a reference to the blkg. This is the same check used in blkgdestroy() to detect if a blkg has already been destroyed. If the blkg is already unhashed, skip processing it since it's being destroyed.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:08 PM
Data Sourced
via MITRE·04:08 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

The race requires IO scheduler switching on a block device while a block cgroup is concurrently being deleted. The vulnerable path can then obtain a new reference to a blkcg object that is already being destroyed.

2

What is the resulting failure mode?

A destroyed blkcg can be released a second time, causing a use-after-free in rcu_accelerate_cbs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203