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]
Message-ID: <20171009020529.GE17200@yexl-desktop>
Date:   Mon, 9 Oct 2017 10:05:29 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>, lkp@...org
Subject: [lkp-robot] [rcu]  c28ff14041:
 WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_stats_print[rcutorture]


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

commit: c28ff1404102bfd6b561a72303092f946124b149 ("rcu: Make ->dynticks_nesting be a simple counter")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2017.10.02b

in testcase: rcutorture
with following parameters:

	runtime: 300s
	test: cpuhotplug

test-description: rcutorture is rcutorture kernel module load/unload test.
test-url: https://www.kernel.org/doc/Documentation/RCU/torture.txt


on test machine: 4 threads Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz with 4G memory

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



kern  :warn  : [  148.963140] WARNING: CPU: 0 PID: 4056 at kernel/rcu/rcutorture.c:1291 rcu_torture_stats_print+0x4e0/0x4f0 [rcutorture]
kern  :warn  : [  148.964557] Modules linked in: rcutorture torture rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc wmi_bmof aesni_intel crypto_simd glue_helper cryptd serio_raw pcspkr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev ahci libahci libata bcma shpchp snd_hda_intel i915 snd_hda_codec snd_hda_core snd_hwdep snd_pcm drm_kms_helper snd_timer syscopyarea sysfillrect sysimgblt snd fb_sys_fops soundcore drm ideapad_laptop wmi sparse_keymap rfkill video ip_tables
kern  :warn  : [  148.972977] CPU: 0 PID: 4056 Comm: rcu_torture_sta Not tainted 4.14.0-rc3-00043-gc28ff14 #2
kern  :warn  : [  148.974455] Hardware name: LENOVO IdeaPad U410    /Lenovo          , BIOS 65CN15WW 06/05/2012
kern  :warn  : [  148.975938] task: ffff88007d600000 task.stack: ffffc90000b80000
kern  :warn  : [  148.977280] RIP: 0010:rcu_torture_stats_print+0x4e0/0x4f0 [rcutorture]
kern  :warn  : [  148.978661] RSP: 0018:ffffc90000b83e00 EFLAGS: 00010202
kern  :warn  : [  148.979971] RAX: 0000000000000004 RBX: ffffc90000b83e18 RCX: ffffffff81e60c88
kern  :warn  : [  148.981393] RDX: 0000000000000001 RSI: 0000000000000086 RDI: 0000000000000247
kern  :warn  : [  148.982830] RBP: ffffc90000b83ee8 R08: 0000000000000004 R09: 0000000000000459
kern  :warn  : [  148.984258] R10: ffffc90000b83ee8 R11: 0000000000000004 R12: ffffc90000b83e70
kern  :warn  : [  148.985677] R13: 0000000000000009 R14: 000000000001d820 R15: ffff88007d600000
kern  :warn  : [  148.987115] FS:  0000000000000000(0000) GS:ffff880112a00000(0000) knlGS:0000000000000000
kern  :warn  : [  148.988605] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [  148.989967] CR2: 00007fa66f38b008 CR3: 000000007fb94003 CR4: 00000000001606f0
kern  :warn  : [  148.991422] Call Trace:
kern  :warn  : [  148.992610]  ? try_to_del_timer_sync+0x44/0x60
kern  :warn  : [  148.993923]  rcu_torture_stats+0x31/0x70 [rcutorture]
kern  :warn  : [  148.995275]  kthread+0x114/0x150
kern  :warn  : [  148.996511]  ? rcu_torture_stats_print+0x4f0/0x4f0 [rcutorture]
kern  :warn  : [  148.997925]  ? kthread_create_on_node+0x40/0x40
kern  :warn  : [  148.999259]  ret_from_fork+0x25/0x30
kern  :warn  : [  149.000532] Code: c7 b0 e1 42 a0 e8 c2 4d cb e0 58 5a e9 49 ff ff ff 48 c7 c6 96 ec 42 a0 48 c7 c7 9b ec 42 a0 e8 a8 4d cb e0 f0 ff 05 88 d7 01 00 <0f> ff e9 1a fd ff ff 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 
kern  :warn  : [  149.003929] ---[ end trace 0d176534929bfdcc ]---


To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Xiaolong

View attachment "config-4.14.0-rc3-00043-gc28ff14" of type "text/plain" (163200 bytes)

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

Download attachment "kmsg.xz" of type "application/x-xz" (22820 bytes)

View attachment "rcutorture" of type "text/plain" (17519 bytes)

View attachment "job.yaml" of type "text/plain" (3568 bytes)

View attachment "reproduce" of type "text/plain" (101 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ