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>] [day] [month] [year] [list]
Message-ID: <20201109143541.GA13878@xsang-OptiPlex-9020>
Date:   Mon, 9 Nov 2020 22:35:41 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     "Paul E. McKenney" <paulmck@...nel.org>
Cc:     Frederic Weisbecker <frederic@...nel.org>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        lkp@...el.com
Subject: [rcutorture] 5129ac05cc:
 WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_fwd_prog_nr

Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 5129ac05cc2308f9af62ea84874b4e56c4a722bb ("rcutorture: Test runtime toggling of CPUs' callback offloading")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git rcu/next


in testcase: trinity
version: trinity-static-i386-x86_64-f93256fb_2019-08-28
with following parameters:

	runtime: 300s

test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/


on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+----------------------------------------------------------------------------+------------+------------+
|                                                                            | bd0b4a7995 | 5129ac05cc |
+----------------------------------------------------------------------------+------------+------------+
| WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_fwd_prog_nr                | 0          | 4          |
| EIP:rcu_torture_fwd_prog_nr                                                | 0          | 4          |
+----------------------------------------------------------------------------+------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>


[   88.483027] WARNING: CPU: 0 PID: 133 at kernel/rcu/rcutorture.c:2027 rcu_torture_fwd_prog_nr+0x31f/0x330
[   88.485184] Modules linked in:
[   88.485945] CPU: 0 PID: 133 Comm: rcu_torture_fwd Not tainted 5.10.0-rc1-00072-g5129ac05cc23 #1
[   88.487876] EIP: rcu_torture_fwd_prog_nr+0x31f/0x330
[   88.488995] Code: 74 24 18 68 64 fa d4 81 68 e8 82 2a 82 e8 af 9b bc 00 83 c4 18 e9 e1 fe ff ff 90 0f 0b e9 2a ff ff ff 2b 44 24 04 89 c6 eb 94 <0f> 0b eb c1 8d b4 26 00 00 00 00 8d b6 00 00 00 00 66 66 66 66 90
[   88.493278] EAX: 00000001 EBX: 00000000 ECX: 00000000 EDX: 00000001
[   88.494739] ESI: 00000000 EDI: 00000001 EBP: 00000001 ESP: 83eb1f18
[   88.496197] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068 EFLAGS: 00010202
[   88.497663] CR0: 80050033 CR2: 7fd62f90 CR3: 05208000 CR4: 000006f0
[   88.498965] Call Trace:
[   88.499492]  ? synchronize_rcu_expedited+0x10/0x10
[   88.500457]  ? rcu_torture_fwd_prog+0x82/0x450
[   88.501406]  ? _raw_spin_unlock_irqrestore+0x35/0x40
[   88.502487]  ? trace_hardirqs_on+0x25/0xe0
[   88.503318]  ? __kthread_parkme+0x9e/0xc0
[   88.504152]  ? kthread+0x112/0x140
[   88.504893]  ? rcu_torture_fwd_cb_hist+0x30/0x30
[   88.505850]  ? kthread_create_on_node+0x30/0x30
[   88.506756]  ? ret_from_fork+0x1c/0x30
[   88.507561] CPU: 0 PID: 133 Comm: rcu_torture_fwd Not tainted 5.10.0-rc1-00072-g5129ac05cc23 #1
[   88.509298] Call Trace:
[   88.509839]  ? __warn.cold+0x80/0x97
[   88.510555]  ? rcu_torture_fwd_prog_nr+0x31f/0x330
[   88.511641]  ? report_bug+0x95/0xe0
[   88.512447]  ? exc_overflow+0x30/0x30
[   88.513188]  ? handle_bug+0x20/0x50
[   88.513991]  ? exc_invalid_op+0x22/0x70
[   88.514822]  ? handle_exception+0x13a/0x13a
[   88.515686]  ? __queue_work+0x400/0x540
[   88.516525]  ? rcu_torture_fwd_prog_nr+0x31f/0x330
[   88.517594]  ? __queue_work+0x400/0x540
[   88.518498]  ? exc_overflow+0x30/0x30
[   88.519287]  ? rcu_torture_fwd_prog_nr+0x31f/0x330
[   88.520346]  ? synchronize_rcu_expedited+0x10/0x10
[   88.521412]  ? rcu_torture_fwd_prog+0x82/0x450
[   88.522474]  ? _raw_spin_unlock_irqrestore+0x35/0x40
[   88.523623]  ? trace_hardirqs_on+0x25/0xe0
[   88.524529]  ? __kthread_parkme+0x9e/0xc0
[   88.525482]  ? kthread+0x112/0x140
[   88.526409]  ? rcu_torture_fwd_cb_hist+0x30/0x30
[   88.527417]  ? kthread_create_on_node+0x30/0x30
[   88.528392]  ? ret_from_fork+0x1c/0x30
[   88.529224] ---[ end trace 31cc8a53804882ac ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.10.0-rc1-00072-g5129ac05cc23 .config
	make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Oliver Sang


View attachment "config-5.10.0-rc1-00072-g5129ac05cc23" of type "text/plain" (127010 bytes)

View attachment "job-script" of type "text/plain" (4283 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (15528 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ