diff options
author | Sven Van Asbroeck <[email protected]> | 2019-03-01 11:54:19 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-03-01 17:45:27 -0600 |
commit | 7cf58b79b3072029af127ae865ffc6f00f34b1f8 (patch) | |
tree | 632a551a2996a914cb43e1daf38c06fa881bf90d /lib/test_overflow.c | |
parent | 95c80bc6952b6a5badc7b702d23e5bf14d251e7c (diff) |
PCI/PME: Fix possible use-after-free on remove
In remove(), ensure that the PME work cannot run after kfree() is called.
Otherwise, this could result in a use-after-free.
This issue was detected with the help of Coccinelle.
Signed-off-by: Sven Van Asbroeck <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Sinan Kaya <[email protected]>
Cc: Frederick Lawler <[email protected]>
Cc: Mika Westerberg <[email protected]>
Cc: Keith Busch <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions