INFO: task syz-executor.1:8961 blocked for more than 143 seconds. Not tainted 5.5.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28856 8961 8924 0x00004004 Call Trace: context_switch kernel/sched/core.c:3386 [inline] __schedule+0x87f/0xcd0 kernel/sched/core.c:4082 schedule+0x188/0x210 kernel/sched/core.c:4156 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4215 __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/0x10a0 net/netfilter/xt_hashlimit.c:889 hashlimit_mt_check_v1+0x26e/0x450 net/netfilter/xt_hashlimit.c:918 xt_check_match+0x6e0/0xb60 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 net/ipv4/netfilter/ip_tables.c:538 [inline] translate_table+0x151c/0x2230 net/ipv4/netfilter/ip_tables.c:717 do_replace net/ipv4/netfilter/ip_tables.c:1136 [inline] do_ipt_set_ctl+0x2c3/0x550 net/ipv4/netfilter/ip_tables.c:1672 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x27a/0x2a0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0xd8/0xf0 net/ipv4/ip_sockglue.c:1260 tcp_setsockopt+0xbe/0xd0 net/ipv4/tcp.c:3159 sock_common_setsockopt+0x99/0xb0 net/core/sock.c:3149 __sys_setsockopt+0x582/0x720 net/socket.c:2130 __do_sys_setsockopt net/socket.c:2146 [inline] __se_sys_setsockopt net/socket.c:2143 [inline] __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2143 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:00007fce71695c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fce716966d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000318 R09: 0000000000000000 R10: 0000000020000540 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000a02 R14: 00000000004cb5e1 R15: 000000000075bf2c INFO: task syz-executor.0:8962 blocked for more than 143 seconds. Not tainted 5.5.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28856 8962 8916 0x00004004 Call Trace: context_switch kernel/sched/core.c:3386 [inline] __schedule+0x87f/0xcd0 kernel/sched/core.c:4082 schedule+0x188/0x210 kernel/sched/core.c:4156 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4215 __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/0x10a0 net/netfilter/xt_hashlimit.c:889 hashlimit_mt_check_v1+0x26e/0x450 net/netfilter/xt_hashlimit.c:918 xt_check_match+0x6e0/0xb60 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 net/ipv4/netfilter/ip_tables.c:538 [inline] translate_table+0x151c/0x2230 net/ipv4/netfilter/ip_tables.c:717 do_replace net/ipv4/netfilter/ip_tables.c:1136 [inline] do_ipt_set_ctl+0x2c3/0x550 net/ipv4/netfilter/ip_tables.c:1672 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x27a/0x2a0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0xd8/0xf0 net/ipv4/ip_sockglue.c:1260 tcp_setsockopt+0xbe/0xd0 net/ipv4/tcp.c:3159 sock_common_setsockopt+0x99/0xb0 net/core/sock.c:3149 __sys_setsockopt+0x582/0x720 net/socket.c:2130 __do_sys_setsockopt net/socket.c:2146 [inline] __se_sys_setsockopt net/socket.c:2143 [inline] __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2143 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:00007fc2a031bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fc2a031c6d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000318 R09: 0000000000000000 R10: 0000000020000540 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000a02 R14: 00000000004cb5e1 R15: 000000000075bf2c Showing all locks held in the system: 2 locks held by kworker/0:1/12: 1 lock held by khungtaskd/1087: #0: ffffffff892d9d08 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 5 locks held by kworker/1:2/2666: 1 lock held by rsyslogd/8704: #0: ffff8880938e83e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 2 locks held by getty/8794: #0: ffff888091825090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900019db2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8795: #0: ffff888090503090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc90001a1b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8796: #0: ffff8880a3bc7090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000198b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8797: #0: ffff888093f5e090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900019eb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8798: #0: ffff888096aa2090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900019bb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8799: #0: ffff88808de8b090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc90001a0b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8800: #0: ffff8880a1d0b090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000195b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.4/8949: #0: ffffffff895a2ca0 (hashlimit_mutex){+.+.}, at: refcount_dec_and_mutex_lock+0x33/0x110 lib/refcount.c:118 1 lock held by syz-executor.2/8952: #0: ffffffff895a2ca0 (hashlimit_mutex){+.+.}, at: refcount_dec_and_mutex_lock+0x33/0x110 lib/refcount.c:118 2 locks held by syz-executor.5/8955: #0: ffffffff895a2ca0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common+0x4da/0x10a0 net/netfilter/xt_hashlimit.c:889 #1: ffffffff89307d70 (pcpu_drain_mutex){+.+.}, at: drain_all_pages+0x56/0x700 mm/page_alloc.c:2902 1 lock held by syz-executor.1/8961: #0: ffffffff895a2ca0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common+0x4da/0x10a0 net/netfilter/xt_hashlimit.c:889 1 lock held by syz-executor.0/8962: #0: ffffffff895a2ca0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common+0x4da/0x10a0 net/netfilter/xt_hashlimit.c:889 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1087 Comm: khungtaskd Not tainted 5.5.0-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: 2666 Comm: kworker/1:2 Not tainted 5.5.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_power_efficient htable_gc RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:747 [inline] RIP: 0010:trace_softirqs_on+0xc9/0x540 kernel/locking/lockdep.c:3482 Code: 10 00 74 16 48 c7 c7 48 d2 2a 89 e8 41 7f 58 00 48 ba 00 00 00 00 00 fc ff df 48 83 3d 87 4b cf 07 00 0f 84 70 04 00 00 9c 58 <0f> 1f 44 00 00 a9 00 02 00 00 0f 85 cb 01 00 00 4d 8d b4 24 80 08 RSP: 0018:ffffc90007b6fb98 EFLAGS: 00000086 RAX: 0000000000000086 RBX: ffff8880a07b6c54 RCX: ffff8880a07b63c0 RDX: dffffc0000000000 RSI: ffffffff8801ea3f RDI: ffffffff86a7406e RBP: ffffc90007b6fbd0 R08: ffffffff817ca416 R09: fffff52019aa2e0a R10: fffff52019aa2e0a R11: 0000000000000000 R12: ffff8880a07b63c0 R13: ffff8880a07b6c54 R14: ffffffff86a7406e R15: ffffffff86a7406e FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efc3e18b330 CR3: 0000000095cfe000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __local_bh_enable_ip+0xf9/0x240 kernel/softirq.c:177 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x2f/0x40 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:383 [inline] htable_selective_cleanup+0x27e/0x320 net/netfilter/xt_hashlimit.c:374 htable_gc+0x24/0xb0 net/netfilter/xt_hashlimit.c:385 process_one_work+0x7f5/0x10f0 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