From: Kenny Hsieh <kenny_hsieh@jabil.com>
To: "netdev-bot+sinfo@kernel.org" <netdev-bot+sinfo@kernel.org>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Jeremy Kerr <jk@codeconstruct.com.au>,
Matt Johnston <matt@codeconstruct.com.au>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"davem@davemloft.net" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
"stable@vger.kernel.org" <stable@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net v2] mctp i2c: fix double free of midev on netdev register failure
Date: Tue, 27 Oct 2026 05:55:06 +0000 [thread overview]
Message-ID: <DM8PR02MB80871A5074EA3DF67603D9868E602@DM8PR02MB8087.namprd02.prod.outlook.com> (raw)
In-Reply-To: <179307969867.3327.8394430717039407023@kernel.org>
The double free is from code inspection.
Sashiko flagged it while reviewing another mctp-i2c patch, and I checked it against the register_netdevice() error paths.
The late failures need an internal allocation or notifier error, so I haven't hit it on hardware.
prev parent reply other threads:[~2026-10-27 5:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 5:37 Kenny Hsieh
2026-10-27 5:41 ` netdev-bot+sinfo
2026-10-27 5:55 ` Kenny Hsieh [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=DM8PR02MB80871A5074EA3DF67603D9868E602@DM8PR02MB8087.namprd02.prod.outlook.com \
--to=kenny_hsieh@jabil.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=jk@codeconstruct.com.au \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt@codeconstruct.com.au \
--cc=netdev-bot+sinfo@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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
all inboxes | Powered by JetHome®