------------[ cut here ]------------ ====================================================== WARNING: possible circular locking dependency detected syzkaller #0 Not tainted ------------------------------------------------------ kworker/u4:6/4282 is trying to acquire lock: ffffffff8c1111c0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x2c/0x60 kernel/printk/printk.c:1802 but task is already holding lock: ffff8880b91280d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x123/0x270 kernel/time/timer.c:946 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #5 (&base->lock){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 lock_timer_base+0x123/0x270 kernel/time/timer.c:946 __mod_timer+0x117/0xd20 kernel/time/timer.c:1019 queue_delayed_work_on+0x126/0x1e0 kernel/workqueue.c:1715 psi_enqueue kernel/sched/stats.h:102 [inline] enqueue_task+0x26d/0x2b0 kernel/sched/core.c:1992 activate_task kernel/sched/core.c:2024 [inline] wake_up_new_task+0x442/0x9a0 kernel/sched/core.c:4541 kernel_clone+0x421/0x930 kernel/fork.c:2703 kernel_thread+0xc8/0x120 kernel/fork.c:2731 rest_init+0x21/0x330 init/main.c:720 start_kernel+0x486/0x530 init/main.c:1154 secondary_startup_64_no_verify+0xb1/0xbb -> #4 (&rq->__lock){-.-.}-{2:2}: _raw_spin_lock_nested+0x2e/0x40 kernel/locking/spinlock.c:368 raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 raw_spin_rq_lock kernel/sched/sched.h:1326 [inline] rq_lock kernel/sched/sched.h:1621 [inline] task_fork_fair+0x5c/0x350 kernel/sched/fair.c:11499 sched_cgroup_fork+0x2c6/0x320 kernel/sched/core.c:4485 copy_process+0x22d1/0x3e00 kernel/fork.c:2395 kernel_clone+0x219/0x930 kernel/fork.c:2679 kernel_thread+0xc8/0x120 kernel/fork.c:2731 rest_init+0x21/0x330 init/main.c:720 start_kernel+0x486/0x530 init/main.c:1154 secondary_startup_64_no_verify+0xb1/0xbb -> #3 (&p->pi_lock){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 try_to_wake_up+0x5c/0x1050 kernel/sched/core.c:4049 __wake_up_common+0x2a4/0x4e0 kernel/sched/wait.c:108 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up+0x108/0x180 kernel/sched/wait.c:157 tty_port_default_wakeup+0xa5/0xf0 drivers/tty/tty_port.c:51 serial8250_tx_chars+0x629/0x830 drivers/tty/serial/8250/8250_port.c:1828 serial8250_handle_irq+0x519/0x610 drivers/tty/serial/8250/8250_port.c:1924 serial8250_default_handle_irq+0xb4/0x1a0 drivers/tty/serial/8250/8250_port.c:1941 serial8250_interrupt+0x9b/0x1c0 drivers/tty/serial/8250/8250_core.c:127 __handle_irq_event_percpu+0x291/0x9b0 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0xa5/0x220 kernel/irq/handle.c:213 handle_edge_irq+0x243/0xb20 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:233 [inline] __common_interrupt+0xd7/0x1e0 arch/x86/kernel/irq.c:252 common_interrupt+0xb0/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667 native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] default_idle+0xb/0x10 arch/x86/kernel/process.c:729 default_idle_call+0x81/0xc0 kernel/sched/idle.c:112 cpuidle_idle_call kernel/sched/idle.c:194 [inline] do_idle+0x21b/0x5b0 kernel/sched/idle.c:306 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403 start_kernel+0x486/0x530 init/main.c:1154 secondary_startup_64_no_verify+0xb1/0xbb -> #2 (&tty->write_wait){-...}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xed/0x180 kernel/sched/wait.c:157 tty_port_default_wakeup+0xa5/0xf0 drivers/tty/tty_port.c:51 serial8250_tx_chars+0x629/0x830 drivers/tty/serial/8250/8250_port.c:1828 serial8250_handle_irq+0x519/0x610 drivers/tty/serial/8250/8250_port.c:1924 serial8250_default_handle_irq+0xb4/0x1a0 drivers/tty/serial/8250/8250_port.c:1941 serial8250_interrupt+0x9b/0x1c0 drivers/tty/serial/8250/8250_core.c:127 __handle_irq_event_percpu+0x291/0x9b0 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0xa5/0x220 kernel/irq/handle.c:213 handle_edge_irq+0x243/0xb20 kernel/irq/chip.c:819 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq arch/x86/kernel/irq.c:233 [inline] __common_interrupt+0xd7/0x1e0 arch/x86/kernel/irq.c:252 common_interrupt+0xb0/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667 native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] default_idle+0xb/0x10 arch/x86/kernel/process.c:729 default_idle_call+0x81/0xc0 kernel/sched/idle.c:112 cpuidle_idle_call kernel/sched/idle.c:194 [inline] do_idle+0x21b/0x5b0 kernel/sched/idle.c:306 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403 start_kernel+0x486/0x530 init/main.c:1154 secondary_startup_64_no_verify+0xb1/0xbb -> #1 (&port_lock_key){-...}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 serial8250_console_write+0x170/0xf80 drivers/tty/serial/8250/8250_port.c:3362 call_console_drivers kernel/printk/printk.c:-1 [inline] console_unlock+0xc86/0x1200 kernel/printk/printk.c:2744 vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274 _printk+0xcc/0x110 kernel/printk/printk.c:2299 register_console+0x682/0x960 kernel/printk/printk.c:3107 univ8250_console_init+0x41/0x50 drivers/tty/serial/8250/8250_core.c:690 console_init+0x177/0x5d0 kernel/printk/printk.c:3207 start_kernel+0x2f9/0x530 init/main.c:1090 secondary_startup_64_no_verify+0xb1/0xbb -> #0 (console_owner){..-.}-{0:0}: check_prev_add kernel/locking/lockdep.c:3053 [inline] check_prevs_add kernel/locking/lockdep.c:3172 [inline] validate_chain kernel/locking/lockdep.c:3788 [inline] __lock_acquire+0x2c33/0x7c60 kernel/locking/lockdep.c:5012 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 console_lock_spinning_enable+0x51/0x60 kernel/printk/printk.c:1805 console_unlock+0x9f8/0x1200 kernel/printk/printk.c:2741 vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274 _printk+0xcc/0x110 kernel/printk/printk.c:2299 report_bug+0x1e5/0x2e0 lib/bug.c:195 handle_bug+0x3a/0x70 arch/x86/kernel/traps.c:239 exc_invalid_op+0x16/0x40 arch/x86/kernel/traps.c:259 asm_exc_invalid_op+0x16/0x20 arch/x86/include/asm/idtentry.h:604 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline] ____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline] bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277 bpf_prog_24fd3d61f59b453e+0x3a/0x754 bpf_dispatcher_nop_func include/linux/bpf.h:888 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline] bpf_trace_run3+0x17e/0x320 kernel/trace/bpf_trace.c:1916 __traceiter_timer_start+0x73/0xc0 include/trace/events/timer.h:52 trace_timer_start include/trace/events/timer.h:52 [inline] enqueue_timer+0x394/0x520 kernel/time/timer.c:586 __mod_timer+0x88e/0xd20 kernel/time/timer.c:1060 sk_reset_timer+0x1f/0xb0 net/core/sock.c:3142 tcp_event_new_data_sent+0x20e/0x370 net/ipv4/tcp_output.c:81 tcp_write_xmit+0x18f6/0x6580 net/ipv4/tcp_output.c:2725 __tcp_push_pending_frames+0x92/0x250 net/ipv4/tcp_output.c:2903 tcp_push_pending_frames include/net/tcp.h:1916 [inline] tcp_data_snd_check net/ipv4/tcp_input.c:5572 [inline] tcp_rcv_established+0xf25/0x1cb0 net/ipv4/tcp_input.c:5983 tcp_v4_do_rcv+0x44b/0x9b0 net/ipv4/tcp_ipv4.c:1731 tcp_v4_rcv+0x268f/0x2cb0 net/ipv4/tcp_ipv4.c:2143 ip_protocol_deliver_rcu+0x3ad/0x770 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x1d5/0x320 net/ipv4/ip_input.c:231 NF_HOOK+0x2d6/0x360 include/linux/netfilter.h:302 dst_input include/net/dst.h:462 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0xa1f/0xce0 net/ipv4/ip_input.c:636 ip_list_rcv+0x3df/0x430 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5568 [inline] __netif_receive_skb_list_core+0x574/0x740 net/core/dev.c:5616 __netif_receive_skb_list net/core/dev.c:5668 [inline] netif_receive_skb_list_internal+0x871/0xb90 net/core/dev.c:5759 gro_normal_list net/core/dev.c:5913 [inline] napi_complete_done+0x37d/0x830 net/core/dev.c:6651 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0x912/0xef0 drivers/net/virtio_net.c:1624 __napi_poll+0xc0/0x430 net/core/dev.c:7075 napi_poll net/core/dev.c:7142 [inline] net_rx_action+0x4a8/0x9c0 net/core/dev.c:7232 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 common_interrupt+0xb5/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667 lock_release+0x584/0x870 kernel/locking/lockdep.c:5647 rcu_read_unlock include/linux/rcupdate.h:773 [inline] inet_twsk_purge+0x77d/0x810 net/ipv4/inet_timewait_sock.c:309 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x77b/0xb80 net/core/net_namespace.c:635 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 other info that might help us debug this: Chain exists of: console_owner --> &rq->__lock --> &base->lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&base->lock); lock(&rq->__lock); lock(&base->lock); lock(console_owner); *** DEADLOCK *** 9 locks held by kworker/u4:6/4282: #0: ffff8880169cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900034dfd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d22cd10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:589 #3: ffffffff8c11c760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 #4: ffffffff8c11c760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:312 #5: ffff888025198ca0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0x261d/0x2cb0 net/ipv4/tcp_ipv4.c:2137 #6: ffff8880b91280d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x123/0x270 kernel/time/timer.c:946 #7: ffffffff8c11c760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:312 #8: ffffffff8c1112a0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0xa7/0x150 kernel/printk/printk.c:2273 stack backtrace: CPU: 1 PID: 4282 Comm: kworker/u4:6 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: netns cleanup_net Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 check_noncircular+0x274/0x310 kernel/locking/lockdep.c:2133 check_prev_add kernel/locking/lockdep.c:3053 [inline] check_prevs_add kernel/locking/lockdep.c:3172 [inline] validate_chain kernel/locking/lockdep.c:3788 [inline] __lock_acquire+0x2c33/0x7c60 kernel/locking/lockdep.c:5012 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 console_lock_spinning_enable+0x51/0x60 kernel/printk/printk.c:1805 console_unlock+0x9f8/0x1200 kernel/printk/printk.c:2741 vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274 _printk+0xcc/0x110 kernel/printk/printk.c:2299 report_bug+0x1e5/0x2e0 lib/bug.c:195 handle_bug+0x3a/0x70 arch/x86/kernel/traps.c:239 exc_invalid_op+0x16/0x40 arch/x86/kernel/traps.c:259 asm_exc_invalid_op+0x16/0x20 arch/x86/include/asm/idtentry.h:604 RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Code: 24 45 31 f6 31 ff 89 de e8 8d f6 d8 ff 85 db 48 c7 c0 f2 ff ff ff 49 0f 44 c6 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 10 f3 d8 ff <0f> 0b e9 1c ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c ea fe RSP: 0018:ffffc90000dcfa18 EFLAGS: 00010046 RAX: ffffffff819ed900 RBX: 0000000000000000 RCX: ffff888029743b80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10052e8771 R10: ffffed10052e8771 R11: 1ffff110052e8770 R12: ffff888029745308 R13: 00007ffffffff000 R14: ffffc90000dcfa88 R15: 0000000020000000 bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline] ____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline] bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277 bpf_prog_24fd3d61f59b453e+0x3a/0x754 bpf_dispatcher_nop_func include/linux/bpf.h:888 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline] bpf_trace_run3+0x17e/0x320 kernel/trace/bpf_trace.c:1916 __traceiter_timer_start+0x73/0xc0 include/trace/events/timer.h:52 trace_timer_start include/trace/events/timer.h:52 [inline] enqueue_timer+0x394/0x520 kernel/time/timer.c:586 __mod_timer+0x88e/0xd20 kernel/time/timer.c:1060 sk_reset_timer+0x1f/0xb0 net/core/sock.c:3142 tcp_event_new_data_sent+0x20e/0x370 net/ipv4/tcp_output.c:81 tcp_write_xmit+0x18f6/0x6580 net/ipv4/tcp_output.c:2725 __tcp_push_pending_frames+0x92/0x250 net/ipv4/tcp_output.c:2903 tcp_push_pending_frames include/net/tcp.h:1916 [inline] tcp_data_snd_check net/ipv4/tcp_input.c:5572 [inline] tcp_rcv_established+0xf25/0x1cb0 net/ipv4/tcp_input.c:5983 tcp_v4_do_rcv+0x44b/0x9b0 net/ipv4/tcp_ipv4.c:1731 tcp_v4_rcv+0x268f/0x2cb0 net/ipv4/tcp_ipv4.c:2143 ip_protocol_deliver_rcu+0x3ad/0x770 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x1d5/0x320 net/ipv4/ip_input.c:231 NF_HOOK+0x2d6/0x360 include/linux/netfilter.h:302 dst_input include/net/dst.h:462 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0xa1f/0xce0 net/ipv4/ip_input.c:636 ip_list_rcv+0x3df/0x430 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5568 [inline] __netif_receive_skb_list_core+0x574/0x740 net/core/dev.c:5616 __netif_receive_skb_list net/core/dev.c:5668 [inline] netif_receive_skb_list_internal+0x871/0xb90 net/core/dev.c:5759 gro_normal_list net/core/dev.c:5913 [inline] napi_complete_done+0x37d/0x830 net/core/dev.c:6651 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0x912/0xef0 drivers/net/virtio_net.c:1624 __napi_poll+0xc0/0x430 net/core/dev.c:7075 napi_poll net/core/dev.c:7142 [inline] net_rx_action+0x4a8/0x9c0 net/core/dev.c:7232 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 common_interrupt+0xb5/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667 RIP: 0010:lock_release+0x584/0x870 kernel/locking/lockdep.c:5647 Code: 00 00 00 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 75 75 f7 44 24 50 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 2f 00 00 00 00 66 43 c7 44 2f 09 00 00 43 c6 44 2f 0b 00 RSP: 0018:ffffc900034df920 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 3f5332baedb9c1c1 RCX: f86a26df70bbea00 RDX: 0000000000000003 RSI: ffffffff8a0b2f00 RDI: ffffffff8a59e580 RBP: ffffc900034dfa30 R08: dffffc0000000000 R09: fffffbfff1ad33a6 R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: ffff8880297446e8 R13: dffffc0000000000 R14: ffff888029744660 R15: 1ffff9200069bf30 rcu_read_unlock include/linux/rcupdate.h:773 [inline] inet_twsk_purge+0x77d/0x810 net/ipv4/inet_timewait_sock.c:309 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x77b/0xb80 net/core/net_namespace.c:635 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 WARNING: CPU: 1 PID: 4282 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Modules linked in: CPU: 1 PID: 4282 Comm: kworker/u4:6 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: netns cleanup_net RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226 Code: 24 45 31 f6 31 ff 89 de e8 8d f6 d8 ff 85 db 48 c7 c0 f2 ff ff ff 49 0f 44 c6 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 10 f3 d8 ff <0f> 0b e9 1c ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c ea fe RSP: 0018:ffffc90000dcfa18 EFLAGS: 00010046 RAX: ffffffff819ed900 RBX: 0000000000000000 RCX: ffff888029743b80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10052e8771 R10: ffffed10052e8771 R11: 1ffff110052e8770 R12: ffff888029745308 R13: 00007ffffffff000 R14: ffffc90000dcfa88 R15: 0000000020000000 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f513b7772f8 CR3: 000000005a867000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline] ____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline] bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277 bpf_prog_24fd3d61f59b453e+0x3a/0x754 bpf_dispatcher_nop_func include/linux/bpf.h:888 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline] bpf_trace_run3+0x17e/0x320 kernel/trace/bpf_trace.c:1916 __traceiter_timer_start+0x73/0xc0 include/trace/events/timer.h:52 trace_timer_start include/trace/events/timer.h:52 [inline] enqueue_timer+0x394/0x520 kernel/time/timer.c:586 __mod_timer+0x88e/0xd20 kernel/time/timer.c:1060 sk_reset_timer+0x1f/0xb0 net/core/sock.c:3142 tcp_event_new_data_sent+0x20e/0x370 net/ipv4/tcp_output.c:81 tcp_write_xmit+0x18f6/0x6580 net/ipv4/tcp_output.c:2725 __tcp_push_pending_frames+0x92/0x250 net/ipv4/tcp_output.c:2903 tcp_push_pending_frames include/net/tcp.h:1916 [inline] tcp_data_snd_check net/ipv4/tcp_input.c:5572 [inline] tcp_rcv_established+0xf25/0x1cb0 net/ipv4/tcp_input.c:5983 tcp_v4_do_rcv+0x44b/0x9b0 net/ipv4/tcp_ipv4.c:1731 tcp_v4_rcv+0x268f/0x2cb0 net/ipv4/tcp_ipv4.c:2143 ip_protocol_deliver_rcu+0x3ad/0x770 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x1d5/0x320 net/ipv4/ip_input.c:231 NF_HOOK+0x2d6/0x360 include/linux/netfilter.h:302 dst_input include/net/dst.h:462 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0xa1f/0xce0 net/ipv4/ip_input.c:636 ip_list_rcv+0x3df/0x430 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5568 [inline] __netif_receive_skb_list_core+0x574/0x740 net/core/dev.c:5616 __netif_receive_skb_list net/core/dev.c:5668 [inline] netif_receive_skb_list_internal+0x871/0xb90 net/core/dev.c:5759 gro_normal_list net/core/dev.c:5913 [inline] napi_complete_done+0x37d/0x830 net/core/dev.c:6651 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0x912/0xef0 drivers/net/virtio_net.c:1624 __napi_poll+0xc0/0x430 net/core/dev.c:7075 napi_poll net/core/dev.c:7142 [inline] net_rx_action+0x4a8/0x9c0 net/core/dev.c:7232 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 common_interrupt+0xb5/0xd0 arch/x86/kernel/irq.c:242 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:667 RIP: 0010:lock_release+0x584/0x870 kernel/locking/lockdep.c:5647 Code: 00 00 00 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 75 75 f7 44 24 50 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 2f 00 00 00 00 66 43 c7 44 2f 09 00 00 43 c6 44 2f 0b 00 RSP: 0018:ffffc900034df920 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 3f5332baedb9c1c1 RCX: f86a26df70bbea00 RDX: 0000000000000003 RSI: ffffffff8a0b2f00 RDI: ffffffff8a59e580 RBP: ffffc900034dfa30 R08: dffffc0000000000 R09: fffffbfff1ad33a6 R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: ffff8880297446e8 R13: dffffc0000000000 R14: ffff888029744660 R15: 1ffff9200069bf30 rcu_read_unlock include/linux/rcupdate.h:773 [inline] inet_twsk_purge+0x77d/0x810 net/ipv4/inet_timewait_sock.c:309 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x77b/0xb80 net/core/net_namespace.c:635 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 9c pushf 5: 8f 84 24 80 00 00 00 pop 0x80(%rsp) c: f6 84 24 81 00 00 00 testb $0x2,0x81(%rsp) 13: 02 14: 75 75 jne 0x8b 16: f7 44 24 50 00 02 00 testl $0x200,0x50(%rsp) 1d: 00 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 04 2f 00 00 00 movq $0x0,(%r15,%r13,1) <-- trapping instruction 31: 00 32: 66 43 c7 44 2f 09 00 movw $0x0,0x9(%r15,%r13,1) 39: 00 3a: 43 c6 44 2f 0b 00 movb $0x0,0xb(%r15,%r13,1)