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] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 28 Aug 2020 08:18:34 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Joel Fernandes (Google)" <joel@...lfernandes.org>
Cc:     linux-kernel@...r.kernel.org,
        "Joel Fernandes (Google)" <joel@...lfernandes.org>,
        boqun.feng@...il.com, dave@...olabs.net,
        Ingo Molnar <mingo@...hat.com>,
        Josh Triplett <josh@...htriplett.org>,
        Lai Jiangshan <jiangshanlai@...il.com>,
        Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>,
        Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
        neeraj.iitr10@...il.com, "Paul E. McKenney" <paulmck@...nel.org>,
        rcu@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>,
        "Uladzislau Rezki (Sony)" <urezki@...il.com>, vineethrp@...il.com,
        0day robot <lkp@...el.com>, lkp@...ts.01.org,
        ltp@...ts.linux.it
Subject: [rcu/segcblist] ab9a370277:
 WARNING:at_kernel/rcu/srcutree.c:#cleanup_srcu_struct

Greeting,

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

commit: ab9a3702779c3ced6523a717b41b2b36e9592e3b ("[PATCH v4 -rcu 3/4] rcu/segcblist: Add counters to segcblist datastructure")
url: https://github.com/0day-ci/linux/commits/Joel-Fernandes-Google/Maintain-the-length-of-each-segment-in-the-segcblist/20200825-105141
base: https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev

in testcase: ltp
with following parameters:

	test: filecaps
	ucode: 0x7000019

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: 16 threads Intel(R) Xeon(R) CPU D-1541 @ 2.10GHz with 48G memory

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




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


[   54.493216] WARNING: CPU: 1 PID: 175 at kernel/rcu/srcutree.c:384 cleanup_srcu_struct+0x9d/0x100
[   54.502626] Modules linked in: btrfs blake2b_generic xor zstd_compress intel_rapl_msr raid6_pq intel_rapl_common libcrc32c sd_mod t10_pi sg sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel ipmi_ssif kvm ast drm_vram_helper drm_ttm_helper irqbypass crct10dif_pclmul ttm crc32_pclmul crc32c_intel ghash_clmulni_intel drm_kms_helper rapl syscopyarea sysfillrect sysimgblt fb_sys_fops intel_cstate ahci acpi_ipmi mxm_wmi libahci drm intel_uncore ipmi_si mei_me libata ioatdma ipmi_devintf mei dca intel_pch_thermal gpio_ich ipmi_msghandler joydev wmi acpi_pad ip_tables
[   54.556977] CPU: 1 PID: 175 Comm: kworker/1:1 Not tainted 5.9.0-rc1-00141-gab9a3702779c3c #1
[   54.566167] Hardware name: Supermicro SYS-5018D-FN4T/X10SDV-8C-TLN4F, BIOS 1.1 03/02/2016
[   54.575132] Workqueue: events free_user_work [ipmi_msghandler]
[   54.581760] RIP: 0010:cleanup_srcu_struct+0x9d/0x100
[   54.587529] Code: 1c c5 60 b9 41 82 48 8d bb d8 00 00 00 e8 db 4d 01 00 48 8d bb 00 01 00 00 e8 ef af f9 ff 48 8b 83 90 00 00 00 48 85 c0 74 b1 <0f> 0b 5b 5d 41 5c 41 5d c3 49 8b 84 24 d0 c3 00 00 a8 03 0f 85 ae
[   54.607973] RSP: 0018:ffffc900004cbe48 EFLAGS: 00010202
[   54.614039] RAX: 0000000000000001 RBX: ffffe8ffffa4b1c0 RCX: 0000000000000000
[   54.622026] RDX: 0000000000000040 RSI: 0000000000000002 RDI: ffff888c7fa6af00
[   54.630012] RBP: 0000000000000001 R08: ffff888c7fa6af00 R09: ffff888107802910
[   54.638002] R10: ffff888107802948 R11: 0000000000000000 R12: ffffc90001461018
[   54.645993] R13: ffffc9000146d408 R14: ffff88810709f680 R15: ffffc9000146d4e8
[   54.653994] FS:  0000000000000000(0000) GS:ffff888c7fa40000(0000) knlGS:0000000000000000
[   54.662953] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   54.669572] CR2: 00007efdccfd6f58 CR3: 0000000c7e60a005 CR4: 00000000003706e0
[   54.677624] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   54.685667] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   54.693711] Call Trace:
[   54.697062]  free_user_work+0x19/0x40 [ipmi_msghandler]
[   54.703186]  process_one_work+0x1b5/0x3a0
[   54.708134]  ? process_one_work+0x3a0/0x3a0
[   54.713219]  worker_thread+0x50/0x3c0
[   54.717787]  ? process_one_work+0x3a0/0x3a0
[   54.722849]  kthread+0x114/0x160
[   54.726958]  ? kthread_park+0xa0/0xa0
[   54.731473]  ret_from_fork+0x22/0x30
[   54.735930] ---[ end trace 03716c0aea0df37c ]---


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,
lkp


View attachment "config-5.9.0-rc1-00141-gab9a3702779c3c" of type "text/plain" (170283 bytes)

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

View attachment "dmesg" of type "text/plain" (144348 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ