INFO: task kworker/u4:6:9443 blocked for more than 143 seconds. Not tainted 5.5.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:6 D24800 9443 2 0x80004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x87f/0xcd0 kernel/sched/core.c:4081 schedule+0x188/0x210 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common+0x11f1/0x2f30 kernel/locking/mutex.c:1033 __mutex_lock kernel/locking/mutex.c:1103 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:1118 hashlimit_proc_net_exit net/netfilter/xt_hashlimit.c:1267 [inline] hashlimit_net_exit+0x40/0x210 net/netfilter/xt_hashlimit.c:1290 ops_exit_list net/core/net_namespace.c:172 [inline] cleanup_net+0x6f8/0xb80 net/core/net_namespace.c:597 process_one_work+0x7f5/0x10d0 kernel/workqueue.c:2264 worker_thread+0xbbc/0x1630 kernel/workqueue.c:2410 kthread+0x332/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task syz-executor.0:18773 blocked for more than 143 seconds. Not tainted 5.5.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D27816 18773 8695 0x00004004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x87f/0xcd0 kernel/sched/core.c:4081 schedule+0x188/0x210 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common+0x11f1/0x2f30 kernel/locking/mutex.c:1033 __mutex_lock kernel/locking/mutex.c:1103 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:1118 htable_put+0x31/0x620 net/netfilter/xt_hashlimit.c:446 hashlimit_mt_destroy_v2+0x5b/0x70 net/netfilter/xt_hashlimit.c:971 cleanup_match net/ipv6/netfilter/ip6_tables.c:478 [inline] cleanup_entry+0x162/0x3c0 net/ipv6/netfilter/ip6_tables.c:662 do_replace net/ipv6/netfilter/ip6_tables.c:1165 [inline] do_ip6t_set_ctl+0x3cc/0x550 net/ipv6/netfilter/ip6_tables.c:1681 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x27a/0x2a0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x9e/0x170 net/ipv6/ipv6_sockglue.c:949 tcp_setsockopt+0xbe/0xd0 net/ipv4/tcp.c:3158 sock_common_setsockopt+0x99/0xb0 net/core/sock.c:3149 __sys_setsockopt+0x582/0x720 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2133 [inline] __se_sys_setsockopt net/socket.c:2130 [inline] __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2130 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007f3ad6195c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f3ad61966d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000488 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d7 R14: 00000000004d3f88 R15: 000000000075bf2c INFO: task syz-executor.4:18926 blocked for more than 143 seconds. Not tainted 5.5.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28440 18926 18916 0x00004004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x87f/0xcd0 kernel/sched/core.c:4081 schedule+0x188/0x210 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common+0x11f1/0x2f30 kernel/locking/mutex.c:1033 __mutex_lock kernel/locking/mutex.c:1103 [inline] mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:1118 hashlimit_mt_check_common+0x4da/0x1020 net/netfilter/xt_hashlimit.c:903 hashlimit_mt_check_v2+0x294/0x440 net/netfilter/xt_hashlimit.c:950 xt_check_match+0x6e0/0xb60 net/netfilter/x_tables.c:501 check_match net/ipv6/netfilter/ip6_tables.c:489 [inline] find_check_match net/ipv6/netfilter/ip6_tables.c:506 [inline] find_check_entry net/ipv6/netfilter/ip6_tables.c:557 [inline] translate_table+0x159b/0x22e0 net/ipv6/netfilter/ip6_tables.c:734 do_replace net/ipv6/netfilter/ip6_tables.c:1153 [inline] do_ip6t_set_ctl+0x2c3/0x550 net/ipv6/netfilter/ip6_tables.c:1681 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x27a/0x2a0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x9e/0x170 net/ipv6/ipv6_sockglue.c:949 tcp_setsockopt+0xbe/0xd0 net/ipv4/tcp.c:3158 sock_common_setsockopt+0x99/0xb0 net/core/sock.c:3149 __sys_setsockopt+0x582/0x720 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2133 [inline] __se_sys_setsockopt net/socket.c:2130 [inline] __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2130 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007ff757ccdc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007ff757cce6d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000488 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d7 R14: 00000000004d3f88 R15: 000000000075bf2c Showing all locks held in the system: 1 lock held by khungtaskd/1126: #0: ffffffff890d45c0 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 2 locks held by kworker/0:29/2882: #0: ffff8880aec36f98 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880aec36f98 (&rq->lock){-.-.}, at: __schedule+0xdb/0xcd0 kernel/sched/core.c:4029 #1: ffffffff890d45c0 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 1 lock held by rsyslogd/8565: #0: ffff888094e79da0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 2 locks held by getty/8655: #0: ffff88809f408090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000176f2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8656: #0: ffff8880a9125090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900017db2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8657: #0: ffff8880a471e090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900017bb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8658: #0: ffff88809f243090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900017eb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8659: #0: ffff88809e525090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900017fb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8660: #0: ffff88809f832090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900017ab2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8661: #0: ffff8880a7f77090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000174b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 4 locks held by kworker/u4:6/9443: #0: ffff8880a9e85928 ((wq_completion)netns){+.+.}, at: spin_unlock_irq include/linux/spinlock.h:388 [inline] #0: ffff8880a9e85928 ((wq_completion)netns){+.+.}, at: process_one_work+0x763/0x10d0 kernel/workqueue.c:2237 #1: ffffc90001a8fd78 (net_cleanup_work){+.+.}, at: process_one_work+0x7a5/0x10d0 kernel/workqueue.c:2239 #2: ffffffff89355328 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa5/0xb80 net/core/net_namespace.c:559 #3: ffffffff89371970 (hashlimit_mutex){+.+.}, at: hashlimit_proc_net_exit net/netfilter/xt_hashlimit.c:1267 [inline] #3: ffffffff89371970 (hashlimit_mutex){+.+.}, at: hashlimit_net_exit+0x40/0x210 net/netfilter/xt_hashlimit.c:1290 1 lock held by syz-executor.0/18773: #0: ffffffff89371970 (hashlimit_mutex){+.+.}, at: htable_put+0x31/0x620 net/netfilter/xt_hashlimit.c:446 1 lock held by syz-executor.3/18907: 1 lock held by syz-executor.4/18926: #0: ffffffff89371970 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common+0x4da/0x1020 net/netfilter/xt_hashlimit.c:903 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1126 Comm: khungtaskd Not tainted 5.5.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fb/0x318 lib/dump_stack.c:118 nmi_cpu_backtrace+0xaa/0x190 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x16f/0x290 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace+0x17/0x20 include/linux/nmi.h:146 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xd40/0xd60 kernel/hung_task.c:289 kthread+0x332/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18907 Comm: syz-executor.3 Not tainted 5.5.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:200 [inline] RIP: 0010:atomic_try_cmpxchg include/asm-generic/atomic-instrumented.h:695 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:78 [inline] RIP: 0010:do_raw_spin_lock+0x11c/0x7b0 kernel/locking/spinlock_debug.c:113 Code: da 16 55 00 4c 89 ff be 04 00 00 00 e8 cd 16 55 00 42 8a 04 23 84 c0 0f 85 c7 04 00 00 8b 45 cc b9 01 00 00 00 f0 41 0f b1 0e <0f> 85 db 03 00 00 65 8b 1d 67 3a a4 7e 43 8a 44 25 00 84 c0 0f 85 RSP: 0018:ffffc90001b0fa70 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff92000361f56 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90001b0fab4 RBP: ffffc90001b0fae8 R08: dffffc0000000000 R09: fffff52000361f57 R10: fffff52000361f57 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff92003229a0a R14: ffffc9001914d048 R15: ffffc90001b0fab4 FS: 00007fa6402c9700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c010398000 CR3: 0000000209418000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x40/0x50 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:343 [inline] htable_selective_cleanup net/netfilter/xt_hashlimit.c:382 [inline] htable_destroy net/netfilter/xt_hashlimit.c:422 [inline] htable_put+0x2b8/0x620 net/netfilter/xt_hashlimit.c:449 hashlimit_mt_destroy_v2+0x5b/0x70 net/netfilter/xt_hashlimit.c:971 cleanup_match net/ipv6/netfilter/ip6_tables.c:478 [inline] cleanup_entry+0x162/0x3c0 net/ipv6/netfilter/ip6_tables.c:662 do_replace net/ipv6/netfilter/ip6_tables.c:1165 [inline] do_ip6t_set_ctl+0x3cc/0x550 net/ipv6/netfilter/ip6_tables.c:1681 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x27a/0x2a0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x9e/0x170 net/ipv6/ipv6_sockglue.c:949 tcp_setsockopt+0xbe/0xd0 net/ipv4/tcp.c:3158 sock_common_setsockopt+0x99/0xb0 net/core/sock.c:3149 __sys_setsockopt+0x582/0x720 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2133 [inline] __se_sys_setsockopt net/socket.c:2130 [inline] __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2130 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa6402c8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fa6402c96d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000488 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d7 R14: 00000000004d3f88 R15: 000000000075bf2c