====================================== | [ 69.319956][ T578] RCU nest depth: 0, expected: 0 | [ 69.320116][ T578] 2 locks held by tc/578: | [ 69.320255][ T578] #0: ffffffffa43e7e88 (rtnl_mutex){+.+.}-{4:4}, at: tc_new_tfilter (net/sched/cls_api.c:2261) | [ 69.320560][ T578] #1: ffff888005903a10 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) [ 69.321109][ T578] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 69.321312][ T578] Call Trace: [ 69.321472][ T578] [ 69.321571][ T578] dump_stack_lvl (lib/dump_stack.c:123) [ 69.321744][ T578] __might_resched (kernel/sched/core.c:8759) [ 69.321907][ T578] ? tc_new_tfilter (net/sched/cls_api.c:2383) [ 69.322104][ T578] cpus_read_lock (./include/linux/kernel.h:73 ./include/linux/percpu-rwsem.h:49 kernel/cpu.c:490) [ 69.322272][ T578] static_key_slow_inc (kernel/jump_label.c:191) [ 69.322463][ T578] tc_new_tfilter (net/sched/cls_api.c:2385) [ 69.322640][ T578] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 69.322766][ T578] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 69.322983][ T578] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 69.323157][ T578] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 69.323322][ T578] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 69.323706][ T578] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 69.323881][ T578] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 69.324046][ T578] ? 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) [ 69.324207][ T578] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 69.324340][ T578] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 69.324506][ T578] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 69.324667][ T578] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 69.324843][ T578] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 69.325035][ T578] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 69.325214][ T578] ? 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) [ 69.325399][ T578] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 69.325565][ T578] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 69.325731][ T578] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 69.325904][ T578] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 69.326070][ T578] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 69.326283][ T578] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 69.326451][ T578] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 69.326633][ T578] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 69.326848][ T578] ___sys_sendmsg (net/socket.c:2624) [ 69.327035][ T578] ? 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) [ 69.327200][ T578] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 69.327386][ T578] ? usage_skip (kernel/locking/lockdep.c:2284) [ 69.327567][ T578] ? do_user_addr_fault (./include/linux/rcupdate.h:337 ./include/linux/rcupdate.h:849 ./include/linux/mm.h:740 arch/x86/mm/fault.c:1340) [ 69.327733][ T578] ? do_user_addr_fault (./include/linux/rcupdate.h:337 ./include/linux/rcupdate.h:849 ./include/linux/mm.h:740 arch/x86/mm/fault.c:1340) [ 69.327929][ T578] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 69.328097][ T578] ? __lock_release (kernel/locking/lockdep.c:5525) [ 69.328265][ T578] __sys_sendmsg (net/socket.c:2654) [ 69.328458][ T578] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 69.328632][ T578] ? do_user_addr_fault (./include/linux/rcupdate.h:882 ./include/linux/mm.h:742 arch/x86/mm/fault.c:1340) [ 69.328842][ T578] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 69.329008][ T578] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 69.329209][ T578] RIP: 0033:0x7fd4d09689a7 [ 69.329388][ T578] Code: Unable to access opcode bytes at 0x7fd4d096897d. Code starting with the faulting instruction =========================================== [ 69.329598][ T578] RSP: 002b:00007ffde57cdfc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 69.329859][ T578] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007fd4d09689a7 [ 69.330121][ T578] RDX: 0000000000000000 RSI: 00007ffde57ce030 RDI: 0000000000000005 [ 69.330363][ T578] RBP: 0000000000000300 R08: 0000000000000000 R09: 0000000000000003 [ 69.330614][ T578] R10: 00007fd4d0821708 R11: 0000000000000246 R12: 00007ffde57d296e [ 69.330884][ T578] R13: 00000000678589b3 R14: 0000000000483b60 R15: 00007ffde57d2972 | [ 69.333178][ T578] #1: ffff888005903a10 (&tp->lock){+.+.}-{3:3}, at: tc_new_tfilter (net/sched/cls_api.c:2383) | [ 69.333424][ T578] #2: ffffffffa39ddcd0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc (kernel/jump_label.c:191) | [ 69.333671][ T578] stack backtrace: | [ 69.334010][ T578] Tainted: [W]=WARN [ 69.334115][ T578] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 69.334288][ T578] Call Trace: [ 69.334392][ T578] [ 69.334463][ T578] dump_stack_lvl (lib/dump_stack.c:123) [ 69.334603][ T578] __lock_acquire (kernel/locking/lockdep.c:4828 kernel/locking/lockdep.c:4898 kernel/locking/lockdep.c:5176) [ 69.334743][ T578] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 69.334905][ T578] ? 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) [ 69.335077][ T578] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 69.335211][ T578] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 69.335351][ T578] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 69.335487][ T578] ? 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) [ 69.335654][ T578] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:735) [ 69.335790][ T578] ? 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) [ 69.335956][ T578] ? 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) [ 69.336122][ T578] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 69.336254][ T578] ? static_key_slow_inc (kernel/jump_label.c:191) [ 69.336393][ T578] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 69.336526][ T578] ? 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)) [ 69.336692][ T578] ? __pfx_static_key_fast_inc_not_disabled (kernel/jump_label.c:128) [ 69.336869][ T578] ? 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) [ 69.337033][ T578] 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) [ 69.337216][ T578] static_key_slow_inc (kernel/jump_label.c:191) [ 69.337351][ T578] tc_new_tfilter (net/sched/cls_api.c:2385) [ 69.337491][ T578] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 69.337592][ T578] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 69.337730][ T578] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 69.337865][ T578] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6912) [ 69.338001][ T578] ? __pfx_tc_new_tfilter (net/sched/cls_api.c:2186) [ 69.338135][ T578] rtnetlink_rcv_msg (net/core/rtnetlink.c:6914) [ 69.338270][ T578] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 69.338519][ T578] ? 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) [ 69.338655][ T578] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 69.338756][ T578] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 69.338897][ T578] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 69.339042][ T578] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6817) [ 69.339176][ T578] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 69.339312][ T578] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 69.339450][ T578] ? 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) [ 69.339584][ T578] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 69.339719][ T578] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 69.339852][ T578] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 69.339989][ T578] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 69.340125][ T578] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 69.340260][ T578] ____sys_sendmsg (net/socket.c:713 net/socket.c:728 net/socket.c:2568) [ 69.340402][ T578] ? __pfx_____sys_sendmsg (net/socket.c:2514) [ 69.340556][ T578] ? __pfx_copy_msghdr_from_user (net/socket.c:2494) [ 69.340736][ T578] ___sys_sendmsg (net/socket.c:2624) [ 69.340887][ T578] ? 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) [ 69.341036][ T578] ? __pfx____sys_sendmsg (net/socket.c:2611) [ 69.341186][ T578] ? usage_skip (kernel/locking/lockdep.c:2284) [ 69.341337][ T578] ? do_user_addr_fault (./include/linux/rcupdate.h:337 ./include/linux/rcupdate.h:849 ./include/linux/mm.h:740 arch/x86/mm/fault.c:1340) [ 69.341489][ T578] ? do_user_addr_fault (./include/linux/rcupdate.h:337 ./include/linux/rcupdate.h:849 ./include/linux/mm.h:740 arch/x86/mm/fault.c:1340) [ 69.341637][ T578] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 69.341785][ T578] ? __lock_release (kernel/locking/lockdep.c:5525) [ 69.341934][ T578] __sys_sendmsg (net/socket.c:2654) [ 69.342081][ T578] ? __pfx___sys_sendmsg (net/socket.c:2639) [ 69.342232][ T578] ? do_user_addr_fault (./include/linux/rcupdate.h:882 ./include/linux/mm.h:742 arch/x86/mm/fault.c:1340) [ 69.342370][ T578] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 69.342515][ T578] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 69.342680][ T578] RIP: 0033:0x7fd4d09689a7 [ 69.342904][ T578] Code: Unable to access opcode bytes at 0x7fd4d096897d. Code starting with the faulting instruction =========================================== [ 69.343075][ T578] RSP: 002b:00007ffde57cdfc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 69.343279][ T578] RAX: ffffffffffffffda RBX: 000000000047dbc0 RCX: 00007fd4d09689a7 [ 69.343554][ T578] RDX: 0000000000000000 RSI: 00007ffde57ce030 RDI: 0000000000000005 [ 69.343755][ T578] RBP: 0000000000000300 R08: 0000000000000000 R09: 0000000000000003 [ 69.343951][ T578] R10: 00007fd4d0821708 R11: 0000000000000246 R12: 00007ffde57d296e 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