From: Greg KH <gregkh@linuxfoundation.org>
To: achtol <achtol@free.fr>
Cc: stable@vger.kernel.org
Subject: Re: CVE-2020-16120 and CVE-2021-3428
Date: Thu, 7 Apr 2022 13:21:02 +0200 [thread overview]
Message-ID: <Yk7JHhKI8um7bzCo@kroah.com> (raw)
In-Reply-To: <a362b7bc-8b30-bbe6-de37-9cc01cf42d9c@free.fr>
On Thu, Apr 07, 2022 at 12:40:51PM +0200, achtol wrote:
> Hello,
>
> It seems the fix commits for a couple of CVEs have not been cherry picked in
> the current linux-5.4.y branch (v5.4.188, currently):
>
> ---
>
> CVE-2020-16120:
>
> <https://nvd.nist.gov/vuln/detail/CVE-2020-16120> references the following
> mainline commits:
>
> d1d04ef8572bc8c22265057bd3d5a79f223f8f52 "ovl: stack file ops" (break
> commit)
> 56230d956739b9cb1cbde439d76227d77979a04d "ovl: verify permissions in
> ovl_path_open()"
> 48bd024b8a40d73ad6b086de2615738da0c7004f "ovl: switch to mounter creds
> in readdir"
> 05acefb4872dae89e772729efb194af754c877e8 "ovl: check permission to open
> real file"
> b6650dab404c701d7fe08a108b746542a934da84 "ovl: do not fail because of
> O_NOATIME"
>
> The CVE description says the last commit in the list above fixes a
> regression introduced by these two commits:
>
> 130fdbc3d1f9966dd4230709c30f3768bccd3065 "ovl: pass correct flags for
> opening real directory"
> 292f902a40c11f043a5ca1305a114da0e523eaa3 "ovl: call secutiry hook in
> ovl_real_ioctl()"
>
> ---
>
> CVE-2021-3428:
>
> According to <https://bugzilla.suse.com/show_bug.cgi?id=1173485>, the
> mainline fix commits are:
>
> d176b1f62f24 "ext4: handle error of ext4_setup_system_zone() on remount"
> bf9a379d0980 "ext4: don't allow overlapping system zones"
> ce9f24cccdc0 "ext4: check journal inode extents more carefully"
>
> Of these, only the first two have been cherry-picked.
>
> ---
>
> Half of these commits may be cherry-picked without a conflict.
Which half?
> I wonder why
> they have not been applied and cannot find any discussion about them on this
> mailing list. Is it an oversight? Or because the v5.4 line is not affected?
> Some other reason?
If you can provide a working set of patches backported, I will be glad
to review them and apply them if needed.
thanks,
greg k-h
next prev parent reply other threads:[~2022-04-07 11:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-07 10:40 CVE-2020-16120 and CVE-2021-3428 achtol
2022-04-07 11:21 ` Greg KH [this message]
2022-04-14 10:54 ` 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=Yk7JHhKI8um7bzCo@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=achtol@free.fr \
--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