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]
Date:	Fri, 30 Oct 2015 17:27:23 -0700
From:	Brian Norris <computersforpeace@...il.com>
To:	linux-mtd@...ts.infradead.org
Cc:	linux-kernel@...r.kernel.org, Felipe Balbi <balbi@...com>,
	tony@...mide.com, stable@...r.kernel.org
Subject: Re: [PATCH] mtd: blkdevs: fix potential deadlock + lockdep warnings

On Mon, Oct 26, 2015 at 07:38:49PM -0700, Brian Norris wrote:
> Commit 073db4a51ee4 ("mtd: fix: avoid race condition when accessing
> mtd->usecount") fixed a race condition but due to poor ordering of the
> mutex acquisition, introduced a potential deadlock.
[...]
> 
> Fixes: 073db4a51ee4 ("mtd: fix: avoid race condition when accessing mtd->usecount")
> Reported-by: Felipe Balbi <balbi@...com>
> Tested-by: Felipe Balbi <balbi@...com>
> Signed-off-by: Brian Norris <computersforpeace@...il.com>
> Cc: <stable@...r.kernel.org>

Pushed to l2-mtd.git.

> ---
> Resending as a proper patch
> 
> Note: I tried to reproduce this lockdep warning myself but couldn't. But I saw
> no problem under the new patch either.
--
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