x_tables: duplicate underflow at hook 1 x_tables: ip6_tables: TCPMSS target: only valid for protocol 6 x_tables: ip6_tables: TCPMSS target: only valid for protocol 6 INFO: task syz-executor.0:30231 blocked for more than 140 seconds. Not tainted 4.19.93-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28152 30231 8026 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3515 schedule+0x92/0x1c0 kernel/sched/core.c:3559 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3617 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x726/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 htable_put+0x21/0x220 net/netfilter/xt_hashlimit.c:440 hashlimit_mt_destroy_v1+0x50/0x70 net/netfilter/xt_hashlimit.c:972 cleanup_match+0xde/0x170 net/ipv6/netfilter/ip6_tables.c:481 find_check_entry.isra.0+0x4da/0x9d0 net/ipv6/netfilter/ip6_tables.c:585 translate_table+0xd15/0x1860 net/ipv6/netfilter/ip6_tables.c:737 do_replace net/ipv6/netfilter/ip6_tables.c:1156 [inline] do_ip6t_set_ctl+0x2ef/0x498 net/ipv6/netfilter/ip6_tables.c:1684 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x77/0xd0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt net/ipv6/ipv6_sockglue.c:938 [inline] ipv6_setsockopt+0x13e/0x170 net/ipv6/ipv6_sockglue.c:922 tcp_setsockopt net/ipv4/tcp.c:3077 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3071 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3046 __sys_setsockopt+0x17a/0x280 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1909 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45af49 Code: Bad RIP value. RSP: 002b:00007f1cd96f2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045af49 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000368 R09: 0000000000000000 R10: 0000000020000dc0 R11: 0000000000000246 R12: 00007f1cd96f36d4 R13: 00000000004d3480 R14: 00000000004e42d8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1082: #0: 00000000922d150b (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4438 1 lock held by rsyslogd/7862: #0: 0000000000159348 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 2 locks held by getty/7984: #0: 0000000019ffdbf2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000006449f596 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7985: #0: 00000000c54e3ee1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000a8049d8c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7986: #0: 00000000c20ba22a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000008e51e9f7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7987: #0: 000000006f4ec089 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000056e608b4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7988: #0: 0000000013c3ab92 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000023fecadb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7989: #0: 000000002ea92889 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000008605089 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7990: #0: 0000000075910e1e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000007eac9f7e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.5/30073: 1 lock held by syz-executor.0/30231: #0: 0000000065f24922 (hashlimit_mutex){+.+.}, at: htable_put+0x21/0x220 net/netfilter/xt_hashlimit.c:440 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1082 Comm: khungtaskd Not tainted 4.19.93-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+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 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:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 30073 Comm: syz-executor.5 Not tainted 4.19.93-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:trace_softirqs_off+0x0/0x360 kernel/locking/lockdep.c:2959 Code: fd ff ff 48 c7 c7 c0 5b f2 88 e8 5b 4e 50 00 e9 ec fe ff ff 48 c7 c7 00 4c dc 8a e8 2a 4e 50 00 e9 30 ff ff ff 0f 1f 44 00 00 <48> c7 c0 00 97 3c 89 55 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 RSP: 0018:ffff888064c97798 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 0000000000000201 RCX: ffffc90012d06000 RDX: 0000000080000000 RSI: 0000000000000201 RDI: ffffffff860ac546 RBP: ffff888064c977b8 R08: ffff88808c302300 R09: ffff88808c302ba0 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff860ac546 R13: 0000000000000282 R14: ffffc9001685f000 R15: 000000000ad2ddc8 FS: 00007fdc44edf700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000012774000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:134 [inline] _raw_spin_lock_bh+0x17/0x50 kernel/locking/spinlock.c:168 spin_lock_bh include/linux/spinlock.h:334 [inline] htable_selective_cleanup+0xa6/0x330 net/netfilter/xt_hashlimit.c:376 htable_destroy net/netfilter/xt_hashlimit.c:416 [inline] htable_put+0x176/0x220 net/netfilter/xt_hashlimit.c:443 hashlimit_mt_destroy_v1+0x50/0x70 net/netfilter/xt_hashlimit.c:972 cleanup_match+0xde/0x170 net/ipv6/netfilter/ip6_tables.c:481 find_check_entry.isra.0+0x4da/0x9d0 net/ipv6/netfilter/ip6_tables.c:585 translate_table+0xd15/0x1860 net/ipv6/netfilter/ip6_tables.c:737 do_replace net/ipv6/netfilter/ip6_tables.c:1156 [inline] do_ip6t_set_ctl+0x2ef/0x498 net/ipv6/netfilter/ip6_tables.c:1684 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x77/0xd0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt net/ipv6/ipv6_sockglue.c:938 [inline] ipv6_setsockopt+0x13e/0x170 net/ipv6/ipv6_sockglue.c:922 tcp_setsockopt net/ipv4/tcp.c:3077 [inline] tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3071 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3046 __sys_setsockopt+0x17a/0x280 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1909 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45af49 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:00007fdc44edec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045af49 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000368 R09: 0000000000000000 R10: 0000000020000dc0 R11: 0000000000000246 R12: 00007fdc44edf6d4 R13: 00000000004d3480 R14: 00000000004e42d8 R15: 00000000ffffffff