Re: [1/2] powerpc/83xx: fix use-after-free in mpc831x_usb_cfg()
wen.yang99 at zte.com.cn
wen.yang99 at zte.com.cn
Wed Jul 10 17:33:44 AEST 2019
> > 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
More information about the Linuxppc-dev
mailing list