lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ