Subject: Re: [1/2] powerpc/83xx: fix use-after-free in mpc831x_usb_cfg()

From: <[email-masked]>
Date: Wed, 10 Jul 2019 15:33:44 +0800 (CST)

> > 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?

Hi Markus, 
we developed a coccinelle script to detect such problems. 
This script is still being improved.
After a period of testing, we will send it to the LMKL mailing list later.

--
Regards,
Wen