[PATCH 03/13] powerpc/eeh: Fix use-after-release of EEH driver

Michael Ellerman mpe at ellerman.id.au
Fri May 4 12:56:55 AEST 2018


Sam Bobroff <sbobroff at linux.ibm.com> writes:

> Correct two cases where eeh_pcid_get() is used to reference the driver's
> module but the reference is dropped before the driver pointer is used.
>
> In eeh_rmv_device() also refactor a little so that only two calls to
> eeh_pcid_put() are needed, rather than three and the reference isn't
> taken at all if it wasn't needed.

This sounds like a crash or memory corruption bug?

But it doesn't have Fixes or Cc: stable. Is it not a major problem for
some reason?

cheers


More information about the Linuxppc-dev mailing list