public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* Please merge commit 85c2ceaafbd3 ("mm/damon/sysfs: eliminate potential uninitialized variable warning") into >=5.19 stable trees
@ 2023-12-08 20:09 SeongJae Park
  0 siblings, 0 replies; only message in thread
From: SeongJae Park @ 2023-12-08 20:09 UTC (permalink / raw)
  To: stable; +Cc: damon, linux-mm, linux-kernel, SeongJae Park

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/20231031170131.46972-1-sj@kernel.org/
[2] https://lore.kernel.org/all/739e6aaf-a634-4e33-98a8-16546379ec9f@moroto.mountain/
[3] https://lore.kernel.org/all/20231106165205.48264-1-sj@kernel.org/
[4] https://lore.kernel.org/all/20231106233408.51159-1-sj@kernel.org/


Thanks,
SJ

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-08 20:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-08 20:09 Please merge commit 85c2ceaafbd3 ("mm/damon/sysfs: eliminate potential uninitialized variable warning") into >=5.19 stable trees SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox