INFO: task syz-executor.2:9937 blocked for more than 143 seconds. Not tainted 5.5.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28672 9937 9902 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/0x1550 net/netfilter/xt_hashlimit.c:910 hashlimit_mt_check_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:939 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:3157 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3151 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:0x45b349 Code: Bad RIP value. RSP: 002b:00007fc6fe527c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fc6fe5286d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000509 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d9 R14: 00000000004cb40c R15: 000000000075bf2c INFO: task syz-executor.4:9940 blocked for more than 143 seconds. Not tainted 5.5.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28672 9940 9910 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/0x1550 net/netfilter/xt_hashlimit.c:910 hashlimit_mt_check_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:939 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:3157 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3151 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:0x45b349 Code: Bad RIP value. RSP: 002b:00007f41c1423c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f41c14246d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000509 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d9 R14: 00000000004cb40c R15: 000000000075bf2c INFO: task syz-executor.0:9945 blocked for more than 144 seconds. Not tainted 5.5.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28672 9945 9909 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/0x1550 net/netfilter/xt_hashlimit.c:910 hashlimit_mt_check_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:939 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:3157 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3151 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:0x45b349 Code: Bad RIP value. RSP: 002b:00007fd8ddc67c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fd8ddc686d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000509 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d9 R14: 00000000004cb40c R15: 000000000075bf2c INFO: task syz-executor.5:9949 blocked for more than 145 seconds. Not tainted 5.5.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28672 9949 9905 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/0x1550 net/netfilter/xt_hashlimit.c:910 hashlimit_mt_check_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:939 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:3157 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3151 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:0x45b349 Code: Bad RIP value. RSP: 002b:00007fef16ca9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fef16caa6d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000509 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d9 R14: 00000000004cb40c R15: 000000000075bf2c Showing all locks held in the system: 1 lock held by khungtaskd/1127: #0: ffffffff899a3dc0 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x279 kernel/locking/lockdep.c:5333 2 locks held by kworker/0:10/3644: 1 lock held by rsyslogd/9688: #0: ffff8880a8ce33e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/9778: #0: ffff8880a7198090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc9000177b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9779: #0: ffff88808e0eb090 (&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/9780: #0: ffff888090bdb090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900016db2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9781: #0: ffff8880a2d1a090 (&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/9782: #0: ffff888096eff090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc9000170b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9783: #0: ffff888090c71090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc9000175b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 2 locks held by getty/9784: #0: ffff8880990b2090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900016bb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.1/9931: #0: ffffffff8a5500e0 (hashlimit_mutex){+.+.}, at: htable_put+0x21/0x230 net/netfilter/xt_hashlimit.c:453 2 locks held by syz-executor.3/9934: #0: ffffffff8a5500e0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1550 net/netfilter/xt_hashlimit.c:910 #1: ffffffff89a40700 (pcpu_drain_mutex){+.+.}, at: drain_all_pages+0x4d/0x5d0 mm/page_alloc.c:2902 1 lock held by syz-executor.2/9937: #0: ffffffff8a5500e0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1550 net/netfilter/xt_hashlimit.c:910 1 lock held by syz-executor.4/9940: #0: ffffffff8a5500e0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1550 net/netfilter/xt_hashlimit.c:910 1 lock held by syz-executor.0/9945: #0: ffffffff8a5500e0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1550 net/netfilter/xt_hashlimit.c:910 1 lock held by syz-executor.5/9949: #0: ffffffff8a5500e0 (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1550 net/netfilter/xt_hashlimit.c:910 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1127 Comm: khungtaskd Not tainted 5.5.0-rc6-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: 3644 Comm: kworker/0:10 Not tainted 5.5.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_power_efficient htable_gc RIP: 0010:mark_usage kernel/locking/lockdep.c:3582 [inline] RIP: 0010:__lock_acquire+0x137f/0x4a00 kernel/locking/lockdep.c:3908 Code: 00 00 4c 89 d6 4c 89 df 4c 89 95 40 ff ff ff 4c 89 9d 48 ff ff ff e8 80 d9 ff ff 85 c0 0f 84 87 fe ff ff 4c 8b 9d 48 ff ff ff <48> b8 00 00 00 00 00 fc ff df 4c 8b 95 40 ff ff ff 49 8d bb 80 08 RSP: 0018:ffffc9000c9f7ad0 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000002 RDX: 1ffffffff166b628 RSI: 0000000000000008 RDI: ffffffff8b35b140 RBP: ffffc9000c9f7be8 R08: 1ffffffff165e7c1 R09: fffffbfff165e7c2 R10: fffffbfff165e7c1 R11: ffff88809af52140 R12: 000000000000095d R13: ffff88809af52a4a R14: 0000000000000000 R15: 000000000004095d FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000000962e4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x190/0x410 kernel/locking/lockdep.c:4484 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x33/0x50 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:343 [inline] htable_selective_cleanup+0xb0/0x360 net/netfilter/xt_hashlimit.c:384 htable_gc+0x64/0x100 net/netfilter/xt_hashlimit.c:405 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