On Wed, Oct 26, 2022 at 12:24:38PM -0400, Seth Jenkins wrote:
Commit 258f669e7e88 ("mm: /proc/pid/smaps_rollup: convert to single value seq_file") introduced a null-deref if there are no vma's in the task in show_smaps_rollup.
Fixes: 258f669e7e88 ("mm: /proc/pid/smaps_rollup: convert to single value seq_file") Signed-off-by: Seth Jenkins sethjenkins@google.com Reviewed-by: Alexey Dobriyan adobriyan@gmail.com Tested-by: Alexey Dobriyan adobriyan@gmail.com
c4c84f06285e on upstream resolves this issue, but a fix must still be applied to stable trees 4.19-5.19.
And you need to document really really really well why we can not take that upstream commit please.
Also note that 5.19.y is end-of-life.
Please fix up and resend.
thanks,
greg k-h