====================================== | [ 15.725531][ T376] RCU nest depth: 0, expected: 0 | [ 15.725820][ T376] 2 locks held by tc/376: | [ 15.726025][ T376] #0: ffffffff8c7e7e88 (rtnl_mutex){+.+.}-{4:4}, at: tc_new_tfilter (net/sched/cls_api.c:2261) | [ 15.726536][ T376] #1: ffff88800b7da810 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) [ 15.727401][ T376] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.727735][ T376] Call Trace: [ 15.727937][ T376] [ 15.728081][ T376] dump_stack_lvl (lib/dump_stack.c:123) [ 15.728347][ T376] __might_resched (kernel/sched/core.c:8759) [ 15.728610][ T376] ? tc_new_tfilter (net/sched/cls_api.c:2383) [ 15.728903][ T376] cpus_read_lock (./include/linux/kernel.h:73 ./include/linux/percpu-rwsem.h:49 kernel/cpu.c:490) [ 15.729187][ T376] static_key_slow_inc (kernel/jump_label.c:191) [ 15.729474][ T376] tc_new_tfilter (net/sched/cls_api.c:2385) [ 15.729780][ T376] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 15.730002][ T376] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 15.730333][ T376] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 15.730630][ T376] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 15.730918][ T376] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 15.731393][ T376] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 15.731678][ T376] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 15.731966][ T376] ? 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) [ 15.732247][ T376] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 15.732465][ T376] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 15.732740][ T376] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 15.732999][ T376] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 15.733267][ T376] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 15.733535][ T376] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 15.733805][ T376] ? 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) [ 15.734068][ T376] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 15.734333][ T376] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 15.734591][ T376] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 15.734862][ T376] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 15.735125][ T376] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 15.735407][ T376] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 15.735673][ T376] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 15.735942][ T376] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 15.736290][ T376] ___sys_sendmsg (net/socket.c:2624) [ 15.736545][ T376] ? __debug_check_no_obj_freed (lib/debugobjects.c:1110) [ 15.736886][ T376] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 15.737184][ T376] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:1070) [ 15.737516][ T376] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 15.737797][ T376] ? 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) [ 15.738075][ T376] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 15.738407][ T376] ? kmem_cache_free (mm/slub.c:4613 mm/slub.c:4715) [ 15.738667][ T376] ? do_sys_openat2 (fs/open.c:1405) [ 15.738927][ T376] ? do_sys_openat2 (fs/open.c:1411) [ 15.739196][ T376] ? do_sys_openat2 (fs/open.c:1411) [ 15.739468][ T376] __sys_sendmsg (net/socket.c:2654) [ 15.739732][ T376] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 15.740040][ T376] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 15.740305][ T376] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 15.740620][ T376] RIP: 0033:0x7f86627429a7 [ 15.740898][ T376] Code: Unable to access opcode bytes at 0x7f866274297d. Code starting with the faulting instruction =========================================== [ 15.741238][ T376] RSP: 002b:00007ffd41c39388 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 15.741635][ T376] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007f86627429a7 [ 15.742067][ T376] RDX: 0000000000000000 RSI: 00007ffd41c393f0 RDI: 0000000000000005 [ 15.742483][ T376] RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 [ 15.742891][ T376] R10: 00007f86625fb708 R11: 0000000000000246 R12: 0000000000000000 [ 15.743297][ T376] R13: 000000006785892e R14: 0000000000483b60 R15: 00007ffd41c3e991 | [ 15.746539][ T376] #1: ffff88800b7da810 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) | [ 15.746941][ T376] #2: ffffffff8bdddcd0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc (kernel/jump_label.c:191) | [ 15.747337][ T376] stack backtrace: | [ 15.747828][ T376] Tainted: [W]=WARN [ 15.747931][ T376] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.748104][ T376] Call Trace: [ 15.748209][ T376] [ 15.748280][ T376] dump_stack_lvl (lib/dump_stack.c:123) [ 15.748422][ T376] __lock_acquire (kernel/locking/lockdep.c:4828 kernel/locking/lockdep.c:4898 kernel/locking/lockdep.c:5176) [ 15.748560][ T376] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 15.748708][ T376] ? 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) [ 15.748882][ T376] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 15.749017][ T376] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 15.749157][ T376] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 15.749292][ T376] ? 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) [ 15.749462][ T376] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:735) [ 15.749596][ T376] ? 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) [ 15.749776][ T376] ? 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) [ 15.749943][ T376] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 15.750076][ T376] ? static_key_slow_inc (kernel/jump_label.c:191) [ 15.750216][ T376] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 15.750352][ T376] ? 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)) [ 15.750518][ T376] ? __pfx_static_key_fast_inc_not_disabled (kernel/jump_label.c:128) [ 15.750691][ T376] ? 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) [ 15.750861][ T376] 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) [ 15.751028][ T376] static_key_slow_inc (kernel/jump_label.c:191) [ 15.751162][ T376] tc_new_tfilter (net/sched/cls_api.c:2385) [ 15.751300][ T376] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 15.751402][ T376] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 15.751543][ T376] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 15.751685][ T376] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 15.751821][ T376] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 15.751957][ T376] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 15.752098][ T376] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 15.752231][ T376] ? 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) [ 15.752365][ T376] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 15.752468][ T376] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 15.752610][ T376] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 15.752750][ T376] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 15.752886][ T376] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 15.753027][ T376] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 15.753166][ T376] ? 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) [ 15.753302][ T376] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 15.753436][ T376] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 15.753568][ T376] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 15.753750][ T376] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 15.753950][ T376] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 15.754165][ T376] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 15.754304][ T376] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 15.754491][ T376] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 15.754752][ T376] ___sys_sendmsg (net/socket.c:2624) [ 15.754963][ T376] ? __debug_check_no_obj_freed (lib/debugobjects.c:1110) [ 15.755229][ T376] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 15.755439][ T376] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:1070) [ 15.755694][ T376] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 15.755908][ T376] ? 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) [ 15.756116][ T376] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 15.756352][ T376] ? kmem_cache_free (mm/slub.c:4613 mm/slub.c:4715) [ 15.756527][ T376] ? do_sys_openat2 (fs/open.c:1405) [ 15.756723][ T376] ? do_sys_openat2 (fs/open.c:1411) [ 15.756932][ T376] ? do_sys_openat2 (fs/open.c:1411) [ 15.757156][ T376] __sys_sendmsg (net/socket.c:2654) [ 15.757367][ T376] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 15.757587][ T376] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 15.757788][ T376] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 15.758039][ T376] RIP: 0033:0x7f86627429a7 [ 15.758265][ T376] Code: Unable to access opcode bytes at 0x7f866274297d. Code starting with the faulting instruction =========================================== [ 15.758539][ T376] RSP: 002b:00007ffd41c39388 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 15.758869][ T376] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007f86627429a7 [ 15.759181][ T376] RDX: 0000000000000000 RSI: 00007ffd41c393f0 RDI: 0000000000000005 [ 15.759493][ T376] RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 [ 15.759810][ T376] R10: 00007f86625fb708 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