INFO: task syz-executor.0:3038 blocked for more than 143 seconds. Not tainted 5.5.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D27512 3038 3000 0x20024004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x934/0x1f90 kernel/sched/core.c:4081 schedule+0xdc/0x2b0 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1103 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118 htable_put+0x21/0x220 net/netfilter/xt_hashlimit.c:446 hashlimit_mt_destroy+0x56/0x70 net/netfilter/xt_hashlimit.c:985 cleanup_match+0xde/0x170 net/ipv6/netfilter/ip6_tables.c:478 cleanup_entry+0xd7/0x270 net/ipv4/netfilter/ip_tables.c:645 translate_table+0xd86/0x17d0 net/ipv4/netfilter/ip_tables.c:728 translate_compat_table+0xb60/0x1820 net/ipv4/netfilter/ip_tables.c:1465 compat_do_replace.isra.0+0x1b7/0x3c0 net/ipv6/netfilter/ip6_tables.c:1528 compat_do_ipt_set_ctl+0x128/0x170 net/ipv4/netfilter/ip_tables.c:1548 compat_nf_sockopt net/netfilter/nf_sockopt.c:144 [inline] compat_nf_setsockopt+0x98/0x140 net/netfilter/nf_sockopt.c:156 compat_ip_setsockopt net/ipv4/ip_sockglue.c:1286 [inline] compat_ip_setsockopt+0x106/0x140 net/ipv4/ip_sockglue.c:1267 inet_csk_compat_setsockopt+0x97/0x120 net/ipv4/inet_connection_sock.c:1045 compat_tcp_setsockopt+0x4d/0x80 net/ipv4/tcp.c:3169 compat_sock_common_setsockopt+0xb2/0x140 net/core/sock.c:3160 __compat_sys_setsockopt+0x185/0x380 net/compat.c:384 __do_compat_sys_setsockopt net/compat.c:397 [inline] __se_compat_sys_setsockopt net/compat.c:394 [inline] __ia32_compat_sys_setsockopt+0xbd/0x150 net/compat.c:394 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x27b/0xe16 arch/x86/entry/common.c:408 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f24a39 Code: Bad RIP value. RSP: 002b:00000000f5d200cc EFLAGS: 00000296 ORIG_RAX: 000000000000016e RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000040 RSI: 0000000020000bc0 RDI: 00000000000003b0 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:3041 blocked for more than 143 seconds. Not tainted 5.5.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D26680 3041 2997 0x20024004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x934/0x1f90 kernel/sched/core.c:4081 schedule+0xdc/0x2b0 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1103 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118 htable_put+0x21/0x220 net/netfilter/xt_hashlimit.c:446 hashlimit_mt_destroy+0x56/0x70 net/netfilter/xt_hashlimit.c:985 cleanup_match+0xde/0x170 net/ipv6/netfilter/ip6_tables.c:478 cleanup_entry+0xd7/0x270 net/ipv4/netfilter/ip_tables.c:645 translate_table+0xd86/0x17d0 net/ipv4/netfilter/ip_tables.c:728 translate_compat_table+0xb60/0x1820 net/ipv4/netfilter/ip_tables.c:1465 compat_do_replace.isra.0+0x1b7/0x3c0 net/ipv6/netfilter/ip6_tables.c:1528 compat_do_ipt_set_ctl+0x128/0x170 net/ipv4/netfilter/ip_tables.c:1548 compat_nf_sockopt net/netfilter/nf_sockopt.c:144 [inline] compat_nf_setsockopt+0x98/0x140 net/netfilter/nf_sockopt.c:156 compat_ip_setsockopt net/ipv4/ip_sockglue.c:1286 [inline] compat_ip_setsockopt+0x106/0x140 net/ipv4/ip_sockglue.c:1267 inet_csk_compat_setsockopt+0x97/0x120 net/ipv4/inet_connection_sock.c:1045 compat_tcp_setsockopt+0x4d/0x80 net/ipv4/tcp.c:3169 compat_sock_common_setsockopt+0xb2/0x140 net/core/sock.c:3160 __compat_sys_setsockopt+0x185/0x380 net/compat.c:384 __do_compat_sys_setsockopt net/compat.c:397 [inline] __se_compat_sys_setsockopt net/compat.c:394 [inline] __ia32_compat_sys_setsockopt+0xbd/0x150 net/compat.c:394 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x27b/0xe16 arch/x86/entry/common.c:408 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f55a39 Code: Bad RIP value. RSP: 002b:00000000f5d510cc EFLAGS: 00000296 ORIG_RAX: 000000000000016e RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000040 RSI: 0000000020000bc0 RDI: 00000000000003b0 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:3046 blocked for more than 144 seconds. Not tainted 5.5.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28272 3046 2997 0x20024004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x934/0x1f90 kernel/sched/core.c:4081 schedule+0xdc/0x2b0 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1103 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118 hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:903 hashlimit_mt_check+0xa4/0xd0 net/netfilter/xt_hashlimit.c:963 xt_check_match+0x280/0x690 net/netfilter/x_tables.c:501 check_match net/ipv4/netfilter/ip_tables.c:472 [inline] find_check_match net/ipv4/netfilter/ip_tables.c:488 [inline] find_check_entry.isra.0+0x32f/0x920 net/ipv4/netfilter/ip_tables.c:538 translate_table+0xcb4/0x17d0 net/ipv4/netfilter/ip_tables.c:717 translate_compat_table+0xb60/0x1820 net/ipv4/netfilter/ip_tables.c:1465 compat_do_replace.isra.0+0x1b7/0x3c0 net/ipv6/netfilter/ip6_tables.c:1528 compat_do_ipt_set_ctl+0x128/0x170 net/ipv4/netfilter/ip_tables.c:1548 compat_nf_sockopt net/netfilter/nf_sockopt.c:144 [inline] compat_nf_setsockopt+0x98/0x140 net/netfilter/nf_sockopt.c:156 compat_ip_setsockopt net/ipv4/ip_sockglue.c:1286 [inline] compat_ip_setsockopt+0x106/0x140 net/ipv4/ip_sockglue.c:1267 inet_csk_compat_setsockopt+0x97/0x120 net/ipv4/inet_connection_sock.c:1045 compat_tcp_setsockopt+0x4d/0x80 net/ipv4/tcp.c:3169 compat_sock_common_setsockopt+0xb2/0x140 net/core/sock.c:3160 __compat_sys_setsockopt+0x185/0x380 net/compat.c:384 __do_compat_sys_setsockopt net/compat.c:397 [inline] __se_compat_sys_setsockopt net/compat.c:394 [inline] __ia32_compat_sys_setsockopt+0xbd/0x150 net/compat.c:394 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x27b/0xe16 arch/x86/entry/common.c:408 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f55a39 Code: Bad RIP value. RSP: 002b:00000000f5d0f0cc EFLAGS: 00000296 ORIG_RAX: 000000000000016e RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000040 RSI: 0000000020000bc0 RDI: 00000000000003b0 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 4 locks held by kworker/u4:6/422: #0: ffff88821b78e528 ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff88821b78e528 ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88821b78e528 ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff88821b78e528 ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff88821b78e528 ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff88821b78e528 ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff88821b78e528 ((wq_completion)netns){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2235 #1: ffffc90001b17dc0 (net_cleanup_work){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2239 #2: ffffffff8a4c9788 (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0xaf0 net/core/net_namespace.c:559 #3: ffffffff8a5535a0 (hashlimit_mutex){+.+.}, at: hashlimit_proc_net_exit net/netfilter/xt_hashlimit.c:1267 [inline] #3: ffffffff8a5535a0 (hashlimit_mutex){+.+.}, at: hashlimit_net_exit+0x16d/0x3d0 net/netfilter/xt_hashlimit.c:1290 1 lock held by khungtaskd/1115: #0: ffffffff899a5340 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x279 kernel/locking/lockdep.c:5334 1 lock held by rsyslogd/9215: #0: ffff88809f9ebb20 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/9305: #0: ffff88809a738090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc9000173b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9306: #0: ffff8880a82a6090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900017cb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9307: #0: ffff8880a7599090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900017ab2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9308: #0: ffff8880a79c7090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc9000174b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9309: #0: ffff88808e283090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900017bb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9310: #0: ffff8880a172c090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc9000178b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9311: #0: ffff8880977b0090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900017032e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.1/3037: 1 lock held by syz-executor.0/3038: #0: ffffffff8a5535a0 (hashlimit_mutex){+.+.}, at: htable_put+0x21/0x220 net/netfilter/xt_hashlimit.c:446 1 lock held by syz-executor.2/3041: #0: ffffffff8a5535a0 (hashlimit_mutex){+.+.}, at: htable_put+0x21/0x220 net/netfilter/xt_hashlimit.c:446 1 lock held by syz-executor.2/3046: #0: ffffffff8a5535a0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:903 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1115 Comm: khungtaskd Not tainted 5.5.0-rc5-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+0x197/0x210 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xb11/0x10c0 kernel/hung_task.c:289 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 94 Comm: kworker/u4:2 Not tainted 5.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline] RIP: 0010:lock_release+0x4c0/0x960 kernel/locking/lockdep.c:4506 Code: 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 8c 03 00 00 48 83 3d 47 30 38 08 00 0f 84 7f 01 00 00 48 8b bd 48 ff ff ff 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 RSP: 0018:ffffc90001187b18 EFLAGS: 00000282 RAX: 1ffffffff132669b RBX: 1ffff92000230f68 RCX: 1ffff110152feda1 RDX: dffffc0000000000 RSI: 1ffff110152fedad RDI: 0000000000000282 RBP: ffffc90001187be8 R08: 0000000000000003 R09: ffff8880a97f6d10 R10: fffffbfff14f70c0 R11: ffffffff8a7b8607 R12: ffff8880a97f6480 R13: ffffffff87b9e32a R14: ffffc90001187bc0 R15: ffff8880a97f6480 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000008f82a000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:174 [inline] _raw_spin_unlock_bh+0x16/0x30 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:383 [inline] batadv_purge_orig_ref+0xcaa/0x1360 net/batman-adv/originator.c:1366 batadv_purge_orig+0x1b/0x70 net/batman-adv/originator.c:1379 process_one_work+0x9af/0x1740 kernel/workqueue.c:2264 worker_thread+0x98/0xe40 kernel/workqueue.c:2410 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352