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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
29cbb9a13f05b20f0777c60db9603730b487a4e0 to < 082351f9d40007414ad6af062b3a26fa02fd4b5faffected29cbb9a13f05b20f0777c60db9603730b487a4e0 to < 30a361be33f3793b9ecbd10ab7be6d0564819b79affected29cbb9a13f05b20f0777c60db9603730b487a4e0 to < 302e02f9ba49f81418ec2a749ae6f5cac1d424e9affected29cbb9a13f05b20f0777c60db9603730b487a4e0 to < 1bd31386ec3b9ccec10c04429948a306ec5897c0affected29cbb9a13f05b20f0777c60db9603730b487a4e0 to < d4e7b5c4cc353f154d5ab8bb2e1ce7714d77a6e9affected
Linux Linux
Default version status: affected
6.3affected0 to < 6.3unaffected6.6.142 to ≤ 6.6.*unaffected6.12.92 to ≤ 6.12.*unaffected6.18.34 to ≤ 6.18.*unaffected7.0.11 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- 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 ↗