====================================== | [ 38.821624][ T576] RCU nest depth: 0, expected: 0 | [ 38.821830][ T576] 2 locks held by tc/576: | [ 38.821989][ T576] #0: ffffffff9d9e7e88 (rtnl_mutex){+.+.}-{4:4}, at: tc_new_tfilter (net/sched/cls_api.c:2261) | [ 38.822319][ T576] #1: ffff888006127290 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) [ 38.822911][ T576] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.823131][ T576] Call Trace: [ 38.823260][ T576] [ 38.823349][ T576] dump_stack_lvl (lib/dump_stack.c:123) [ 38.823554][ T576] __might_resched (kernel/sched/core.c:8759) [ 38.823724][ T576] ? tc_new_tfilter (net/sched/cls_api.c:2383) [ 38.823909][ T576] cpus_read_lock (./include/linux/kernel.h:73 ./include/linux/percpu-rwsem.h:49 kernel/cpu.c:490) [ 38.824072][ T576] static_key_slow_inc (kernel/jump_label.c:191) [ 38.824244][ T576] tc_new_tfilter (net/sched/cls_api.c:2385) [ 38.824416][ T576] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 38.824544][ T576] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 38.824742][ T576] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 38.824912][ T576] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 38.825298][ T576] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 38.825465][ T576] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 38.825636][ T576] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 38.825799][ T576] ? 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) [ 38.825971][ T576] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 38.826111][ T576] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 38.826279][ T576] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 38.826456][ T576] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 38.826626][ T576] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 38.826814][ T576] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 38.826979][ T576] ? 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) [ 38.827159][ T576] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 38.827328][ T576] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 38.827501][ T576] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 38.827679][ T576] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 38.827844][ T576] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 38.828017][ T576] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 38.828184][ T576] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 38.828354][ T576] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 38.828587][ T576] ___sys_sendmsg (net/socket.c:2624) [ 38.828754][ T576] ? __debug_check_no_obj_freed (lib/debugobjects.c:1110) [ 38.828970][ T576] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 38.829137][ T576] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:1070) [ 38.829335][ T576] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 38.829508][ T576] ? 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) [ 38.829681][ T576] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 38.829900][ T576] ? kmem_cache_free (mm/slub.c:4613 mm/slub.c:4715) [ 38.830072][ T576] ? do_sys_openat2 (fs/open.c:1405) [ 38.830246][ T576] ? do_sys_openat2 (fs/open.c:1411) [ 38.830419][ T576] ? do_sys_openat2 (fs/open.c:1411) [ 38.830593][ T576] __sys_sendmsg (net/socket.c:2654) [ 38.830772][ T576] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 38.830970][ T576] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 38.831137][ T576] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 38.831352][ T576] RIP: 0033:0x7f5ac60449a7 [ 38.831539][ T576] Code: Unable to access opcode bytes at 0x7f5ac604497d. Code starting with the faulting instruction =========================================== [ 38.831761][ T576] RSP: 002b:00007ffc3f4d4048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 38.832010][ T576] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007f5ac60449a7 [ 38.832255][ T576] RDX: 0000000000000000 RSI: 00007ffc3f4d40b0 RDI: 0000000000000005 [ 38.832501][ T576] RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 [ 38.832754][ T576] R10: 00007f5ac5efd708 R11: 0000000000000246 R12: 0000000000000000 [ 38.833002][ T576] R13: 0000000067858773 R14: 0000000000483b60 R15: 00007ffc3f4d897a | [ 38.835255][ T576] #1: ffff888006127290 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) | [ 38.835492][ T576] #2: ffffffff9cfddcd0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc (kernel/jump_label.c:191) | [ 38.835768][ T576] stack backtrace: | [ 38.836129][ T576] Tainted: [W]=WARN [ 38.836239][ T576] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.836414][ T576] Call Trace: [ 38.836525][ T576] [ 38.836606][ T576] dump_stack_lvl (lib/dump_stack.c:123) [ 38.836757][ T576] __lock_acquire (kernel/locking/lockdep.c:4828 kernel/locking/lockdep.c:4898 kernel/locking/lockdep.c:5176) [ 38.836912][ T576] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 38.837062][ T576] ? 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) [ 38.837252][ T576] ? 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) [ 38.837392][ T576] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 38.837545][ T576] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 38.837685][ T576] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 38.837829][ T576] ? 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) [ 38.838009][ T576] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:735) [ 38.838150][ T576] ? 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) [ 38.838333][ T576] ? 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) [ 38.838509][ T576] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 38.838653][ T576] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 38.838794][ T576] ? 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)) [ 38.838970][ T576] ? __pfx_static_key_fast_inc_not_disabled (kernel/jump_label.c:128) [ 38.839153][ T576] ? 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) [ 38.839326][ T576] 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) [ 38.839502][ T576] static_key_slow_inc (kernel/jump_label.c:191) [ 38.839643][ T576] tc_new_tfilter (net/sched/cls_api.c:2385) [ 38.839788][ T576] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 38.839896][ T576] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 38.840043][ T576] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 38.840190][ T576] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 38.840334][ T576] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 38.840477][ T576] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 38.840621][ T576] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 38.840762][ T576] ? 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) [ 38.840905][ T576] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 38.841014][ T576] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 38.841158][ T576] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 38.841300][ T576] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 38.841444][ T576] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 38.841591][ T576] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 38.841734][ T576] ? 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) [ 38.841886][ T576] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 38.842028][ T576] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 38.842176][ T576] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 38.842325][ T576] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 38.842469][ T576] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 38.842614][ T576] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 38.842761][ T576] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 38.842902][ T576] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 38.843085][ T576] ___sys_sendmsg (net/socket.c:2624) [ 38.843248][ T576] ? __debug_check_no_obj_freed (lib/debugobjects.c:1110) [ 38.843426][ T576] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 38.843581][ T576] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:1070) [ 38.843757][ T576] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 38.843906][ T576] ? 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) [ 38.844055][ T576] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 38.844256][ T576] ? kmem_cache_free (mm/slub.c:4613 mm/slub.c:4715) [ 38.844404][ T576] ? do_sys_openat2 (fs/open.c:1405) [ 38.844553][ T576] ? do_sys_openat2 (fs/open.c:1411) [ 38.844705][ T576] ? do_sys_openat2 (fs/open.c:1411) [ 38.844858][ T576] __sys_sendmsg (net/socket.c:2654) [ 38.845014][ T576] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 38.845168][ T576] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 38.845318][ T576] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 38.845509][ T576] RIP: 0033:0x7f5ac60449a7 [ 38.845674][ T576] Code: Unable to access opcode bytes at 0x7f5ac604497d. Code starting with the faulting instruction =========================================== [ 38.845857][ T576] RSP: 002b:00007ffc3f4d4048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 38.846080][ T576] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007f5ac60449a7 [ 38.846302][ T576] RDX: 0000000000000000 RSI: 00007ffc3f4d40b0 RDI: 0000000000000005 [ 38.846520][ T576] RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 [ 38.846740][ T576] R10: 00007f5ac5efd708 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