====================================== | [ 240.311238][ T1548] preempt_count: 1, expected: 0 | [ 240.311427][ T1548] RCU nest depth: 0, expected: 0 | [ 240.311604][ T1548] 1 lock held by tc/1548: | [ 240.312089][ T1548] #0: ffff8880091ff890 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) [ 240.312744][ T1548] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 240.313009][ T1548] Call Trace: [ 240.313146][ T1548] [ 240.313241][ T1548] dump_stack_lvl (lib/dump_stack.c:123) [ 240.313433][ T1548] __might_resched (kernel/sched/core.c:8759) [ 240.313615][ T1548] ? tc_new_tfilter (net/sched/cls_api.c:2383) [ 240.313814][ T1548] cpus_read_lock (./include/linux/kernel.h:73 ./include/linux/percpu-rwsem.h:49 kernel/cpu.c:490) [ 240.313997][ T1548] static_key_slow_inc (kernel/jump_label.c:191) [ 240.314177][ T1548] tc_new_tfilter (net/sched/cls_api.c:2385) [ 240.314364][ T1548] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 240.314505][ T1548] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 240.314719][ T1548] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 240.314907][ T1548] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 240.315093][ T1548] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 240.315272][ T1548] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 240.315453][ T1548] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 240.315630][ T1548] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 240.315825][ T1548] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 240.315973][ T1548] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 240.316156][ T1548] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 240.316333][ T1548] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 240.316524][ T1548] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 240.316739][ T1548] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 240.316998][ T1548] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 240.317268][ T1548] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 240.317553][ T1548] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 240.317795][ T1548] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 240.318005][ T1548] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 240.318286][ T1548] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 240.318597][ T1548] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 240.318853][ T1548] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 240.319099][ T1548] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 240.319450][ T1548] ___sys_sendmsg (net/socket.c:2624) [ 240.319717][ T1548] ? __debug_check_no_obj_freed (lib/debugobjects.c:1110) [ 240.320067][ T1548] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 240.320348][ T1548] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:1070) [ 240.320692][ T1548] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 240.320976][ T1548] ? trace_rcu_segcb_stats (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/cpumask.h:570 ./include/linux/cpumask.h:1117 ./include/trace/events/rcu.h:537) [ 240.321251][ T1548] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 240.321483][ T1548] ? kmem_cache_free (mm/slub.c:4613 mm/slub.c:4715) [ 240.321668][ T1548] ? do_sys_openat2 (fs/open.c:1405) [ 240.321848][ T1548] ? do_sys_openat2 (fs/open.c:1411) [ 240.322031][ T1548] ? do_sys_openat2 (fs/open.c:1411) [ 240.322219][ T1548] __sys_sendmsg (net/socket.c:2654) [ 240.322408][ T1548] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 240.322603][ T1548] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 240.322786][ T1548] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 240.323011][ T1548] RIP: 0033:0x7fe4389aa9a7 [ 240.323205][ T1548] Code: 0a 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 All code ======== 0: 0a 00 or (%rax),%al 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b9 jmp 0xffffffffffffffc9 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 2e 00 00 00 mov $0x2e,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 89 54 24 1c mov %edx,0x1c(%rsp) 3b: 48 89 74 24 10 mov %rsi,0x10(%rsp) Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 89 54 24 1c mov %edx,0x1c(%rsp) 11: 48 89 74 24 10 mov %rsi,0x10(%rsp) [ 240.323816][ T1548] RSP: 002b:00007ffd2b8088a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 240.324077][ T1548] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007fe4389aa9a7 [ 240.324320][ T1548] RDX: 0000000000000000 RSI: 00007ffd2b808910 RDI: 0000000000000005 [ 240.324581][ T1548] RBP: 0000000000000988 R08: 0000000000000000 R09: 0000000000000000 [ 240.324825][ T1548] R10: 00007fe438863708 R11: 0000000000000246 R12: 00007ffd2b80d96c [ 240.325072][ T1548] R13: 0000000067858510 R14: 0000000000483b60 R15: 00007ffd2b80d970 | [ 240.327178][ T1548] #0: ffff8880091ff890 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) | [ 240.327436][ T1548] #1: ffffffff8e7ddcd0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc (kernel/jump_label.c:191) | [ 240.327695][ T1548] stack backtrace: | [ 240.328070][ T1548] Tainted: [W]=WARN [ 240.328184][ T1548] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 240.328374][ T1548] Call Trace: [ 240.328489][ T1548] [ 240.328569][ T1548] dump_stack_lvl (lib/dump_stack.c:123) [ 240.328724][ T1548] __lock_acquire (kernel/locking/lockdep.c:4828 kernel/locking/lockdep.c:4898 kernel/locking/lockdep.c:5176) [ 240.328878][ T1548] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 240.329033][ T1548] ? static_key_slow_inc_cpuslocked (./include/linux/instrumented.h:96 ./include/linux/atomic/atomic-instrumented.h:1195 kernel/jump_label.c:167 kernel/jump_label.c:151) [ 240.329222][ T1548] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 240.329375][ T1548] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 240.329527][ T1548] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 240.329676][ T1548] ? static_key_slow_inc_cpuslocked (./include/linux/instrumented.h:96 ./include/linux/atomic/atomic-instrumented.h:1195 kernel/jump_label.c:167 kernel/jump_label.c:151) [ 240.329861][ T1548] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:735) [ 240.330013][ T1548] ? static_key_slow_inc_cpuslocked (./include/linux/instrumented.h:96 ./include/linux/atomic/atomic-instrumented.h:1195 kernel/jump_label.c:167 kernel/jump_label.c:151) [ 240.330204][ T1548] ? static_key_slow_inc_cpuslocked (./include/linux/instrumented.h:96 ./include/linux/atomic/atomic-instrumented.h:1195 kernel/jump_label.c:167 kernel/jump_label.c:151) [ 240.330391][ T1548] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 240.330542][ T1548] ? static_key_slow_inc (kernel/jump_label.c:191) [ 240.330695][ T1548] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 240.330844][ T1548] ? static_key_fast_inc_not_disabled (./arch/x86/include/asm/atomic.h:23 (discriminator 3) ./include/linux/atomic/atomic-arch-fallback.h:457 (discriminator 3) ./include/linux/atomic/atomic-instrumented.h:33 (discriminator 3) kernel/jump_label.c:141 (discriminator 3)) [ 240.331029][ T1548] ? __pfx_static_key_fast_inc_not_disabled (kernel/jump_label.c:128) [ 240.331236][ T1548] ? static_key_slow_inc_cpuslocked (./include/linux/instrumented.h:96 ./include/linux/atomic/atomic-instrumented.h:1195 kernel/jump_label.c:167 kernel/jump_label.c:151) [ 240.331420][ T1548] static_key_slow_inc_cpuslocked (./include/linux/instrumented.h:96 ./include/linux/atomic/atomic-instrumented.h:1195 kernel/jump_label.c:167 kernel/jump_label.c:151) [ 240.331605][ T1548] static_key_slow_inc (kernel/jump_label.c:191) [ 240.331773][ T1548] tc_new_tfilter (net/sched/cls_api.c:2385) [ 240.331917][ T1548] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 240.332025][ T1548] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 240.332169][ T1548] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 240.332315][ T1548] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 240.332459][ T1548] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 240.332592][ T1548] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 240.332733][ T1548] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 240.332867][ T1548] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 240.333003][ T1548] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 240.333109][ T1548] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 240.333249][ T1548] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 240.333400][ T1548] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 240.333538][ T1548] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 240.333676][ T1548] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 240.333812][ T1548] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 240.333949][ T1548] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 240.334084][ T1548] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 240.334226][ T1548] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 240.334368][ T1548] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 240.334509][ T1548] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 240.334650][ T1548] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 240.334793][ T1548] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 240.334928][ T1548] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 240.335103][ T1548] ___sys_sendmsg (net/socket.c:2624) [ 240.335240][ T1548] ? __debug_check_no_obj_freed (lib/debugobjects.c:1110) [ 240.335420][ T1548] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 240.335562][ T1548] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:1070) [ 240.335734][ T1548] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 240.335875][ T1548] ? trace_rcu_segcb_stats (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/cpumask.h:570 ./include/linux/cpumask.h:1117 ./include/trace/events/rcu.h:537) [ 240.336017][ T1548] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 240.336221][ T1548] ? kmem_cache_free (mm/slub.c:4613 mm/slub.c:4715) [ 240.336385][ T1548] ? do_sys_openat2 (fs/open.c:1405) [ 240.336524][ T1548] ? do_sys_openat2 (fs/open.c:1411) [ 240.336663][ T1548] ? do_sys_openat2 (fs/open.c:1411) [ 240.336809][ T1548] __sys_sendmsg (net/socket.c:2654) [ 240.336948][ T1548] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 240.337092][ T1548] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 240.337232][ T1548] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 240.337407][ T1548] RIP: 0033:0x7fe4389aa9a7 [ 240.337557][ T1548] Code: 0a 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 All code ======== 0: 0a 00 or (%rax),%al 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b9 jmp 0xffffffffffffffc9 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 2e 00 00 00 mov $0x2e,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 89 54 24 1c mov %edx,0x1c(%rsp) 3b: 48 89 74 24 10 mov %rsi,0x10(%rsp) Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 89 54 24 1c mov %edx,0x1c(%rsp) 11: 48 89 74 24 10 mov %rsi,0x10(%rsp) [ 240.338036][ T1548] RSP: 002b:00007ffd2b8088a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 240.338242][ T1548] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007fe4389aa9a7 [ 240.338453][ T1548] RDX: 0000000000000000 RSI: 00007ffd2b808910 RDI: 0000000000000005 [ 240.338654][ T1548] RBP: 0000000000000988 R08: 0000000000000000 R09: 0000000000000000 [ 240.338859][ T1548] R10: 00007fe438863708 R11: 0000000000000246 R12: 00007ffd2b80d96c Finger prints: __lock_acquire:__mutex_lock:static_key_slow_inc_cpuslocked:static_key_slow_inc:tc_new_tfilter __might_resched:cpus_read_lock:static_key_slow_inc:tc_new_tfilter:rtnetlink_rcv_msg