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-next>] [day] [month] [year] [list]
Date:   Thu, 24 Dec 2020 10:51:47 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Uladzislau Rezki <urezki@...il.com>
Cc:     "Paul E. McKenney" <paulmck@...nel.org>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        lkp@...el.com
Subject: [rcu]  ddc403b8de:
 WARNING:at_kernel/rcu/tasks.h:#rcu_tasks_verify_self_tests


Greeting,

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

commit: ddc403b8dedd2df9a95c247b73a534e12e8e40a2 ("rcu-tasks: Add RCU-tasks self tests")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2020.12.09a


in testcase: boot

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

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


+------------------------------------------------------------+------------+------------+
|                                                            | 936a23496c | ddc403b8de |
+------------------------------------------------------------+------------+------------+
| boot_successes                                             | 32         | 0          |
| boot_failures                                              | 0          | 32         |
| WARNING:at_kernel/rcu/tasks.h:#rcu_tasks_verify_self_tests | 0          | 32         |
| EIP:rcu_tasks_verify_self_tests                            | 0          | 32         |
+------------------------------------------------------------+------------+------------+


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


[   10.025923] WARNING: CPU: 1 PID: 1 at kernel/rcu/tasks.h:1278 rcu_tasks_verify_self_tests+0x18/0x20
[   10.027560] Modules linked in:
[   10.028138] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.0-rc1-00218-gddc403b8dedd #1
[   10.029493] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[   10.030853] EIP: rcu_tasks_verify_self_tests+0x18/0x20
[   10.031751] Code: 00 00 c3 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 90 8b 15 fc 87 5c 4d 31 c0 39 15 f8 87 5c 4d 75 08 c3 8d b4 26 00 00 00 00 <0f> 0b b8 ff ff ff ff c3 55 89 e5 83 ec 30 89 5d f4 89 75 f8 89 c6
[   10.035008] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000002
[   10.036193] ESI: 4aeee4b0 EDI: 413ea568 EBP: 41231f80 ESP: 41231f20
[   10.037300] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010202
[   10.038442] CR0: 80050033 CR2: 37f32080 CR3: 0cee5000 CR4: 00040690
[   10.039521] Call Trace:
[   10.039984]  ? do_one_initcall+0x65/0x330
[   10.040656]  ? rcu_read_lock_sched_held+0x47/0x80
[   10.041483]  ? trace_initcall_level+0x7c/0xa4
[   10.042238]  ? kernel_init_freeable+0x1ff/0x249
[   10.043092]  ? rest_init+0x23e/0x23e
[   10.043697]  ? kernel_init+0x8/0xe2
[   10.044267]  ? ret_from_fork+0x1c/0x28
[   10.044796] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.0-rc1-00218-gddc403b8dedd #1
[   10.045876] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[   10.047019] Call Trace:
[   10.047385]  ? dump_stack+0x6d/0x8b
[   10.047883]  ? __warn.cold+0x24/0x4d
[   10.048390]  ? rcu_tasks_verify_self_tests+0x18/0x20
[   10.049227]  ? rcu_tasks_verify_self_tests+0x18/0x20
[   10.050045]  ? rcu_tasks_verify_self_tests+0x18/0x20
[   10.050888]  ? report_bug+0xa3/0xe0
[   10.051501]  ? rcu_tasks_be_rude+0x10/0x10
[   10.052200]  ? exc_overflow+0x50/0x50
[   10.052867]  ? handle_bug+0x28/0x50
[   10.053481]  ? exc_invalid_op+0x26/0x80
[   10.054157]  ? handle_exception+0x12b/0x12b
[   10.054896]  ? rcu_tasks_be_rude+0x10/0x10
[   10.055617]  ? serpent_dec_blk_4way+0x1753/0x2518
[   10.056462]  ? validate_chain+0x7fb/0xf00
[   10.061265]  ? rcu_tasks_verify_self_tests+0x18/0x20
[   10.062151]  ? exc_overflow+0x50/0x50
[   10.062795]  ? rcu_tasks_verify_self_tests+0x18/0x20
[   10.063691]  ? do_one_initcall+0x65/0x330
[   10.064410]  ? rcu_read_lock_sched_held+0x47/0x80
[   10.065264]  ? trace_initcall_level+0x7c/0xa4
[   10.066046]  ? kernel_init_freeable+0x1ff/0x249
[   10.066827]  ? rest_init+0x23e/0x23e
[   10.067450]  ? kernel_init+0x8/0xe2
[   10.068046]  ? ret_from_fork+0x1c/0x28
[   10.068843] irq event stamp: 2154779
[   10.069513] hardirqs last  enabled at (2154789): [<4aedbe95>] console_unlock+0x435/0x5e0
[   10.070970] hardirqs last disabled at (2154798): [<4aedbe85>] console_unlock+0x425/0x5e0
[   10.072468] softirqs last  enabled at (2154778): [<4c014c4f>] __do_softirq+0x29f/0x455
[   10.073952] softirqs last disabled at (2154767): [<4ae250f7>] call_on_stack+0x47/0x60
[   10.075334] ---[ end trace db299d2e6ab9f182 ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.10.0-rc1-00218-gddc403b8dedd .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-00218-gddc403b8dedd" of type "text/plain" (140685 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ