[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050121-CVE-2022-49786-bd75@gregkh>
Date: Thu, 1 May 2025 16:09:36 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-49786: blk-cgroup: properly pin the parent in blkcg_css_online
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
blk-cgroup: properly pin the parent in blkcg_css_online
blkcg_css_online is supposed to pin the blkcg of the parent, but
397c9f46ee4d refactored things and along the way, changed it to pin the
css instead. This results in extra pins, and we end up leaking blkcgs
and cgroups.
The Linux kernel CVE team has assigned CVE-2022-49786 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.19 with commit 397c9f46ee4d99024c64954b007c1b5762d01cb4 and fixed in 6.0.10 with commit d118247e404d6338f7b90636a3c6b95a387ed163
Issue introduced in 5.19 with commit 397c9f46ee4d99024c64954b007c1b5762d01cb4 and fixed in 6.1 with commit d7dbd43f4a828fa1d9a8614d5b0ac40aee6375fe
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-2022-49786
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/d118247e404d6338f7b90636a3c6b95a387ed163
https://git.kernel.org/stable/c/d7dbd43f4a828fa1d9a8614d5b0ac40aee6375fe
Powered by blists - more mailing lists