Thread (33 messages) flat view 33 messages, 3 authors, 2018-05-09

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

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-05-04 02:56:55

Sam Bobroff [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help