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  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, 11 Jan 2007 09:29:59 +0100
From:	Jarek Poplawski <jarkao2@...pl>
To:	David Miller <davem@...emloft.net>
Cc:	shemminger@...l.org, greearb@...delatech.com,
	herbert@...dor.apana.org.au, dlstevens@...ibm.com,
	netdev@...r.kernel.org
Subject: Re: BUG: soft lockup detected on CPU#0! (2.6.18.2 plus hacks)

On Wed, Jan 10, 2007 at 11:40:35PM -0800, David Miller wrote:
> From: Jarek Poplawski <jarkao2@...pl>
> Date: Thu, 11 Jan 2007 08:24:28 +0100
> 
> > Yesterday I did what I should do earlier - checked
> > this simple way, with printk, and now I have no doubts
> > it's a bug: if you add or remove vlan devices with
> > vconfig, register_vlan_device and unregister_vlan_dev
> > are called by ioctl and they use and change rcu
> > procetded data without preemption disabled so vlan
> > rcu hash lists could become corrupted or find results
> > could be wrong.
> 
> Those two operations do their modifications and changes under the RTNL
> semaphore, via rtnl_lock() and rtnl_unlock() which guarentees that no
> other modifications can occur.

Sure, but is this even legal to be preempted during
reading or modifying rcu list? Doesn't this disturb
rcu cycle and make possible memory release problems?

Jarek P.
-
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