INFO: task syz-executor879:7614 blocked for more than 140 seconds. Not tainted 4.14.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor879 D27952 7614 7323 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 hashlimit_mt_check+0x9a/0xc0 net/netfilter/xt_hashlimit.c:956 xt_check_match+0x254/0x530 net/netfilter/x_tables.c:501 check_match net/ipv4/netfilter/ip_tables.c:485 [inline] find_check_match net/ipv4/netfilter/ip_tables.c:501 [inline] find_check_entry.isra.0+0x2f9/0x920 net/ipv4/netfilter/ip_tables.c:551 translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737 do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline] do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline] ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:2820 [inline] tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2814 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x13c/0x210 net/socket.c:1844 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441269 RSP: 002b:00007ffc42e7e808 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000000d9a3a R08: 0000000000000400 R09: 00000000004002c8 R10: 0000000020000600 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor879:7615 blocked for more than 140 seconds. Not tainted 4.14.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor879 D28528 7615 7326 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 hashlimit_mt_check+0x9a/0xc0 net/netfilter/xt_hashlimit.c:956 xt_check_match+0x254/0x530 net/netfilter/x_tables.c:501 check_match net/ipv4/netfilter/ip_tables.c:485 [inline] find_check_match net/ipv4/netfilter/ip_tables.c:501 [inline] find_check_entry.isra.0+0x2f9/0x920 net/ipv4/netfilter/ip_tables.c:551 translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737 do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline] do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline] ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:2820 [inline] tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2814 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x13c/0x210 net/socket.c:1844 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441269 RSP: 002b:00007ffc42e7e808 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000000d9a2c R08: 0000000000000400 R09: 00000000004002c8 R10: 0000000020000600 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor879:7616 blocked for more than 140 seconds. Not tainted 4.14.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor879 D28528 7616 7324 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 hashlimit_mt_check+0x9a/0xc0 net/netfilter/xt_hashlimit.c:956 xt_check_match+0x254/0x530 net/netfilter/x_tables.c:501 check_match net/ipv4/netfilter/ip_tables.c:485 [inline] find_check_match net/ipv4/netfilter/ip_tables.c:501 [inline] find_check_entry.isra.0+0x2f9/0x920 net/ipv4/netfilter/ip_tables.c:551 translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737 do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline] do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline] ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:2820 [inline] tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2814 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x13c/0x210 net/socket.c:1844 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441269 RSP: 002b:00007ffc42e7e808 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000000d9a38 R08: 0000000000000400 R09: 00000000004002c8 R10: 0000000020000600 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor879:7617 blocked for more than 140 seconds. Not tainted 4.14.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor879 D28528 7617 7325 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 hashlimit_mt_check+0x9a/0xc0 net/netfilter/xt_hashlimit.c:956 xt_check_match+0x254/0x530 net/netfilter/x_tables.c:501 check_match net/ipv4/netfilter/ip_tables.c:485 [inline] find_check_match net/ipv4/netfilter/ip_tables.c:501 [inline] find_check_entry.isra.0+0x2f9/0x920 net/ipv4/netfilter/ip_tables.c:551 translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737 do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline] do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline] ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:2820 [inline] tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2814 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x13c/0x210 net/socket.c:1844 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441269 RSP: 002b:00007ffc42e7e808 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000000d9a38 R08: 0000000000000400 R09: 00000000004002c8 R10: 0000000020000600 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor879:7618 blocked for more than 140 seconds. Not tainted 4.14.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor879 D28528 7618 7327 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 hashlimit_mt_check+0x9a/0xc0 net/netfilter/xt_hashlimit.c:956 xt_check_match+0x254/0x530 net/netfilter/x_tables.c:501 check_match net/ipv4/netfilter/ip_tables.c:485 [inline] find_check_match net/ipv4/netfilter/ip_tables.c:501 [inline] find_check_entry.isra.0+0x2f9/0x920 net/ipv4/netfilter/ip_tables.c:551 translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737 do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline] do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline] ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:2820 [inline] tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2814 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x13c/0x210 net/socket.c:1844 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441269 RSP: 002b:00007ffc42e7e808 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000000d9a32 R08: 0000000000000400 R09: 00000000004002c8 R10: 0000000020000600 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1057: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4544 2 locks held by getty/7297: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7298: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7299: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7300: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7301: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7302: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7303: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 1 lock held by syz-executor879/7614: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 1 lock held by syz-executor879/7615: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 1 lock held by syz-executor879/7616: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 1 lock held by syz-executor879/7617: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 1 lock held by syz-executor879/7618: #0: (hashlimit_mutex){+.+.}, at: [] hashlimit_mt_check_common.isra.0+0x2b8/0x11b0 net/netfilter/xt_hashlimit.c:896 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1057 Comm: khungtaskd Not tainted 4.14.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x142/0x197 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x94 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x141/0x189 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:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x5e7/0xb90 kernel/hung_task.c:274 kthread+0x319/0x430 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7610 Comm: syz-executor879 Not tainted 4.14.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888096d2e140 task.stack: ffff88807fb38000 RIP: 0010:match_held_lock+0x92/0x5f0 kernel/locking/lockdep.c:3558 RSP: 0018:ffff88807fb3f748 EFLAGS: 00000806 RAX: ffff888096d2e9e2 RBX: ffff888096d2e9c0 RCX: ffff888096d2e9c0 RDX: 0000000000000000 RSI: ffffffff87f84ea0 RDI: ffff888096d2e9e2 RBP: ffff88807fb3f7c0 R08: 0000000000000001 R09: ffff888096d2e9e0 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff87f84ea0 R13: 1ffff1100ff67eeb R14: ffffffff87f84ea0 R15: ffff88807fb3f798 FS: 0000000001813880(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006cd080 CR3: 0000000092618000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held+0xb6/0x140 kernel/locking/lockdep.c:3814 lock_is_held_type+0x110/0x210 kernel/locking/lockdep.c:4032 lock_is_held include/linux/lockdep.h:437 [inline] ___might_sleep+0x1f4/0x2b0 kernel/sched/core.c:6006 htable_selective_cleanup+0x217/0x300 net/netfilter/xt_hashlimit.c:382 htable_destroy net/netfilter/xt_hashlimit.c:416 [inline] htable_put+0x164/0x210 net/netfilter/xt_hashlimit.c:443 hashlimit_mt_destroy+0x56/0x70 net/netfilter/xt_hashlimit.c:978 cleanup_match+0xc2/0x140 net/ipv6/netfilter/ip6_tables.c:491 find_check_entry.isra.0+0x3fe/0x920 net/ipv4/netfilter/ip_tables.c:577 translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737 do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline] do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline] ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240 tcp_setsockopt net/ipv4/tcp.c:2820 [inline] tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2814 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x13c/0x210 net/socket.c:1844 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441269 RSP: 002b:00007ffc42e7e808 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441269 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 00000000000d9a23 R08: 0000000000000400 R09: 00000000004002c8 R10: 0000000020000600 R11: 0000000000000246 R12: 0000000000401fe0 R13: 0000000000402070 R14: 0000000000000000 R15: 0000000000000000 Code: 85 8e 04 00 00 4c 39 73 10 0f 84 71 02 00 00 48 8d 7b 22 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 <83> e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 6a 03 00 00 66 f7 43