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: <201101102111.07266.rjw@sisk.pl>
Date:	Mon, 10 Jan 2011 21:11:06 +0100
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	David Miller <davem@...emloft.net>
Cc:	linux-kernel@...r.kernel.org, maciej.rutecki@...il.com,
	florian@...kler.org, akpm@...ux-foundation.org,
	torvalds@...ux-foundation.org, kernel-testers@...r.kernel.org,
	netdev@...r.kernel.org, linux-acpi@...r.kernel.org,
	linux-pm@...ts.linux-foundation.org, linux-scsi@...r.kernel.org,
	linux-wireless@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: Re: 2.6.37-rc8: Reported regressions from 2.6.36

On Monday, January 10, 2011, David Miller wrote:
> From: "Rafael J. Wysocki" <rjw@...k.pl>
> Date: Wed, 29 Dec 2010 23:59:38 +0100 (CET)
> 
> > Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=24592
> > Subject		: 2.6.37-rc5: NULL pointer oops in selinux_socket_unix_stream_connect
> > Submitter	: Jeremy Fitzhardinge <jeremy@...p.org>
> > Date		: 2010-12-08 21:09 (22 days old)
> > Message-ID	: <4CFFF3F3.90100@...p.org>
> > References	: http://marc.info/?l=linux-kernel&m=129184256629712&w=2
> 
> This bug is intended to be fixed by:
> 
> commit 3610cda53f247e176bcbb7a7cca64bc53b12acdb
> Author: David S. Miller <davem@...emloft.net>
> Date:   Wed Jan 5 15:38:53 2011 -0800
> 
>     af_unix: Avoid socket->sk NULL OOPS in stream connect security hooks.
>     
>     unix_release() can asynchornously set socket->sk to NULL, and
>     it does so without holding the unix_state_lock() on "other"
>     during stream connects.
>     
>     However, the reverse mapping, sk->sk_socket, is only transitioned
>     to NULL under the unix_state_lock().
>     
>     Therefore make the security hooks follow the reverse mapping instead
>     of the forward mapping.
>     
>     Reported-by: Jeremy Fitzhardinge <jeremy@...p.org>
>     Reported-by: Linus Torvalds <torvalds@...ux-foundation.org>
>     Signed-off-by: David S. Miller <davem@...emloft.net>
> 

OK, thanks for the info, closing.

Rafael
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ