Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB4C55172CC for ; Thu, 17 Sep 2026 16:27:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662465; cv=none; b=uOrg50H/ji8Y3bLmJJZ+3yxycJxKN7wF+QlracNAYAe4gqtMinNOXjK9CjNePAwksY79xXvDfuCscQE1KxosBYdOqoN6ePbK2MTt+0ypoBc2I3ypX9Q2RgbgBgs/E/94PycWI+b0kq09GQF2hUG7y7dyUXTtiXGp44Nbxdwq46g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662465; c=relaxed/simple; bh=DdB9Ktvg06iEfagtIcKt75iyi8cADCeYRTIgii8YC70=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=prlU8kPIGmhCY9V2l3GKuI0lV/7aycE7AVQI5ZdkHdWc60y3q5XOtmd+1DF/9xTa7UzXdk83+0WwEo/qclrmIiTLZyhMxJmPmnhZpCNv5klIOg7yRLZu4eW3mCOWs81eia6Mw5kNu3y/ONWyK6R4KI3KeB/5dnx1R/2KBIJixwc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aDl3Edpr; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="aDl3Edpr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC31A1F000FF; Thu, 17 Sep 2026 16:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662463; bh=oIQQOZhghx8Ej8/fUn9qm5CXnEICx4i2sP/E0RfUvTA=; h=From:To:Cc:Subject:Date:Reply-To; b=aDl3EdprGfDd2sg4LzZIBavMOqiN7Zuh0G7UZ6RL4M6LRsIK4KjALF3sfkS1nlP+W vWB/xhWADTZGIPvJ5w2um+8D+5d0/HZuLRP7P9D7dRh9q5oEaSe1qC4fle5mm5KKDl shpJcZ0Z69WpxMTOc5PlWOzI6uEhbyotg2wic8iY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90325: blk-cgroup: skip dying blkg in blkcg_activate_policy() Date: Thu, 17 Sep 2026 17:12:35 +0100 Message-ID: <2026091759-CVE-2026-90325-1da8@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3987; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rJyqZdmz9maHn250jrym4IgjqUk8vzoAJSUEIBxgmiI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBGbLSWVETKzlzz0l+72kbXKLu0CQWrma2v+J/st+3 9GedGxNRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkgwPDgjUbLrT2i36wPf6m 9s5tnWNHVvNfucIwP3qhxASntqvev1eEJk2y1ryh/WzrHwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: skip dying blkg in blkcg_activate_policy() When switching IO schedulers on a block device, blkcg_activate_policy() can race with concurrent blkcg deletion, leading to a use-after-free in rcu_accelerate_cbs. T1: T2: blkg_destroy kill(&blkg->refcnt) // blkg->refcnt=1->0 blkg_release // call_rcu(__blkg_release) ... blkg_free_workfn ->pd_free_fn(pd) elv_iosched_store elevator_switch ... iterate blkg list blkg_get(blkg) // blkg->refcnt=0->1 list_del_init(&blkg->q_node) blkg_put(pinned_blkg) // blkg->refcnt=1->0 blkg_release // call_rcu again rcu_accelerate_cbs // uaf Fix this by checking hlist_unhashed(&blkg->blkcg_node) before getting a reference to the blkg. This is the same check used in blkg_destroy() to detect if a blkg has already been destroyed. If the blkg is already unhashed, skip processing it since it's being destroyed. The Linux kernel CVE team has assigned CVE-2026-90325 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.16 with commit 81c1188905f88b77743d1fdeeedfc8cb7b67787d and fixed in 6.1.17 with commit b5dae1cd0d8368b4338430ff93403df67f0b8bcc Issue introduced in 6.2.3 with commit bfe46d2efe46c5c952f982e2ca94fe2ec5e58e2a and fixed in 6.2.4 with commit 083b58373463a6e5ee60ecb135269348f68ad7df Issue introduced in 6.3 with commit f1c006f1c6850c14040f8337753a63119bba39b9 and fixed in 6.6.157 with commit 1a267295b1ea6a6477963f3fda84adfecd48fcad Issue introduced in 6.3 with commit f1c006f1c6850c14040f8337753a63119bba39b9 and fixed in 6.12.110 with commit 7337d012ca3fc3a6a2d1c8e2a19c6d97c38b410d Issue introduced in 6.3 with commit f1c006f1c6850c14040f8337753a63119bba39b9 and fixed in 6.18.52 with commit 3d8c3da95c75a4d312e272fc7b4076dd3ba9115c Issue introduced in 6.3 with commit f1c006f1c6850c14040f8337753a63119bba39b9 and fixed in 7.2.6 with commit d8c872901e6459339374e9eea80aa919176c2ccd Issue introduced in 6.3 with commit f1c006f1c6850c14040f8337753a63119bba39b9 and fixed in 7.3-rc1 with commit 5e9220389920f33b6a804d50c548cd0cd1b04634 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-90325 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: block/blk-cgroup.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b5dae1cd0d8368b4338430ff93403df67f0b8bcc https://git.kernel.org/stable/c/083b58373463a6e5ee60ecb135269348f68ad7df https://git.kernel.org/stable/c/1a267295b1ea6a6477963f3fda84adfecd48fcad https://git.kernel.org/stable/c/7337d012ca3fc3a6a2d1c8e2a19c6d97c38b410d https://git.kernel.org/stable/c/3d8c3da95c75a4d312e272fc7b4076dd3ba9115c https://git.kernel.org/stable/c/d8c872901e6459339374e9eea80aa919176c2ccd https://git.kernel.org/stable/c/5e9220389920f33b6a804d50c548cd0cd1b04634