syzbot


INFO: task hung in hashlimit_mt_check_common

Status: fixed on 2020/03/16 09:27
Reported-by: syzbot+2c26fc89e7dc01a68194@syzkaller.appspotmail.com
Fix commit: acbc5071f073 netfilter: xt_hashlimit: limit the max size of hashtable
First crash: 1758d, last: 1743d
Fix bisection: fixed by (bisect log) :
commit acbc5071f073bc368d7d4f63902adf536cf37772
Author: Cong Wang <xiyou.wangcong@gmail.com>
Date: Mon Feb 3 04:30:53 2020 +0000

  netfilter: xt_hashlimit: limit the max size of hashtable

  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in hashlimit_mt_check_common C done 20 1737d 1776d 15/28 fixed on 2020/04/15 17:19
linux-4.14 INFO: task hung in hashlimit_mt_check_common C done 6 1741d 1793d 1/1 fixed on 2020/03/17 21:24

Sample crash report:
audit: type=1400 audit(1581586149.626:37): avc:  denied  { map } for  pid=8119 comm="syz-executor853" path="/root/syz-executor853016945" dev="sda1" ino=1426 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
INFO: task syz-executor853:8127 blocked for more than 140 seconds.
      Not tainted 4.19.103-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor853 D28216  8127   8123 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
 hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897
 hashlimit_mt_check_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:926
 xt_check_match+0x280/0x690 net/netfilter/x_tables.c:506
 check_match net/ipv4/netfilter/ip_tables.c:475 [inline]
 find_check_match net/ipv4/netfilter/ip_tables.c:491 [inline]
 find_check_entry.isra.0+0x32f/0x920 net/ipv4/netfilter/ip_tables.c:541
 translate_table+0xcb4/0x17d0 net/ipv4/netfilter/ip_tables.c:720
 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline]
 do_ipt_set_ctl+0x2ef/0x492 net/ipv4/netfilter/ip_tables.c:1675
 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:1258 [inline]
 ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1238
 tcp_setsockopt net/ipv4/tcp.c:3082 [inline]
 tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3076
 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: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:00007ffe74f1e028 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-executor853:8128 blocked for more than 140 seconds.
      Not tainted 4.19.103-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor853 D28216  8128   8121 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
 hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897
 hashlimit_mt_check_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:926
 xt_check_match+0x280/0x690 net/netfilter/x_tables.c:506
 check_match net/ipv4/netfilter/ip_tables.c:475 [inline]
 find_check_match net/ipv4/netfilter/ip_tables.c:491 [inline]
 find_check_entry.isra.0+0x32f/0x920 net/ipv4/netfilter/ip_tables.c:541
 translate_table+0xcb4/0x17d0 net/ipv4/netfilter/ip_tables.c:720
 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline]
 do_ipt_set_ctl+0x2ef/0x492 net/ipv4/netfilter/ip_tables.c:1675
 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:1258 [inline]
 ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1238
 tcp_setsockopt net/ipv4/tcp.c:3082 [inline]
 tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3076
 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: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:00007ffe74f1e028 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-executor853:8129 blocked for more than 140 seconds.
      Not tainted 4.19.103-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor853 D28216  8129   8124 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
 hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897
 hashlimit_mt_check_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:926
 xt_check_match+0x280/0x690 net/netfilter/x_tables.c:506
 check_match net/ipv4/netfilter/ip_tables.c:475 [inline]
 find_check_match net/ipv4/netfilter/ip_tables.c:491 [inline]
 find_check_entry.isra.0+0x32f/0x920 net/ipv4/netfilter/ip_tables.c:541
 translate_table+0xcb4/0x17d0 net/ipv4/netfilter/ip_tables.c:720
 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline]
 do_ipt_set_ctl+0x2ef/0x492 net/ipv4/netfilter/ip_tables.c:1675
 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:1258 [inline]
 ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1238
 tcp_setsockopt net/ipv4/tcp.c:3082 [inline]
 tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3076
 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: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:00007ffe74f1e028 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-executor853:8130 blocked for more than 140 seconds.
      Not tainted 4.19.103-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor853 D28216  8130   8122 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
 hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897
 hashlimit_mt_check_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:926
 xt_check_match+0x280/0x690 net/netfilter/x_tables.c:506
 check_match net/ipv4/netfilter/ip_tables.c:475 [inline]
 find_check_match net/ipv4/netfilter/ip_tables.c:491 [inline]
 find_check_entry.isra.0+0x32f/0x920 net/ipv4/netfilter/ip_tables.c:541
 translate_table+0xcb4/0x17d0 net/ipv4/netfilter/ip_tables.c:720
 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline]
 do_ipt_set_ctl+0x2ef/0x492 net/ipv4/netfilter/ip_tables.c:1675
 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:1258 [inline]
 ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1238
 tcp_setsockopt net/ipv4/tcp.c:3082 [inline]
 tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3076
 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: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:00007ffe74f1e028 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-executor853:8131 blocked for more than 140 seconds.
      Not tainted 4.19.103-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor853 D28216  8131   8120 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
 hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897
 hashlimit_mt_check_v1+0x325/0x3ab net/netfilter/xt_hashlimit.c:926
 xt_check_match+0x280/0x690 net/netfilter/x_tables.c:506
 check_match net/ipv4/netfilter/ip_tables.c:475 [inline]
 find_check_match net/ipv4/netfilter/ip_tables.c:491 [inline]
 find_check_entry.isra.0+0x32f/0x920 net/ipv4/netfilter/ip_tables.c:541
 translate_table+0xcb4/0x17d0 net/ipv4/netfilter/ip_tables.c:720
 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline]
 do_ipt_set_ctl+0x2ef/0x492 net/ipv4/netfilter/ip_tables.c:1675
 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:1258 [inline]
 ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1238
 tcp_setsockopt net/ipv4/tcp.c:3082 [inline]
 tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3076
 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: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:00007ffe74f1e028 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/1079:
 #0: 0000000044c8ff75 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4438
3 locks held by rs:main Q:Reg/7968:
 #0: 000000008c18a93d (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1817 [inline]
 #0: 000000008c18a93d (&rq->lock){-.-.}, at: __schedule+0x1f8/0x1dc0 kernel/sched/core.c:3453
 #1: 0000000044c8ff75 (rcu_read_lock){....}, at: file_start_write include/linux/fs.h:2775 [inline]
 #1: 0000000044c8ff75 (rcu_read_lock){....}, at: vfs_write+0x429/0x560 fs/read_write.c:548
 #2: 0000000044c8ff75 (rcu_read_lock){....}, at: inode_trylock include/linux/fs.h:767 [inline]
 #2: 0000000044c8ff75 (rcu_read_lock){....}, at: ext4_file_write_iter+0x23f/0x1060 fs/ext4/file.c:236
1 lock held by rsyslogd/7970:
 #0: 00000000ef8f2a85 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767
2 locks held by getty/8092:
 #0: 00000000aa508422 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000dd41eb41 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8093:
 #0: 000000008fb5df3a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 0000000044f68f4f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8094:
 #0: 00000000270c72fa (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 000000003e468b04 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8095:
 #0: 00000000f3064898 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000b42dd2ea (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8096:
 #0: 00000000e7c8408a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000e9f1f9a8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8097:
 #0: 0000000024c4da74 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000b4b1ef11 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8098:
 #0: 000000006168fbc7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 0000000013156aa1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
1 lock held by syz-executor853/8126:
1 lock held by syz-executor853/8127:
 #0: 000000004c6a4b7f (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897
1 lock held by syz-executor853/8128:
 #0: 000000004c6a4b7f (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897
1 lock held by syz-executor853/8129:
 #0: 000000004c6a4b7f (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897
1 lock held by syz-executor853/8130:
 #0: 000000004c6a4b7f (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897
1 lock held by syz-executor853/8131:
 #0: 000000004c6a4b7f (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.0+0x341/0x1500 net/netfilter/xt_hashlimit.c:897

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1079 Comm: khungtaskd Not tainted 4.19.103-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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 8126 Comm: syz-executor853 Not tainted 4.19.103-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x3/0x20 kernel/kcov.c:188
Code: ff 5d c3 0f 1f 40 00 55 0f b7 d6 0f b7 f7 bf 03 00 00 00 48 89 e5 48 8b 4d 08 e8 d8 fe ff ff 5d c3 66 0f 1f 44 00 00 55 89 f2 <89> fe bf 05 00 00 00 48 89 e5 48 8b 4d 08 e8 ba fe ff ff 5d c3 0f
RSP: 0018:ffff8880a4d67758 EFLAGS: 00000046
RAX: ffff888087a6e380 RBX: 0000000000000000 RCX: ffffffff817065b6
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8880a4d67798 R08: ffff888087a6e380 R09: fffff52000bd2c0a
R10: fffff52000bd2c09 R11: ffffc90005e9604b R12: ffffffff8609d719
R13: ffff888087a6e380 R14: ffffc90005e96000 R15: 0000000010345371
FS:  0000000000e58880(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600400 CR3: 000000008c924000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __local_bh_enable_ip+0x11a/0x270 kernel/softirq.c:171
 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline]
 _raw_spin_unlock_bh+0x31/0x40 kernel/locking/spinlock.c:200
 spin_unlock_bh include/linux/spinlock.h:374 [inline]
 htable_selective_cleanup+0x219/0x330 net/netfilter/xt_hashlimit.c:381
 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+0x454/0x920 net/ipv4/netfilter/ip_tables.c:567
 translate_table+0xcb4/0x17d0 net/ipv4/netfilter/ip_tables.c:720
 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline]
 do_ipt_set_ctl+0x2ef/0x492 net/ipv4/netfilter/ip_tables.c:1675
 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:1258 [inline]
 ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1238
 tcp_setsockopt net/ipv4/tcp.c:3082 [inline]
 tcp_setsockopt+0x8f/0xe0 net/ipv4/tcp.c:3076
 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: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:00007ffe74f1e028 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

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/13 09:34 linux-4.19.y 357668399cf7 84f4fc8a .config console log report syz C ci2-linux-4-19
2020/02/11 11:50 linux-4.19.y b499cf4b3a90 084454ae .config console log report syz C ci2-linux-4-19
2020/01/29 09:53 linux-4.19.y 88d6de67e390 c8e81ce4 .config console log report syz C ci2-linux-4-19
* Struck through repros no longer work on HEAD.