INFO: task syz-executor243:8900 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-executor243 D28424 8900 8899 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/0x1020 net/netfilter/xt_hashlimit.c:903 hashlimit_mt_check_v1+0x26e/0x450 net/netfilter/xt_hashlimit.c:932 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: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:0x441c39 Code: 73 75 70 70 6f 72 74 65 64 20 69 6e 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 20 6d 6f 64 65 73 20 30 20 74 6f 20 32 20 2d 20 <69> 67 6e 6f 72 65 64 0a 00 00 00 00 00 00 00 72 73 79 73 6c 6f 67 RSP: 002b:00007ffecea54348 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441c39 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000318 R09: 00000000004002c8 R10: 0000000020000540 R11: 0000000000000246 R12: 00000000004029b0 R13: 0000000000402a40 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor243:8902 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-executor243 D28424 8902 8898 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/0x1020 net/netfilter/xt_hashlimit.c:903 hashlimit_mt_check_v1+0x26e/0x450 net/netfilter/xt_hashlimit.c:932 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: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:0x441c39 Code: 73 75 70 70 6f 72 74 65 64 20 69 6e 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 20 6d 6f 64 65 73 20 30 20 74 6f 20 32 20 2d 20 <69> 67 6e 6f 72 65 64 0a 00 00 00 00 00 00 00 72 73 79 73 6c 6f 67 RSP: 002b:00007ffecea54348 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441c39 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000318 R09: 00000000004002c8 R10: 0000000020000540 R11: 0000000000000246 R12: 00000000004029b0 R13: 0000000000402a40 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor243:8903 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-executor243 D28328 8903 8894 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/0x1020 net/netfilter/xt_hashlimit.c:903 hashlimit_mt_check_v1+0x26e/0x450 net/netfilter/xt_hashlimit.c:932 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: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:0x441c39 Code: 73 75 70 70 6f 72 74 65 64 20 69 6e 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 20 6d 6f 64 65 73 20 30 20 74 6f 20 32 20 2d 20 <69> 67 6e 6f 72 65 64 0a 00 00 00 00 00 00 00 72 73 79 73 6c 6f 67 RSP: 002b:00007ffecea54348 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441c39 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000318 R09: 00000000004002c8 R10: 0000000020000540 R11: 0000000000000246 R12: 00000000004029b0 R13: 0000000000402a40 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1129: #0: ffffffff890d9bc8 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 1 lock held by rsyslogd/8778: #0: ffff8880a20845e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 2 locks held by getty/8868: #0: ffff88809f4da090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000185b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8869: #0: ffff888096dde090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000186b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8870: #0: ffff8880a9e9c090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000188b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8871: #0: ffff8880945ba090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000183b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8872: #0: ffff88809f269090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000182b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8873: #0: ffff88809f5f0090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc9000187b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 2 locks held by getty/8874: #0: ffff8880a496d090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc900017cb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x22f/0x1bc0 drivers/tty/n_tty.c:2156 1 lock held by syz-executor243/8900: #0: ffffffff893a3830 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common+0x4da/0x1020 net/netfilter/xt_hashlimit.c:903 2 locks held by syz-executor243/8901: 1 lock held by syz-executor243/8902: #0: ffffffff893a3830 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common+0x4da/0x1020 net/netfilter/xt_hashlimit.c:903 1 lock held by syz-executor243/8903: #0: ffffffff893a3830 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common+0x4da/0x1020 net/netfilter/xt_hashlimit.c:903 1 lock held by syz-executor243/8904: #0: ffffffff893a3830 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common+0x4da/0x1020 net/netfilter/xt_hashlimit.c:903 1 lock held by syz-executor243/8905: #0: ffffffff893a3830 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common+0x4da/0x1020 net/netfilter/xt_hashlimit.c:903 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1129 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: 8901 Comm: syz-executor243 Not tainted 5.5.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:htable_selective_cleanup net/netfilter/xt_hashlimit.c:383 [inline] RIP: 0010:htable_destroy net/netfilter/xt_hashlimit.c:422 [inline] RIP: 0010:htable_put+0x2bc/0x620 net/netfilter/xt_hashlimit.c:449 Code: 8d 83 84 00 00 00 48 89 45 d0 31 c0 48 89 45 c0 4c 89 7d a0 4c 89 6d a8 66 0f 1f 44 00 00 4c 89 ef e8 78 65 59 01 48 8b 45 c0 <4c> 8d b4 c3 38 01 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 RSP: 0018:ffffc90002217a40 EFLAGS: 00000286 RAX: 0000000002e9e8eb RBX: ffffc9000db19000 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc900022179dc RBP: ffffc90002217ab0 R08: dffffc0000000000 R09: fffff52000442f3c R10: fffff52000442f3c R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc9000db19048 R14: 0000000000000000 R15: ffffc9000db1902c FS: 0000000000f36880(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000540 CR3: 00000000a9e89000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hashlimit_mt_destroy_v1+0x58/0x60 net/netfilter/xt_hashlimit.c:978 cleanup_match net/ipv4/netfilter/ip_tables.c:460 [inline] find_check_entry net/ipv4/netfilter/ip_tables.c:564 [inline] translate_table+0x1b2b/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: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:0x441c39 Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffecea54348 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441c39 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000318 R09: 00000000004002c8 R10: 0000000020000540 R11: 0000000000000246 R12: 00000000004029b0 R13: 0000000000402a40 R14: 0000000000000000 R15: 0000000000000000