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:   Thu, 17 Mar 2022 08:45:56 +0800
From:   Oliver Sang <oliver.sang@...el.com>
To:     "Paul E. McKenney" <paulmck@...nel.org>
Cc:     lkp@...ts.01.org, lkp@...el.com,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: [rcu]  758cf1496b: BUG:spinlock_bad_magic_on_CPU

hi Paul,

On Wed, Mar 16, 2022 at 10:04:37AM -0700, Paul E. McKenney wrote:
> On Wed, Mar 16, 2022 at 02:16:28PM +0800, Oliver Sang wrote:
> > hi, Paul,
> > 
> > On Mon, Mar 14, 2022 at 07:06:53AM -0700, Paul E. McKenney wrote:
> > > On Mon, Mar 14, 2022 at 01:50:57PM +0800, kernel test robot wrote:
> > > > 
> > > > 
> > > > Greeting,
> > > > 
> > > > FYI, we noticed the following commit (built with gcc-9):
> > > > 
> > > > commit: 758cf1496b94442c47c339b10d80cbaadf613425 ("rcu: Make UP-vacuous normal grace period advance sequence")
> > > > https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev.2022.03.09a
> > > > 
> > > > in testcase: boot
> > > > 
> > > > on test machine: qemu-system-x86_64 -enable-kvm -cpu Icelake-Server -smp 4 -m 16G
> > > > 
> > > > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
> > > > 
> > > > 
> > > > +--------------------------------------+------------+------------+
> > > > |                                      | 6129c2b2dc | 758cf1496b |
> > > > +--------------------------------------+------------+------------+
> > > > | BUG:spinlock_bad_magic_on_CPU        | 0          | 16         |
> > > > | WARNING:at_init/main.c:#start_kernel | 0          | 16         |
> > > > | RIP:start_kernel                     | 0          | 16         |
> > > > +--------------------------------------+------------+------------+
> > > > 
> > > > 
> > > > If you fix the issue, kindly add following tag
> > > > Reported-by: kernel test robot <oliver.sang@...el.com>
> > > 
> > > Does this fix it for you?
> > > 
> > > 67792d475181 ("fixup! rcu: Make UP-vacuous normal grace period advance sequence")
> > 
> > yes, this fixed:
> > 
> > 6129c2b2dc65abde 758cf1496b94442c47c339b10d8 67792d4751810a675c5690ce2e9
> > ---------------- --------------------------- ---------------------------
> >        fail:runs  %reproduction    fail:runs  %reproduction    fail:runs
> >            |             |             |             |             |
> >            :6          100%           6:6            0%            :20    dmesg.BUG:spinlock_bad_magic_on_CPU
> >            :6          100%           6:6            0%            :20    dmesg.RIP:start_kernel
> >            :6          100%           6:6            0%            :20    dmesg.WARNING:at_init/main.c:#start_kernel
> 
> Very good, thank you!
> 
> May I add your Tested-by?

sure! our great pleasure :)

Tested-by: kernel test robot <oliver.sang@...el.com>

> 
> 							Thanx, Paul
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ