CVE-2026-64184: mm/damon/sysfs-schemes: call missing mem_cgroup_iter_break()
Greg Kroah-Hartman <[email protected]>
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026071939-CVE-2026-64184-0f6b@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs-schemes: call missing mem_cgroup_iter_break() damon_sysfs_memcg_path_to_id() breaks mem_cgroup_iter() loop without calling mem_cgroup_iter_break(). This leaks the cgroup reference. Fix the issue by calling mem_cgroup_iter_break() before the break. The issue was discovered [1] by Sashiko. The Linux kernel CVE team has assigned CVE-2026-64184 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 29cbb9a13f05b20f0777c60db9603730b487a4e0 and fixed in 6.6.142 with commit 082351f9d40007414ad6af062b3a26fa02fd4b5f Issue introduced in 6.3 with commit 29cbb9a13f05b20f0777c60db9603730b487a4e0 and fixed in 6.12.92 with commit 30a361be33f3793b9ecbd10ab7be6d0564819b79 Issue introduced in 6.3 with commit 29cbb9a13f05b20f0777c60db9603730b487a4e0 and fixed in 6.18.34 with commit 302e02f9ba49f81418ec2a749ae6f5cac1d424e9 Issue introduced in 6.3 with commit 29cbb9a13f05b20f0777c60db9603730b487a4e0 and fixed in 7.0.11 with commit 1bd31386ec3b9ccec10c04429948a306ec5897c0 Issue introduced in 6.3 with commit 29cbb9a13f05b20f0777c60db9603730b487a4e0 and fixed in 7.1 with commit d4e7b5c4cc353f154d5ab8bb2e1ce7714d77a6e9 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-64184 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: mm/damon/sysfs-schemes.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/082351f9d40007414ad6af062b3a26fa02fd4b5f https://git.kernel.org/stable/c/30a361be33f3793b9ecbd10ab7be6d0564819b79 https://git.kernel.org/stable/c/302e02f9ba49f81418ec2a749ae6f5cac1d424e9 https://git.kernel.org/stable/c/1bd31386ec3b9ccec10c04429948a306ec5897c0 https://git.kernel.org/stable/c/d4e7b5c4cc353f154d5ab8bb2e1ce7714d77a6e9