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]
Date:	Thu, 23 Feb 2012 14:17:03 -0800
From:	Linus Torvalds <>
To:	Oleg Nesterov <>
Cc:	Andrew Morton <>,
	Davide Libenzi <>,
	Eric Dumazet <>,
	Greg KH <>, Jason Baron <>,
	Roland McGrath <>,
	Eugene Teo <>,
	Maxime Bizon <>,
	Denys Vlasenko <>,
Subject: Re: [PATCH 4/4] epoll: ep_unregister_pollwait() can use the freed pwq->whead

On Thu, Feb 23, 2012 at 7:44 AM, Oleg Nesterov <> wrote:
> Or we can rely on the fact that sighand_cachep is SLAB_DESTROY_BY_RCU,
> and assume that ->whead is always rcu-protected if it can go away.
> In this case we don't need 3/4 (although it makes sense to add the
> fat comment), and 4/4 can be simplified, see below.


Can you also get rid of 1/4, because quite frankly, adding that
BUG_ON() is just annoying. Either the thing gets fixed or not, but at
no point is it ok to say "ok, I'm going to fix it, but before I do
I'll just make it much worse".

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists