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:   Fri, 12 Apr 2019 22:24:13 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     "Paul E. McKenney" <paulmck@...ux.ibm.com>
Cc:     Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
        LKML <linux-kernel@...r.kernel.org>,
        "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>, lkp@...org,
        ltp@...ts.linux.it
Subject: [rcutorture] 7c932cda19:
 WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_writer[rcutorture]

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

commit: 7c932cda193c4a9918a5867c8d7ec30ceb11d119 ("rcutorture: Fix stutter_wait() return value and freelist checks")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2019.04.09b

in testcase: ltp
with following parameters:

	test: kernel_misc

test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/


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):


+--------------------------------------------------------------------+------------+------------+
|                                                                    | c41c3a1676 | 7c932cda19 |
+--------------------------------------------------------------------+------------+------------+
| boot_successes                                                     | 16         | 13         |
| boot_failures                                                      | 16         | 19         |
| BUG:kernel_reboot-without-warning_in_test_stage                    | 13         | 7          |
| BUG:soft_lockup-CPU##stuck_for#s                                   | 1          |            |
| RIP:free_reserved_area                                             | 1          |            |
| Kernel_panic-not_syncing:softlockup:hung_tasks                     | 1          |            |
| INFO:rcu_sched_self-detected_stall_on_CPU                          | 2          |            |
| RIP:console_unlock                                                 | 2          |            |
| WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_writer[rcutorture] | 0          | 12         |
| RIP:rcu_torture_writer[rcutorture]                                 | 0          | 12         |
+--------------------------------------------------------------------+------------+------------+



[  261.653491] WARNING: CPU: 0 PID: 3098 at kernel/rcu/rcutorture.c:1019 rcu_torture_writer+0x506/0x890 [rcutorture]
[  261.656920] rcu-torture: Stopping rcu_torture_fwd_prog task
[  261.658451] Modules linked in: rcutorture(-) torture loop rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver sr_mod cdrom sg crct10dif_pclmul crc32_pclmul crc32c_intel ata_generic pata_acpi bochs_drm ghash_clmulni_intel ttm ppdev drm_kms_helper snd_pcm snd_timer syscopyarea sysfillrect sysimgblt fb_sys_fops snd aesni_intel ata_piix crypto_simd drm cryptd glue_helper soundcore joydev libata pcspkr serio_raw parport_pc parport floppy i2c_piix4 ip_tables
[  261.668859] rcu-torture: Stopping rcu_torture_fakewriter
[  261.678108] CPU: 0 PID: 3098 Comm: rcu_torture_wri Not tainted 5.1.0-rc1-00104-g7c932cd #1
[  261.678110] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[  261.678127] RIP: 0010:rcu_torture_writer+0x506/0x890 [rcutorture]
[  261.678132] Code: ff ff 49 8b 17 49 39 d7 75 eb 48 8b 4d 00 49 8d 57 e8 48 39 d1 74 de 41 8b 57 f8 4c 89 ee 48 c7 c7 d8 b3 65 c0 e8 aa cf 83 d8 <0f> 0b eb c7 84 c0 0f 84 50 01 00 00 c6 44 24 0f 01 e9 b9 fc ff ff
[  261.700921] RSP: 0018:ffffb294810a7eb0 EFLAGS: 00010286
[  261.704207] RAX: 0000000000000000 RBX: ffffffffc0678398 RCX: 0000000000000000
[  261.707804] RDX: ffff91e1bfc1ed00 RSI: ffff91e1bfc16738 RDI: ffff91e1bfc16738
[  261.711084] RBP: ffffffffc0678388 R08: 00000000000041dc R09: 0000000000aaaaaa
[  261.714666] R10: ffffb294832b7c60 R11: ffff91e086fe7290 R12: ffffffffc065d500
[  261.716865] rcu-torture: Stopping rcu_torture_fakewriter
[  261.718256] R13: ffffffffc065b600 R14: ffffffffc0677228 R15: ffffffffc0677108
[  261.718259] FS:  0000000000000000(0000) GS:ffff91e1bfc00000(0000) knlGS:0000000000000000
[  261.718261] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  261.718262] CR2: 00007f0952707340 CR3: 000000019de16000 CR4: 00000000000006f0
[  261.718271] Call Trace:
[  261.725863] rcu-torture: Stopping rcu_torture_fakewriter
[  261.729147]  ? rcu_torture_pipe_update+0x110/0x110 [rcutorture]
[  261.729156]  kthread+0x11e/0x140
[  261.736866] rcu-torture: Stopping rcu_torture_fakewriter
[  261.738609]  ? kthread_park+0x90/0x90
[  261.754736]  ret_from_fork+0x35/0x40
[  261.757573] ---[ end trace 347a0c4f69921e29 ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.1.0-rc1-00104-g7c932cd .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
	bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email




Thanks,
Rong Chen


View attachment "config-5.1.0-rc1-00104-g7c932cd" of type "text/plain" (188663 bytes)

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

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

View attachment "ltp" of type "text/plain" (14864 bytes)

Powered by blists - more mailing lists