From: Greg KH <gregkh@linuxfoundation.org>
To: Seth Jenkins <sethjenkins@google.com>
Cc: stable@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>,
Alexey Dobriyan <adobriyan@gmail.com>
Subject: Re: [PATCH stable 4.19-5.19] mm: /proc/pid/smaps_rollup: fix no vma's null-deref
Date: Wed, 26 Oct 2022 18:41:36 +0200 [thread overview]
Message-ID: <Y1ljQBkfcCoLYTx+@kroah.com> (raw)
In-Reply-To: <20221026162438.711738-1-sethjenkins@google.com>
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
next prev parent reply other threads:[~2022-10-26 16:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-26 16:24 [PATCH stable 4.19-5.19] mm: /proc/pid/smaps_rollup: fix no vma's null-deref Seth Jenkins
2022-10-26 16:41 ` Greg KH [this message]
2022-10-26 18:32 ` Seth Jenkins
2022-10-26 19:13 ` Matthew Wilcox
2022-10-27 6:16 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2022-10-27 15:36 Seth Jenkins
2022-10-27 16:44 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y1ljQBkfcCoLYTx+@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=sethjenkins@google.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).