Please merge commit 85c2ceaafbd3 ("mm/damon/sysfs: eliminate potential
uninitialized variable warning") to >=5.19 stable kernels.
In 2023-10-31, I sent[1] a fix for v5.19. After a week, Dan found an issue in
the fix and sent a fix. At that time, the commit that Dan was fixing was
merged in the mm tree but not in the mainline. Hence, Dan didn't Cc stable@.
However, now the broken fix[1] is merged in the mainline as commit 973233600676
("mm/damon/sysfs: update monitoring target regions for online input commit"),
and all >=5.19 stable trees. Hence Dan's fix should also applied to those
trees. Please apply those.
Note that the bug was only potential[3] due to unchecked return value.
However, the unchecked return value was not an intentional behavior but a bug.
Hence we further made the return value to be checked[4]. The return value
check fix is also merged in the relevant stable trees, so the fix is now needed
for a real bug.
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/[email protected]/
[4] https://lore.kernel.org/all/[email protected]/
Thanks,
SJ