From: Greg KH <gregkh@linuxfoundation.org>
To: Olivier Matz <olivier.matz@6wind.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 5.15 0/2] vlan: fix netdev refcount leak
Date: Sun, 3 Dec 2023 14:56:26 +0100 [thread overview]
Message-ID: <2023120319-moonlike-directory-8bb9@gregkh> (raw)
In-Reply-To: <20231201133004.3853933-1-olivier.matz@6wind.com>
On Fri, Dec 01, 2023 at 02:30:02PM +0100, Olivier Matz wrote:
> The backport of commit 21032425c36f ("net: vlan: fix a UAF in
> vlan_dev_real_dev()") in v5.15.3 introduced a netdevice refcount leak
> that was fixed upstream.
>
> The first commit is trivial and helps to limit conflicts when applying
> the second commit, which fixes the issue.
>
> The last conflict is solved by using dev_put() instead of
> dev_put_track(), as the latter was introduced in 5.17 and does not
> exist in 5.15.x.
>
> Xin Long (2):
> vlan: introduce vlan_dev_free_egress_priority
> vlan: move dev_put into vlan_dev_uninit
>
> net/8021q/vlan.h | 2 +-
> net/8021q/vlan_dev.c | 15 +++++++++++----
> net/8021q/vlan_netlink.c | 7 ++++---
> 3 files changed, 16 insertions(+), 8 deletions(-)
>
> --
> 2.30.2
>
>
Both now queued up, thanks.
greg k-h
prev parent reply other threads:[~2023-12-03 13:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-01 13:30 [PATCH 5.15 0/2] vlan: fix netdev refcount leak Olivier Matz
2023-12-01 13:30 ` [PATCH 5.15 1/2] vlan: introduce vlan_dev_free_egress_priority Olivier Matz
2023-12-01 13:30 ` [PATCH 5.15 2/2] vlan: move dev_put into vlan_dev_uninit Olivier Matz
2023-12-03 13:56 ` Greg KH [this message]
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=2023120319-moonlike-directory-8bb9@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=olivier.matz@6wind.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