From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Yu Junzhe <junzheyu1@gmail.com>
Cc: stable@vger.kernel.org, Sasha Levin <sashal@kernel.org>,
Pablo Neira Ayuso <pablo@netfilter.org>,
Florian Westphal <fw@strlen.de>,
netfilter-devel@vger.kernel.org
Subject: Re: [PATCH request stable 6.12 6.6 6.1] netfilter: nf_tables_netdev_event UAF of binding chain
Date: Fri, 25 Sep 2026 07:07:02 +0200 [thread overview]
Message-ID: <2026092558-grime-yahoo-6b34@gregkh> (raw)
In-Reply-To: <20260925020025.616-1-junzheyu1@gmail.com>
On Fri, Sep 25, 2026 at 02:00:25AM +0000, Yu Junzhe wrote:
> Hello,
>
> Please consider a backport of the following use-after-free to the
> longterm trees that still have it: 6.12, 6.6, and 6.1. 6.18 and newer
> are not affected.
>
> There is no single upstream commit to cherry-pick. On current linux.git
> the netdev notifier no longer calls __nft_release_basechain(); it only
> unregisters the per-device hook. That change arrived as part of the
> netdev-hook rework and does not apply to these stable trees.
Great, please provide a working, and tested, patch and we will glad to
review it and apply it if it passes review.
Or you can just submit the same upstream patches backported, which is
probably easier.
thanks,
greg k-h
next prev parent reply other threads:[~2026-09-25 5:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 2:00 [PATCH request stable 6.12 6.6 6.1] netfilter: nf_tables_netdev_event UAF of binding chain Yu Junzhe
2026-09-25 5:07 ` Greg Kroah-Hartman [this message]
2026-09-25 7:51 ` Yu Junzhe
2026-09-25 7:51 ` [PATCH 6.12 1/2] netfilter: nf_tables: Tolerate chains with no remaining hooks Yu Junzhe
2026-09-25 7:51 ` [PATCH 6.12 2/2] netfilter: nf_tables: Simplify chain netdev notifier Yu Junzhe
2026-09-25 7:51 ` [PATCH 6.6 6.1 1/2] netfilter: nf_tables: Tolerate chains with no remaining hooks Yu Junzhe
2026-09-25 18:47 ` Sasha Levin
2026-10-01 3:51 ` [PATCH 6.1] netfilter: nf_tables: fix UAF in nf_tables_netdev_event walker Ma Xinmeng
2026-10-01 8:46 ` Pablo Neira Ayuso
2026-10-02 4:25 ` [PATCH 6.1 1/2] netfilter: nf_tables: allow to create netdev chain without device Ma Xinmeng
2026-10-02 21:10 ` Sasha Levin
2026-10-02 21:44 ` Pablo Neira Ayuso
[not found] ` <20261002042509.711-1-1564938642@qq.com>
2026-10-02 4:25 ` [PATCH 6.1 2/2] netfilter: nf_tables: support for adding new devices to an existing netdev chain Ma Xinmeng
2026-09-25 7:51 ` [PATCH 6.6 6.1 2/2] netfilter: nf_tables: Simplify chain netdev notifier Yu Junzhe
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=2026092558-grime-yahoo-6b34@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=fw@strlen.de \
--cc=junzheyu1@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
--cc=sashal@kernel.org \
--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