Messages in this thread | | | From | Francesco Ruggeri <> | Date | Fri, 11 Aug 2017 13:54:42 -0700 | Subject | Re: [uio] panic in name_show() |
| |
On Fri, Aug 11, 2017 at 11:29 AM, Francesco Ruggeri <fruggeri@arista.com> wrote: > I have run into this panic while some devices were being hotunplugged, > and I am able to easily reproduce it with the attached module, which > creates a dummy uio device (in my case /sys/class/uio/uio74). > The panic is the result of a race between uio_unregister_device(), > which sets idev->info to NULL,
Never mind. The code that is setting idev->info to NULL is coming from a non-standard driver. Sorry for the noise.
Francesco Ruggeri
> and name_show() which dereferences it. > Seen in 4.9, 3.18 and 3.4. > > Thanks, > Francesco Ruggeri
| |