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] [day] [month] [year] [list]
Message-ID: <1302700665.10549.4.camel@hcegtvedt>
Date:	Wed, 13 Apr 2011 15:17:45 +0200
From:	Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>
To:	Ole Henrik Jahren <olehenja@...mni.ntnu.no>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] avr32: fix deadlock when reading clock list in debugfs

On Sun, 2011-03-06 at 20:42 +0100, Ole Henrik Jahren wrote: 
> When writing out /sys/kernel/debug/at32ap_clk, clock list lock is being
> held while clk_get() is called. clk_get() attempts to take the same
> lock, which results in deadlock. Introduce and call lock free version,
> __clk_get(), instead.
> 
> Signed-off-by: Ole Henrik Jahren <olehenja@...mni.ntnu.no>
> Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>

Thanks for this fix, added to the AVR32 tree.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>

<snipp patch>

-- 
Hans-Christian Egtvedt

--
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