Re: [PATCH] xhci: Fix use-after-free in xhci debugfs

2017-12-13 Thread Mathias Nyman
On 11.12.2017 00:14, Alexander Kappner wrote: Trying to read from debugfs after the system has resumed from hibernate causes a use-after-free and thus a protection fault. Steps to reproduce: Hibernate system, resume from hibernate, then run $ cat

[PATCH] xhci: Fix use-after-free in xhci debugfs

2017-12-10 Thread Alexander Kappner
Trying to read from debugfs after the system has resumed from hibernate causes a use-after-free and thus a protection fault. Steps to reproduce: Hibernate system, resume from hibernate, then run $ cat /sys/kernel/debug/usb/xhci/*/command-ring/enqueue dmesg below: [ 3902.765086] general