====================================== | [ 20.287415][ T375] RCU nest depth: 0, expected: 0 | [ 20.287577][ T375] 2 locks held by tc/375: | [ 20.287763][ T375] #0: ffffffff923e7e88 (rtnl_mutex){+.+.}-{4:4}, at: tc_new_tfilter (net/sched/cls_api.c:2261) | [ 20.288076][ T375] #1: ffff888009228e10 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) [ 20.288779][ T375] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.288991][ T375] Call Trace: [ 20.289127][ T375] [ 20.289217][ T375] dump_stack_lvl (lib/dump_stack.c:123) [ 20.289397][ T375] __might_resched (kernel/sched/core.c:8759) [ 20.289566][ T375] ? tc_new_tfilter (net/sched/cls_api.c:2383) [ 20.289741][ T375] cpus_read_lock (./include/linux/kernel.h:73 ./include/linux/percpu-rwsem.h:49 kernel/cpu.c:490) [ 20.289909][ T375] static_key_slow_inc (kernel/jump_label.c:191) [ 20.290075][ T375] tc_new_tfilter (net/sched/cls_api.c:2385) [ 20.290249][ T375] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 20.290379][ T375] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 20.290583][ T375] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 20.290755][ T375] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 20.290935][ T375] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 20.291108][ T375] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 20.291278][ T375] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 20.291460][ T375] ? 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) [ 20.291638][ T375] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 20.291783][ T375] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 20.292199][ T375] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 20.292367][ T375] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 20.292537][ T375] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 20.292721][ T375] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 20.292895][ T375] ? 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) [ 20.293069][ T375] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 20.293244][ T375] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 20.293416][ T375] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 20.293594][ T375] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 20.293767][ T375] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 20.293944][ T375] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 20.294114][ T375] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 20.294279][ T375] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 20.294510][ T375] ___sys_sendmsg (net/socket.c:2624) [ 20.294676][ T375] ? __debug_check_no_obj_freed (lib/debugobjects.c:1110) [ 20.294886][ T375] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 20.295058][ T375] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:1070) [ 20.295262][ T375] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 20.295435][ T375] ? 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) [ 20.295619][ T375] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 20.295830][ T375] ? kmem_cache_free (mm/slub.c:4613 mm/slub.c:4715) [ 20.296029][ T375] ? do_sys_openat2 (fs/open.c:1405) [ 20.296196][ T375] ? do_sys_openat2 (fs/open.c:1411) [ 20.296365][ T375] ? do_sys_openat2 (fs/open.c:1411) [ 20.296533][ T375] __sys_sendmsg (net/socket.c:2654) [ 20.296697][ T375] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 20.296884][ T375] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 20.297058][ T375] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 20.297263][ T375] RIP: 0033:0x7fbce890d9a7 [ 20.297450][ T375] Code: Unable to access opcode bytes at 0x7fbce890d97d. Code starting with the faulting instruction =========================================== [ 20.297681][ T375] RSP: 002b:00007fffdbcd0968 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 20.297930][ T375] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007fbce890d9a7 [ 20.298180][ T375] RDX: 0000000000000000 RSI: 00007fffdbcd09d0 RDI: 0000000000000005 [ 20.298434][ T375] RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 [ 20.298685][ T375] R10: 00007fbce87c6708 R11: 0000000000000246 R12: 0000000000000000 [ 20.298933][ T375] R13: 0000000067858655 R14: 0000000000483b60 R15: 00007fffdbcd598c | [ 20.301127][ T375] #1: ffff888009228e10 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) | [ 20.301362][ T375] #2: ffffffff919ddcd0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc (kernel/jump_label.c:191) | [ 20.301611][ T375] stack backtrace: | [ 20.301969][ T375] Tainted: [W]=WARN [ 20.302075][ T375] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.302247][ T375] Call Trace: [ 20.302357][ T375] [ 20.302430][ T375] dump_stack_lvl (lib/dump_stack.c:123) [ 20.302599][ T375] __lock_acquire (kernel/locking/lockdep.c:4828 kernel/locking/lockdep.c:4898 kernel/locking/lockdep.c:5176) [ 20.302739][ T375] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 20.302885][ T375] ? 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) [ 20.303068][ T375] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 20.303207][ T375] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 20.303347][ T375] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 20.303492][ T375] ? 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) [ 20.303659][ T375] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:735) [ 20.303800][ T375] ? 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) [ 20.303972][ T375] ? 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) [ 20.304140][ T375] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 20.304273][ T375] ? static_key_slow_inc (kernel/jump_label.c:191) [ 20.304415][ T375] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 20.304558][ T375] ? 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)) [ 20.304726][ T375] ? __pfx_static_key_fast_inc_not_disabled (kernel/jump_label.c:128) [ 20.304897][ T375] ? 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) [ 20.305068][ T375] 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) [ 20.305234][ T375] static_key_slow_inc (kernel/jump_label.c:191) [ 20.305371][ T375] tc_new_tfilter (net/sched/cls_api.c:2385) [ 20.305520][ T375] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 20.305624][ T375] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 20.305767][ T375] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 20.305906][ T375] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 20.306043][ T375] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 20.306180][ T375] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 20.306318][ T375] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 20.306458][ T375] ? 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) [ 20.306593][ T375] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 20.306700][ T375] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 20.306843][ T375] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 20.306981][ T375] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 20.307122][ T375] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 20.307263][ T375] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 20.307416][ T375] ? 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) [ 20.307552][ T375] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 20.307687][ T375] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 20.307825][ T375] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 20.307964][ T375] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 20.308100][ T375] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 20.308240][ T375] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 20.308414][ T375] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 20.308558][ T375] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 20.308729][ T375] ___sys_sendmsg (net/socket.c:2624) [ 20.308865][ T375] ? __debug_check_no_obj_freed (lib/debugobjects.c:1110) [ 20.309036][ T375] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 20.309173][ T375] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:1070) [ 20.309338][ T375] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 20.309487][ T375] ? 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) [ 20.309628][ T375] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 20.309797][ T375] ? kmem_cache_free (mm/slub.c:4613 mm/slub.c:4715) [ 20.309933][ T375] ? do_sys_openat2 (fs/open.c:1405) [ 20.310071][ T375] ? do_sys_openat2 (fs/open.c:1411) [ 20.310205][ T375] ? do_sys_openat2 (fs/open.c:1411) [ 20.310345][ T375] __sys_sendmsg (net/socket.c:2654) [ 20.310482][ T375] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 20.310639][ T375] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 20.310779][ T375] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 20.310959][ T375] RIP: 0033:0x7fbce890d9a7 [ 20.311115][ T375] Code: Unable to access opcode bytes at 0x7fbce890d97d. Code starting with the faulting instruction =========================================== [ 20.311292][ T375] RSP: 002b:00007fffdbcd0968 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 20.311504][ T375] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007fbce890d9a7 [ 20.311724][ T375] RDX: 0000000000000000 RSI: 00007fffdbcd09d0 RDI: 0000000000000005 [ 20.311978][ T375] RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 [ 20.312182][ T375] R10: 00007fbce87c6708 R11: 0000000000000246 R12: 0000000000000000 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