[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+HUmGgKOCE1EJ+GDnt+d5MhNyEn21DaYJN97HH5Q=_LshnJLA@mail.gmail.com>
Date: Fri, 11 Aug 2017 13:54:42 -0700
From: Francesco Ruggeri <fruggeri@...sta.com>
To: linux-hotplug@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Francesco Ruggeri <fruggeri@...sta.com>
Subject: Re: [uio] panic in name_show()
On Fri, Aug 11, 2017 at 11:29 AM, Francesco Ruggeri <fruggeri@...sta.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
Powered by blists - more mailing lists