INFO: task syz-executor094:9634 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-executor094 D28160 9634 9633 0x00004004 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_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:932 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 do_replace net/ipv4/netfilter/ip_tables.c:1136 [inline] do_ipt_set_ctl+0x2fe/0x4c2 net/ipv4/netfilter/ip_tables.c:1672 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x77/0xd0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1260 [inline] ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:3158 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3152 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3149 __sys_setsockopt+0x261/0x4c0 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2133 [inline] __se_sys_setsockopt net/socket.c:2130 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:2130 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x441269 Code: 66 69 67 20 69 73 20 6e 6f 74 20 63 6c 65 61 6e 2e 0a 43 68 65 63 6b 20 65 72 72 6f 72 20 6c 6f 67 20 66 6f 72 20 64 65 74 61 <69> 6c 73 2c 20 66 69 78 20 65 72 72 6f 72 73 20 61 6e 64 20 72 65 RSP: 002b:00007fff8e699e88 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000509 R09: 00000000004002c8 R10: 00000000200002c0 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor094:9637 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-executor094 D27384 9637 9628 0x00004004 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_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:932 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 do_replace net/ipv4/netfilter/ip_tables.c:1136 [inline] do_ipt_set_ctl+0x2fe/0x4c2 net/ipv4/netfilter/ip_tables.c:1672 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x77/0xd0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1260 [inline] ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:3158 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3152 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3149 __sys_setsockopt+0x261/0x4c0 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2133 [inline] __se_sys_setsockopt net/socket.c:2130 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:2130 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x441269 Code: 66 69 67 20 69 73 20 6e 6f 74 20 63 6c 65 61 6e 2e 0a 43 68 65 63 6b 20 65 72 72 6f 72 20 6c 6f 67 20 66 6f 72 20 64 65 74 61 <69> 6c 73 2c 20 66 69 78 20 65 72 72 6f 72 73 20 61 6e 64 20 72 65 RSP: 002b:00007fff8e699e88 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000509 R09: 00000000004002c8 R10: 00000000200002c0 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor094:9638 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-executor094 D27784 9638 9631 0x00000004 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_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:932 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 do_replace net/ipv4/netfilter/ip_tables.c:1136 [inline] do_ipt_set_ctl+0x2fe/0x4c2 net/ipv4/netfilter/ip_tables.c:1672 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x77/0xd0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1260 [inline] ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:3158 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3152 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3149 __sys_setsockopt+0x261/0x4c0 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2133 [inline] __se_sys_setsockopt net/socket.c:2130 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:2130 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x441269 Code: 66 69 67 20 69 73 20 6e 6f 74 20 63 6c 65 61 6e 2e 0a 43 68 65 63 6b 20 65 72 72 6f 72 20 6c 6f 67 20 66 6f 72 20 64 65 74 61 <69> 6c 73 2c 20 66 69 78 20 65 72 72 6f 72 73 20 61 6e 64 20 72 65 RSP: 002b:00007fff8e699e88 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000509 R09: 00000000004002c8 R10: 00000000200002c0 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1119: #0: ffffffff899a3f00 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x279 kernel/locking/lockdep.c:5334 3 locks held by rs:main Q:Reg/9510: #0: ffff8880ae837358 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1215 [inline] #0: ffff8880ae837358 (&rq->lock){-.-.}, at: __schedule+0x232/0x1f90 kernel/sched/core.c:4029 #1: ffffffff899a3f00 (rcu_read_lock){....}, at: file_start_write include/linux/fs.h:2885 [inline] #1: ffffffff899a3f00 (rcu_read_lock){....}, at: vfs_write+0x485/0x5d0 fs/read_write.c:557 #2: ffff88808c550508 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:791 [inline] #2: ffff88808c550508 (&sb->s_type->i_mutex_key#11){+.+.}, at: ext4_buffered_write_iter+0xba/0x460 fs/ext4/file.c:246 1 lock held by rsyslogd/9512: #0: ffff888093d40660 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/9602: #0: ffff8880a9558090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900017732e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9603: #0: ffff8880976e1090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900017eb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9604: #0: ffff88809f2ef090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900017db2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9605: #0: ffff888095a24090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc9000179b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9606: #0: ffff8880a25db090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900017fb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9607: #0: ffff88809568b090 (&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/9608: #0: ffff888098872090 (&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 1 lock held by syz-executor094/9629: 1 lock held by syz-executor094/9634: #0: ffffffff8a54fea0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:903 1 lock held by syz-executor094/9636: #0: ffffffff8a54fea0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:903 1 lock held by syz-executor094/9637: #0: ffffffff8a54fea0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:903 1 lock held by syz-executor094/9638: #0: ffffffff8a54fea0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:903 1 lock held by syz-executor094/9639: #0: ffffffff8a54fea0 (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: 1119 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: 9629 Comm: syz-executor094 Not tainted 5.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_release kernel/locking/lockdep.c:4226 [inline] RIP: 0010:lock_release+0x214/0x960 kernel/locking/lockdep.c:4503 Code: 36 06 00 00 8b 35 c0 ad 20 09 85 f6 0f 84 47 02 00 00 4d 8d 8f 90 08 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ca 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 22 06 00 00 45 8b 87 90 08 00 RSP: 0018:ffffc900020776a8 EFLAGS: 00000806 RAX: dffffc0000000000 RBX: 1ffff9200040eeda RCX: 1ffffffff14f6fc6 RDX: 1ffff11014da29ca RSI: 0000000000000001 RDI: ffff8880a6d14e54 RBP: ffffc90002077778 R08: 1ffffffff14f6988 R09: ffff8880a6d14e50 R10: fffffbfff14f6988 R11: ffffffff8a7b4c47 R12: ffffc9000d0d9060 R13: ffffffff8671f999 R14: ffffc90002077750 R15: ffff8880a6d145c0 FS: 0000000001cd8880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200002c0 CR3: 00000000a25fa000 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] htable_selective_cleanup+0x219/0x330 net/netfilter/xt_hashlimit.c:387 htable_destroy net/netfilter/xt_hashlimit.c:422 [inline] htable_put+0x176/0x220 net/netfilter/xt_hashlimit.c:449 hashlimit_mt_destroy_v1+0x50/0x70 net/netfilter/xt_hashlimit.c:978 cleanup_match+0xde/0x170 net/ipv6/netfilter/ip6_tables.c:478 find_check_entry.isra.0+0x454/0x920 net/ipv4/netfilter/ip_tables.c:564 translate_table+0xcb4/0x17d0 net/ipv4/netfilter/ip_tables.c:717 do_replace net/ipv4/netfilter/ip_tables.c:1136 [inline] do_ipt_set_ctl+0x2fe/0x4c2 net/ipv4/netfilter/ip_tables.c:1672 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x77/0xd0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1260 [inline] ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:3158 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3152 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3149 __sys_setsockopt+0x261/0x4c0 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2133 [inline] __se_sys_setsockopt net/socket.c:2130 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:2130 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x441269 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:00007fff8e699e88 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000006cc018 R08: 0000000000000509 R09: 00000000004002c8 R10: 00000000200002c0 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000