Re: Null pointer crash in filt_uhidrdetach

2020-01-06 Thread Greg Steuck
On Mon, Jan 6, 2020 at 9:49 AM Visa Hankala wrote: > The kernel is not very good at revoking knotes when a device is > detached. There is already some code for doing a cleanish detachment, > but it is not used everywhere. > > Does the following diff help with this problem with uhid(4)? > To the

Re: Null pointer crash in filt_uhidrdetach

2020-01-06 Thread Visa Hankala
On Fri, Jan 03, 2020 at 11:37:22PM -0800, Greg Steuck wrote: > While playing with chromium u2f support[1] I managed to induce kernel > crashes in filt_uhidrdetach. It takes a few attempts of plugging/unplugging > the fido key while trying to authenticate at demo.yubico.com/playground. > Eventually

Null pointer crash in filt_uhidrdetach

2020-01-03 Thread Greg Steuck
While playing with chromium u2f support[1] I managed to induce kernel crashes in filt_uhidrdetach. It takes a few attempts of plugging/unplugging the fido key while trying to authenticate at demo.yubico.com/playground. Eventually the kernel panics with this stack trace (retyped from [2]): filt_uhi