bisecting fixing commit since dc4ba5be1babd3b3ec905751a30df89a5899a7a9 building syzkaller on c40da18cc303e26bac17f4fea1a4263661dd829e testing commit dc4ba5be1babd3b3ec905751a30df89a5899a7a9 with gcc (GCC) 8.1.0 kernel signature: 8b90a5d2d488e7c9ea41249866f90860d3e548669a83a12b0606466aaa66ce43 run #0: crashed: INFO: task hung in htable_put run #1: crashed: INFO: task hung in htable_put run #2: crashed: INFO: task hung in htable_put run #3: crashed: INFO: task hung in htable_put run #4: crashed: INFO: task hung in htable_put run #5: crashed: INFO: task hung in hashlimit_mt_check_common run #6: crashed: INFO: task hung in drain_all_pages run #7: crashed: INFO: task hung in htable_put run #8: crashed: INFO: task hung in htable_put run #9: crashed: INFO: task hung in htable_put testing current HEAD 4fccc2503536a564a4ba31a1d50439854201659f testing commit 4fccc2503536a564a4ba31a1d50439854201659f with gcc (GCC) 8.1.0 kernel signature: 7494e25457bc8169efd598dc13f9481cd6f3dcb3337bcdda3df0d2576b96e240 run #0: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/syzkaller/jobs/linux/workdir/image/key" "/tmp/syz-executor422324490" "root@10.128.15.197:./syz-executor422324490"]: exit status 1 ssh: connect to host 10.128.15.197 port 22: Connection timed out lost connection run #1: crashed: INFO: task hung in htable_put run #2: crashed: INFO: task hung in htable_put run #3: crashed: INFO: task hung in htable_put run #4: crashed: INFO: task hung in htable_put run #5: crashed: INFO: task hung in htable_put run #6: crashed: INFO: task hung in htable_put run #7: crashed: INFO: task hung in htable_put run #8: crashed: INFO: task hung in drain_all_pages run #9: crashed: INFO: task hung in htable_put revisions tested: 2, total time: 31m34.294008653s (build: 19m10.584386879s, test: 11m48.499388179s) the crash still happens on HEAD commit msg: Linux 4.19.105 crash: INFO: task hung in htable_put IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready xt_CT: You must specify a L4 protocol and not use inversions on it NOHZ: local_softirq_pending 08 INFO: task syz-executor.3:7508 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27240 7508 7442 0x00000006 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 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+0x806/0x1210 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 htable_put+0x1c/0x200 net/netfilter/xt_hashlimit.c:440 hashlimit_mt_destroy_v1+0x4b/0x60 net/netfilter/xt_hashlimit.c:972 cleanup_match+0xca/0x150 net/ipv6/netfilter/ip6_tables.c:481 find_check_entry.isra.8+0x3c0/0x8b0 net/ipv4/netfilter/ip_tables.c:567 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007f56aabc5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f56aabc66d4 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.3:7515 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28680 7515 7442 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 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+0x806/0x1210 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 hashlimit_mt_check_v1+0x2f7/0x37a net/netfilter/xt_hashlimit.c:926 xt_check_match+0x205/0x640 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.8+0x2e5/0x8b0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007f56aab83c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f56aab846d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075c070 R08: 0000000000000509 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d9 R14: 00000000004cb40c R15: 000000000075c07c INFO: task syz-executor.5:7510 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D24776 7510 7451 0x00000006 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 schedule_timeout+0x6d5/0xda0 kernel/time/timer.c:1782 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x282/0x460 kernel/sched/completion.c:136 __flush_work+0x3d5/0x7f0 kernel/workqueue.c:2926 flush_work+0xb/0x10 kernel/workqueue.c:2947 drain_all_pages+0x3b2/0x570 mm/page_alloc.c:2697 __alloc_pages_direct_reclaim mm/page_alloc.c:3833 [inline] __alloc_pages_slowpath+0x95e/0x25d0 mm/page_alloc.c:4209 __alloc_pages_nodemask+0x5ef/0x710 mm/page_alloc.c:4417 alloc_pages_current+0xd6/0x1b0 mm/mempolicy.c:2197 alloc_pages include/linux/gfp.h:532 [inline] __vmalloc_area_node mm/vmalloc.c:1690 [inline] __vmalloc_node_range+0x360/0x690 mm/vmalloc.c:1750 __vmalloc_node mm/vmalloc.c:1801 [inline] __vmalloc_node_flags mm/vmalloc.c:1815 [inline] vmalloc+0x6a/0x80 mm/vmalloc.c:1837 htable_create net/netfilter/xt_hashlimit.c:290 [inline] hashlimit_mt_check_common.isra.8+0x574/0x1130 net/netfilter/xt_hashlimit.c:900 hashlimit_mt_check_v1+0x2f7/0x37a net/netfilter/xt_hashlimit.c:926 xt_check_match+0x205/0x640 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.8+0x2e5/0x8b0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007fef68b60c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fef68b616d4 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:7517 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28680 7517 7451 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 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+0x806/0x1210 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 hashlimit_mt_check_v1+0x2f7/0x37a net/netfilter/xt_hashlimit.c:926 xt_check_match+0x205/0x640 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.8+0x2e5/0x8b0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007fef68b1ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fef68b1f6d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075c070 R08: 0000000000000509 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d9 R14: 00000000004cb40c R15: 000000000075c07c INFO: task syz-executor.4:7513 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28680 7513 7450 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 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+0x806/0x1210 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 hashlimit_mt_check_v1+0x2f7/0x37a net/netfilter/xt_hashlimit.c:926 xt_check_match+0x205/0x640 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.8+0x2e5/0x8b0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007f7fe87a1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f7fe87a26d4 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:7519 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28680 7519 7450 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 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+0x806/0x1210 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 hashlimit_mt_check_v1+0x2f7/0x37a net/netfilter/xt_hashlimit.c:926 xt_check_match+0x205/0x640 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.8+0x2e5/0x8b0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007f7fe875fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f7fe87606d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075c070 R08: 0000000000000509 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d9 R14: 00000000004cb40c R15: 000000000075c07c INFO: task syz-executor.2:7522 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28680 7522 7443 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 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+0x806/0x1210 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 hashlimit_mt_check_v1+0x2f7/0x37a net/netfilter/xt_hashlimit.c:926 xt_check_match+0x205/0x640 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.8+0x2e5/0x8b0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007f8f77e77c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f8f77e786d4 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.2:7530 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28680 7530 7443 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 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+0x806/0x1210 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 hashlimit_mt_check_v1+0x2f7/0x37a net/netfilter/xt_hashlimit.c:926 xt_check_match+0x205/0x640 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.8+0x2e5/0x8b0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007f8f77e35c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f8f77e366d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075c070 R08: 0000000000000509 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d9 R14: 00000000004cb40c R15: 000000000075c07c INFO: task syz-executor.1:7525 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28680 7525 7446 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 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+0x806/0x1210 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 hashlimit_mt_check_v1+0x2f7/0x37a net/netfilter/xt_hashlimit.c:926 xt_check_match+0x205/0x640 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.8+0x2e5/0x8b0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007f908e6b8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f908e6b96d4 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.1:7532 blocked for more than 140 seconds. Not tainted 4.19.105-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28680 7532 7446 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 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+0x806/0x1210 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 hashlimit_mt_check_v1+0x2f7/0x37a net/netfilter/xt_hashlimit.c:926 xt_check_match+0x205/0x640 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.8+0x2e5/0x8b0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xc83/0x1af0 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x259/0x3e5 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x59/0x70 net/ipv4/ip_sockglue.c:1258 tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3082 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3046 __sys_setsockopt+0x13e/0x210 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:1909 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b349 Code: Bad RIP value. RSP: 002b:00007f908e676c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f908e6776d4 RCX: 000000000045b349 RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003 RBP: 000000000075c070 R08: 0000000000000509 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d9 R14: 00000000004cb40c R15: 000000000075c07c Showing all locks held in the system: 3 locks held by kworker/1:0/19: 1 lock held by khungtaskd/1083: #0: 000000003a2654d2 (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4438 1 lock held by rsyslogd/7193: #0: 000000006c756736 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:767 2 locks held by getty/7316: #0: 000000005a119881 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000da0ee1d0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7317: #0: 00000000a510b55f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000069d68761 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7318: #0: 0000000076e08fbc (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000003924d81c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7319: #0: 00000000d967a47b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000008221e7ae (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7320: #0: 00000000ab6c7bcd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000036f5cfcb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7321: #0: 00000000a723dcb7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000003e20ab5d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7322: #0: 000000004a84e6d7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000566d20b6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.3/7508: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: htable_put+0x1c/0x200 net/netfilter/xt_hashlimit.c:440 1 lock held by syz-executor.3/7515: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 2 locks held by syz-executor.5/7510: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 #1: 00000000efd81447 (pcpu_drain_mutex){+.+.}, at: drain_all_pages+0x4d/0x570 mm/page_alloc.c:2654 1 lock held by syz-executor.5/7517: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 1 lock held by syz-executor.4/7513: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 1 lock held by syz-executor.4/7519: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 1 lock held by syz-executor.2/7522: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 1 lock held by syz-executor.2/7530: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 1 lock held by syz-executor.1/7525: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 1 lock held by syz-executor.1/7532: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 1 lock held by syz-executor.0/7528: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 1 lock held by syz-executor.0/7534: #0: 0000000026c3f78d (hashlimit_mutex){+.+.}, at: hashlimit_mt_check_common.isra.8+0x246/0x1130 net/netfilter/xt_hashlimit.c:897 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1083 Comm: khungtaskd Not tainted 4.19.105-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+0x123/0x177 lib/dump_stack.c:118 nmi_cpu_backtrace.cold.4+0x3e/0x76 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0xe6/0x11a 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+0x5c3/0xb40 kernel/hung_task.c:287 kthread+0x324/0x3e0 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: 7487 Comm: kworker/u4:5 Not tainted 4.19.105-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:__rcu_read_unlock+0xb7/0x170 kernel/rcu/tree_plugin.h:427 Code: b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 8e 00 00 00 c7 83 70 03 00 00 00 00 00 80 <48> 8d bb 74 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffff88809678fcf0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88808d470400 RCX: ffffffff81517e21 RDX: 1ffff11011a8e0ee RSI: 0000000000000004 RDI: ffff8880aeb23990 RBP: ffff88809678fd00 R08: ffffed1015d64733 R09: ffffed1015d64732 R10: ffffed1015d64732 R11: ffff8880aeb23993 R12: ffff88808d470770 R13: 0000000000000244 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000009b674000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:680 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:423 [inline] batadv_nc_worker+0x179/0x630 net/batman-adv/network-coding.c:730 process_one_work+0x830/0x1670 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x324/0x3e0 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415