From: Markus Elfring <Markus.Elfring@web.de>
To: Wen Yang <wen.yang99@zte.com.cn>, linuxppc-dev@lists.ozlabs.org
Cc: Markus.Elfring@web.de,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Cheng Shengyu <cheng.shengyu@zte.com.cn>,
Kumar Gala <galak@kernel.crashing.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Paul Mackerras <paulus@samba.org>, Scott Wood <oss@buserror.net>,
kernel-janitors@vger.kernel.org,
Xue Zhihong <xue.zhihong@zte.com.cn>,
Yi Wang <wang.yi59@zte.com.cn>,
linux-kernel@vger.kernel.org
Subject: Re: [1/2] powerpc/83xx: fix use-after-free in mpc831x_usb_cfg()
Date: Wed, 10 Jul 2019 09:19:18 +0200 [thread overview]
Message-ID: <3138c2fa-1e99-f672-2108-33dd1cf25ca2@web.de> (raw)
In-Reply-To: <1562670768-23178-2-git-send-email-wen.yang99@zte.com.cn>
> The immr_node variable is still being used after the of_node_put() call,
> which may result in use-after-free.
Was any known source code analysis tool involved to point such
a questionable implementation detail out for further software
development considerations?
Regards,
Markus
next prev parent reply other threads:[~2019-07-10 7:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-09 11:12 [PATCH 0/2] fix use-after-free in mpc831x_usb_cfg() and do some cleanups Wen Yang
2019-07-09 11:12 ` [PATCH 1/2] powerpc/83xx: fix use-after-free in mpc831x_usb_cfg() Wen Yang
2019-07-10 7:19 ` Markus Elfring [this message]
2019-07-09 11:12 ` [PATCH 2/2] powerpc/83xx: cleanup error paths " Wen Yang
2019-07-09 16:14 ` [PATCH 0/2] fix use-after-free in mpc831x_usb_cfg() and do some cleanups Markus Elfring
[not found] <201907101533443009168@zte.com.cn>
2019-07-10 9:24 ` [1/2] powerpc/83xx: fix use-after-free in mpc831x_usb_cfg() Markus Elfring
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=3138c2fa-1e99-f672-2108-33dd1cf25ca2@web.de \
--to=markus.elfring@web.de \
--cc=benh@kernel.crashing.org \
--cc=cheng.shengyu@zte.com.cn \
--cc=galak@kernel.crashing.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=oss@buserror.net \
--cc=paulus@samba.org \
--cc=wang.yi59@zte.com.cn \
--cc=wen.yang99@zte.com.cn \
--cc=xue.zhihong@zte.com.cn \
/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).