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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5331FA9E.20506@oracle.com>
Date:	Tue, 25 Mar 2014 17:52:30 -0400
From:	Sasha Levin <sasha.levin@...cle.com>
To:	Alessandro Zummo <a.zummo@...ertech.it>, Tejun Heo <tj@...nel.org>
CC:	Greg KH <greg@...ah.com>, rtc-linux@...glegroups.com,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: kernfs/rtc: circular dependency between kernfs and ops_lock

On 02/24/2014 06:04 AM, Alessandro Zummo wrote:
> On Sat, 22 Feb 2014 15:52:17 -0500
> Tejun Heo <tj@...nel.org> wrote:
>
>> The problem is rtc_device_unregister().  It grabs rtc->ops_lock and
>> then tries to remove the sysfs files.  Some of those sysfs file
>> implementations acquire rtc->ops_lock, so it of course can lead to
>> deadlocks.  One can't try to delete a sysfs file which acquires a lock
>> while holding the same lock.
>
>   Pretty interesting indeed. One option would be to remove
>   the sys files before acquiring the lock. But I wonder
>   if this could lead to other issues.
>

Ping? Seems this thing got lost.


Thanks,
Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ