[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160706010847.GB11832@yexl-desktop>
Date: Wed, 6 Jul 2016 09:08:47 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: Aaron Conole <aconole@...heb.org>
Cc: 0day robot <fengguang.wu@...el.com>,
Florian Westphal <fw@...len.de>,
LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp] [netfilter] d4978a76b6: INFO: suspicious RCU usage
FYI, we noticed the following commit:
https://github.com/0day-ci/linux Aaron-Conole/Compact-netfilter-hooks-list/20160623-053808
commit d4978a76b6762f524932da854f285075811c6cf6 ("netfilter: replace list_head with single linked list")
in testcase: boot
on test machine: 1 threads qemu-system-x86_64 -enable-kvm -cpu Westmere with 320M memory
caused below changes:
+--------------------------------------------------+------------+------------+
| | eed934b33b | d4978a76b6 |
+--------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 16 | 14 |
| WARNING:at_kernel/rcu/rcuperf.c:#rcu_perf_writer | 16 | 14 |
| backtrace:rcu_perf_writer | 16 | 14 |
| INFO:suspicious_RCU_usage | 0 | 14 |
| backtrace:nf_register_hooks | 0 | 14 |
| backtrace:smack_nf_ip_init | 0 | 14 |
| backtrace:kernel_init_freeable | 0 | 14 |
+--------------------------------------------------+------------+------------+
[ 4.532413] ===============================
[ 4.532965] [ INFO: suspicious RCU usage. ]
[ 4.533609] 4.7.0-rc2-00775-gd4978a7 #1 Tainted: G W
[ 4.534698] -------------------------------
[ 4.535361] net/netfilter/core.c:75 suspicious rcu_dereference_check() usage!
[ 4.536748]
[ 4.536748] other info that might help us debug this:
[ 4.536748]
[ 4.538181]
[ 4.538181] rcu_scheduler_active = 1, debug_locks = 1
[ 4.539149] 2 locks held by swapper/1:
[ 4.539694] #0: (rtnl_mutex){+.+.+.}, at: [<ffffffff81c2e567>] rtnl_lock+0x17/0x20
[ 4.540793] #1: (nf_hook_mutex){+.+...}, at: [<ffffffff81c58fcb>] nf_register_net_hook+0xcb/0x240
[ 4.542295]
[ 4.542295] stack backtrace:
[ 4.542926] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.7.0-rc2-00775-gd4978a7 #1
[ 4.544048] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 4.545274] 0000000000000001 ffff880000053d68 ffffffff812f0ed6 ffff880000053d98
[ 4.546370] ffffffff810f42e9 0000000000000000 0000000000000003 ffffffff82b1cfa0
[ 4.547577] 0000000000000000 ffff880000053dc8 ffffffff81c58deb ffffffff82b1cfa0
[ 4.548871] Call Trace:
[ 4.549248] [<ffffffff812f0ed6>] dump_stack+0x1e/0x28
[ 4.550019] [<ffffffff810f42e9>] lockdep_rcu_suspicious+0xd9/0xf0
[ 4.551003] [<ffffffff81c58deb>] nf_find_hook_list+0x8b/0x120
[ 4.552179] [<ffffffff81c58fe3>] nf_register_net_hook+0xe3/0x240
[ 4.553152] [<ffffffff81c59475>] nf_register_hook+0x85/0x110
[ 4.554058] [<ffffffff81c59594>] nf_register_hooks+0x34/0xa0
[ 4.555032] [<ffffffff82b6e208>] ? init_smk_fs+0x17a/0x17a
[ 4.555836] [<ffffffff82b4977f>] ? do_early_param+0xc0/0xc0
[ 4.556653] [<ffffffff82b6e23d>] smack_nf_ip_init+0x35/0x58
[ 4.557532] [<ffffffff82b6e208>] ? init_smk_fs+0x17a/0x17a
[ 4.558545] [<ffffffff82b4a1f5>] do_one_initcall+0xa0/0x159
[ 4.559422] [<ffffffff82b4977f>] ? do_early_param+0xc0/0xc0
[ 4.560309] [<ffffffff82b4a3cc>] kernel_init_freeable+0x11e/0x1df
[ 4.561414] [<ffffffff82088523>] kernel_init+0x13/0x160
[ 4.562246] [<ffffffff810de37a>] ? schedule_tail+0xa/0x50
[ 4.563059] [<ffffffff8209438f>] ret_from_fork+0x1f/0x40
[ 4.563840] [<ffffffff82088510>] ? rest_init+0x170/0x170
FYI, raw QEMU command line is:
qemu-system-x86_64 -enable-kvm -cpu Westmere -kernel /pkg/linux/x86_64-randconfig-a0-06301127/gcc-6/d4978a76b6762f524932da854f285075811c6cf6/vmlinuz-4.7.0-rc2-00775-gd4978a7 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-yocto-ia32-2/bisect_boot-1-yocto-minimal-i386.cgz-x86_64-randconfig-a0-06301127-d4978a76b6762f524932da854f285075811c6cf6-20160702-22167-mdemd3-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-a0-06301127 branch=linux-devel/devel-hourly-2016063005 commit=d4978a76b6762f524932da854f285075811c6cf6 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-a0-06301127/gcc-6/d4978a76b6762f524932da854f285075811c6cf6/vmlinuz-4.7.0-rc2-00775-gd4978a7 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-ia32/yocto-minimal-i386.cgz/x86_64-randconfig-a0-06301127/gcc-6/d4978a76b6762f524932da854f285075811c6cf6/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-kbuild-yocto-ia32-2::dhcp drbd.minor_count=8' -initrd /fs/sda1/initrd-vm-kbuild-yocto-ia32-2 -m 320 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sda1/disk0-vm-kbuild-yocto-ia32-2,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-kbuild-yocto-ia32-2 -serial file:/dev/shm/kboot/serial-vm-kbuild-yocto-ia32-2 -daemonize -display none -monitor null
Thanks,
Xiaolong
View attachment "config-4.7.0-rc2-00775-gd4978a7" of type "text/plain" (108963 bytes)
Download attachment "dmesg.xz" of type "application/octet-stream" (14384 bytes)
Powered by blists - more mailing lists