Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 4c73715aa63e4cee50da6a9f5295e3a50859d40e ("[RFC PATCH 5/7] sunrpc: Create a per-rpc_clnt file for managing the IP address") url: https://github.com/0day-ci/linux/commits/schumaker-anna-gmail-com/SUNRPC-Create-sysfs-files-for-changing-IP/20210112-054812 base: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next in testcase: kernel-selftests version: kernel-selftests-x86_64-cb0debfe-1_20201231 with following parameters: group: tc-testing ucode: 0xe2 test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel. test-url: https://www.kernel.org/doc/Documentation/kselftest.txt on test machine: 8 threads Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz with 32G 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 kern :warn : [ 54.171526] WARNING: suspicious RCU usage kern :warn : [ 54.171527] 5.11.0-rc2-g4c73715aa63e #1 Tainted: G I kern :warn : [ 54.171529] ----------------------------- kern :warn : [ 54.171530] net/sunrpc/sysfs.c:130 suspicious rcu_dereference_check() usage! kern :warn : [ 54.171532] other info that might help us debug this: kern :warn : [ 54.171533] rcu_scheduler_active = 2, debug_locks = 1 kern :warn : [ 54.171534] no locks held by mount.nfs/1145. user :notice: [ 54.177272] Selecting previously unselected package gcc-multilib. kern :warn : [ 54.177527] stack backtrace: user :notice: [ 54.184047] Preparing to unpack .../gcc-multilib_4%3a8.3.0-1_amd64.deb ... kern :warn : [ 54.186893] CPU: 4 PID: 1145 Comm: mount.nfs Tainted: G I 5.11.0-rc2-g4c73715aa63e #1 kern :warn : [ 54.186896] Hardware name: /NUC6i7KYB, BIOS KYSKLi70.86A.0041.2016.0817.1130 08/17/2016 kern :warn : [ 54.197679] Call Trace: kern :warn : [ 54.197681] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122) kern :warn : [ 54.197687] rpc_netns_sysfs_setup (kbuild/src/consumer/net/sunrpc/sysfs.c:130 (discriminator 8)) kern :warn : [ 54.197693] rpc_client_register (kbuild/src/consumer/net/sunrpc/clnt.c:306) kern :warn : [ 54.197697] ? preempt_count_sub (kbuild/src/consumer/kernel/sched/core.c:4737 kbuild/src/consumer/kernel/sched/core.c:4734 kbuild/src/consumer/kernel/sched/core.c:4756) user :notice: [ 54.206322] Unpacking gcc-multilib (4:8.3.0-1) ... kern :warn : [ 54.213911] rpc_new_client (kbuild/src/consumer/net/sunrpc/clnt.c:429) kern :warn : [ 54.225546] rpc_create_xprt (kbuild/src/consumer/net/sunrpc/clnt.c:475) kern :warn : [ 54.225549] ? rcu_read_lock_sched_held (kbuild/src/consumer/include/linux/lockdep.h:271 kbuild/src/consumer/kernel/rcu/update.c:123) kern :warn : [ 54.225557] rpc_create (kbuild/src/consumer/net/sunrpc/clnt.c:596) kern :warn : [ 54.225616] nfs_create_rpc_client (kbuild/src/consumer/fs/nfs/client.c:536) user :notice: [ 54.228486] Selecting previously unselected package libdpkg-perl. kern :warn : [ 54.233713] nfs4_init_client (kbuild/src/consumer/fs/nfs/nfs4client.c:392) nfsv4 kern :warn : [ 54.239964] ? find_held_lock (kbuild/src/consumer/kernel/locking/lockdep.c:4935) kern :warn : [ 54.239974] ? preempt_count_sub (kbuild/src/consumer/kernel/sched/core.c:4737 kbuild/src/consumer/kernel/sched/core.c:4734 kbuild/src/consumer/kernel/sched/core.c:4756) kern :warn : [ 54.239978] ? _raw_spin_unlock (kbuild/src/consumer/arch/x86/include/asm/preempt.h:102 kbuild/src/consumer/include/linux/spinlock_api_smp.h:152 kbuild/src/consumer/kernel/locking/spinlock.c:183) kern :warn : [ 54.239981] ? nfs_get_client (kbuild/src/consumer/fs/nfs/client.c:429) kern :warn : [ 54.240014] nfs4_set_client (kbuild/src/consumer/fs/nfs/nfs4client.c:896) nfsv4 user :notice: [ 54.248584] Preparing to unpack .../libdpkg-perl_1.19.7_all.deb ... kern :warn : [ 54.257159] nfs4_create_server (kbuild/src/consumer/fs/nfs/nfs4client.c:1113 kbuild/src/consumer/fs/nfs/nfs4client.c:1161) nfsv4 kern :warn : [ 54.267516] nfs4_try_get_tree (kbuild/src/consumer/fs/nfs/nfs4super.c:226 (discriminator 3)) nfsv4 user :notice: [ 54.271046] Unpacking libdpkg-perl (1.19.7) ... kern :warn : [ 54.273625] vfs_get_tree (kbuild/src/consumer/fs/super.c:1497) kern :warn : [ 54.273630] path_mount (kbuild/src/consumer/fs/namespace.c:2878 kbuild/src/consumer/fs/namespace.c:3208) kern :warn : [ 54.282711] do_mount (kbuild/src/consumer/fs/namespace.c:3221) kern :warn : [ 54.282731] __x64_sys_mount (kbuild/src/consumer/fs/namespace.c:3431 kbuild/src/consumer/fs/namespace.c:3406 kbuild/src/consumer/fs/namespace.c:3406) kern :warn : [ 54.282737] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46) user :notice: [ 54.288494] Selecting previously unselected package netcat-openbsd. kern :warn : [ 54.292283] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:127) kern :warn : [ 54.292287] RIP: 0033:0x7f9d1a15efea kern :warn : [ 54.292290] Code: 48 8b 0d a9 0e 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 76 0e 0c 00 f7 d8 64 89 01 48 All code ======== 0: 48 8b 0d a9 0e 0c 00 mov 0xc0ea9(%rip),%rcx # 0xc0eb0 7: f7 d8 neg %eax 9: 64 89 01 mov %eax,%fs:(%rcx) c: 48 83 c8 ff or $0xffffffffffffffff,%rax 10: c3 retq 11: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 18: 00 00 00 1b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 20: 49 89 ca mov %rcx,%r10 23: b8 a5 00 00 00 mov $0xa5,%eax 28: 0f 05 syscall 2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 retq 33: 48 8b 0d 76 0e 0c 00 mov 0xc0e76(%rip),%rcx # 0xc0eb0 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 6: 73 01 jae 0x9 8: c3 retq 9: 48 8b 0d 76 0e 0c 00 mov 0xc0e76(%rip),%rcx # 0xc0e86 10: f7 d8 neg %eax 12: 64 89 01 mov %eax,%fs:(%rcx) 15: 48 rex.W kern :warn : [ 54.292292] RSP: 002b:00007fffcf1645a8 EFLAGS: 00000202 kern :warn : [ 54.298047] ORIG_RAX: 00000000000000a5 kern :warn : [ 54.298048] RAX: ffffffffffffffda RBX: 00007fffcf164700 RCX: 00007f9d1a15efea kern :warn : [ 54.298049] RDX: 0000557cf757eb50 RSI: 0000557cf757eb70 RDI: 0000557cf7580880 kern :warn : [ 54.298051] RBP: 0000000000000000 R08: 0000557cf7581370 R09: 0000557cf7581960 kern :warn : [ 54.298052] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fffcf164700 kern :warn : [ 54.298053] R13: 0000557cf7581160 R14: 0000000000000010 R15: 00007fffcf164610 user :notice: [ 54.481359] Preparing to unpack .../netcat-openbsd_1.195-2_amd64.deb ... user :notice: [ 54.491346] Unpacking netcat-openbsd (1.195-2) ... user :notice: [ 54.499593] Selecting previously unselected package python-roman. user :notice: [ 54.509440] Preparing to unpack .../python-roman_2.0.0-3_all.deb ... user :notice: [ 54.519314] Unpacking python-roman (2.0.0-3) ... user :notice: [ 54.527170] Selecting previously unselected package python-docutils. user :notice: [ 54.537906] Preparing to unpack .../python-docutils_0.14+dfsg-4_all.deb ... user :notice: [ 54.548175] Unpacking python-docutils (0.14+dfsg-4) ... user :notice: [ 54.556577] Selecting previously unselected package gawk. user :notice: [ 54.566199] Preparing to unpack .../gawk_1%3a4.2.1+dfsg-1_amd64.deb ... user :notice: [ 54.576265] Unpacking gawk (1:4.2.1+dfsg-1) ... user :notice: [ 54.584017] Setting up ntpdate (1:4.2.8p12+dfsg-4) ... user :notice: [ 54.593142] Setting up libpython3.7-minimal:amd64 (3.7.3-2+deb10u2) ... user :notice: [ 54.603419] Setting up python3.7-minimal (3.7.3-2+deb10u2) ... user :notice: [ 54.612378] Setting up python3-minimal (3.7.3-1) ... user :notice: [ 54.620506] Setting up uuid-runtime (2.33.1-0.1) ... user :notice: [ 54.628567] Adding group `uuidd' (GID 112) ... user :notice: [ 54.635172] Done. user :notice: [ 54.641847] Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory user :notice: [ 54.654681] Adding system user `uuidd' (UID 108) ... user :notice: [ 54.663391] Adding new user `uuidd' (UID 108) with group `uuidd' ... user :notice: [ 54.673161] Not creating home directory `/run/uuidd'. user :notice: [ 54.681023] Setting up libatomic1:amd64 (8.3.0-6) ... user :notice: [ 54.689025] Setting up libquadmath0:amd64 (8.3.0-6) ... user :notice: [ 54.697050] Setting up libdpkg-perl (1.19.7) ... user :notice: [ 54.704574] Setting up netcat-openbsd (1.195-2) ... user :notice: [ 54.713432] update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode user :notice: [ 54.724877] Setting up python-roman (2.0.0-3) ... user :notice: [ 54.732541] Setting up libpython3-stdlib:amd64 (3.7.3-1) ... user :notice: [ 54.740841] Setting up python3 (3.7.3-1) ... 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, Oliver Sang