syzbot


INFO: task hung in genl_rcv_msg (2)

Status: auto-closed as invalid on 2021/03/17 23:44
Reported-by: syzbot+8adaf9beb539c7c10bab@syzkaller.appspotmail.com
First crash: 777d, last: 588d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in genl_rcv_msg syz error 15 118d 1154d 0/1 upstream: reported syz repro on 2019/05/02 15:34
upstream INFO: task hung in genl_rcv_msg syz done error 641 107d 1353d 0/22 upstream: reported syz repro on 2018/10/15 08:06
linux-4.14 INFO: task hung in genl_rcv_msg syz done 2 893d 893d 1/1 fixed on 2020/02/16 23:53

Sample crash report:
Bluetooth: hci1 command 0x0406 tx timeout
Bluetooth: hci0 command 0x0406 tx timeout
Bluetooth: hci4 command 0x0406 tx timeout
Bluetooth: hci3 command 0x0406 tx timeout
Bluetooth: hci5 command 0x0406 tx timeout
INFO: task syz-executor.3:12974 blocked for more than 140 seconds.
      Not tainted 4.14.206-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D29272 12974   8020 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893
 genl_lock net/netlink/genetlink.c:33 [inline]
 genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x417937
RSP: 002b:00007f59a7a71b40 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f59a7a71bf0 RCX: 0000000000417937
RDX: 0000000000000020 RSI: 00007f59a7a71c40 RDI: 0000000000000005
RBP: 0000000000000000 R08: 00007f59a7a71b50 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f59a7a71bb4
R13: 0000000000000010 R14: 00007f59a7a71c40 R15: 0000000000000005
INFO: task syz-executor.3:12982 blocked for more than 140 seconds.
      Not tainted 4.14.206-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D28288 12982   8020 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893
 genl_lock net/netlink/genetlink.c:33 [inline]
 genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x417937
RSP: 002b:00007f59a7a50b40 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f59a7a50bf0 RCX: 0000000000417937
RDX: 0000000000000020 RSI: 00007f59a7a50c40 RDI: 0000000000000005
RBP: 0000000000000000 R08: 00007f59a7a50b50 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f59a7a50bb4
R13: 0000000000000010 R14: 00007f59a7a50c40 R15: 0000000000000005
INFO: task syz-executor.2:12976 blocked for more than 140 seconds.
      Not tainted 4.14.206-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D29376 12976   8017 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893
 genl_lock net/netlink/genetlink.c:33 [inline]
 genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x417937
RSP: 002b:00007fd3b4185b40 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fd3b4185bf0 RCX: 0000000000417937
RDX: 0000000000000020 RSI: 00007fd3b4185c40 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007fd3b4185b50 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fd3b4185bb4
R13: 0000000000000010 R14: 00007fd3b4185c40 R15: 0000000000000004
INFO: task syz-executor.2:12979 blocked for more than 140 seconds.
      Not tainted 4.14.206-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D28392 12979   8017 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893
 genl_lock net/netlink/genetlink.c:33 [inline]
 genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x417937
RSP: 002b:00007fd3b4164b40 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fd3b4164bf0 RCX: 0000000000417937
RDX: 0000000000000020 RSI: 00007fd3b4164c40 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007fd3b4164b50 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fd3b4164bb4
R13: 0000000000000010 R14: 00007fd3b4164c40 R15: 0000000000000004
INFO: task syz-executor.4:13001 blocked for more than 140 seconds.
      Not tainted 4.14.206-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.4  D29336 13001   8019 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893
 genl_lock net/netlink/genetlink.c:33 [inline]
 genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x417937
RSP: 002b:00007f8fb3469b40 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f8fb3469bf0 RCX: 0000000000417937
RDX: 0000000000000020 RSI: 00007f8fb3469c40 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007f8fb3469b50 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f8fb3469bb4
R13: 0000000000000010 R14: 00007f8fb3469c40 R15: 0000000000000004
INFO: task syz-executor.4:13006 blocked for more than 140 seconds.
      Not tainted 4.14.206-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.4  D29440 13006   8019 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893
 genl_lock net/netlink/genetlink.c:33 [inline]
 genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x417937
RSP: 002b:00007f8fb3448b40 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f8fb3448bf0 RCX: 0000000000417937
RDX: 0000000000000020 RSI: 00007f8fb3448c40 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007f8fb3448b50 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f8fb3448bb4
R13: 0000000000000010 R14: 00007f8fb3448c40 R15: 0000000000000004

Showing all locks held in the system:
1 lock held by khungtaskd/1531:
 #0:  (tasklist_lock){.+.+}, at: [<ffffffff81430c44>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4548
3 locks held by kworker/0:2/3623:
 #0:  ("%s"("ipv6_addrconf")){+.+.}, at: [<ffffffff813735a0>] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2087
 #1:  ((addr_chk_work).work){+.+.}, at: [<ffffffff813735d6>] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2091
 #2:  (rtnl_mutex){+.+.}, at: [<ffffffff865212da>] addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4412
2 locks held by syz-executor.3/12974:
 #0:  (cb_lock){++++}, at: [<ffffffff85fe45d5>] genl_rcv+0x15/0x40 net/netlink/genetlink.c:635
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_lock net/netlink/genetlink.c:33 [inline]
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
2 locks held by syz-executor.3/12982:
 #0:  (cb_lock){++++}, at: [<ffffffff85fe45d5>] genl_rcv+0x15/0x40 net/netlink/genetlink.c:635
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_lock net/netlink/genetlink.c:33 [inline]
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
2 locks held by syz-executor.2/12976:
 #0:  (cb_lock){++++}, at: [<ffffffff85fe45d5>] genl_rcv+0x15/0x40 net/netlink/genetlink.c:635
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_lock net/netlink/genetlink.c:33 [inline]
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
2 locks held by syz-executor.2/12979:
 #0:  (cb_lock){++++}, at: [<ffffffff85fe45d5>] genl_rcv+0x15/0x40 net/netlink/genetlink.c:635
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_lock net/netlink/genetlink.c:33 [inline]
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
2 locks held by syz-executor.4/13001:
 #0:  (cb_lock){++++}, at: [<ffffffff85fe45d5>] genl_rcv+0x15/0x40 net/netlink/genetlink.c:635
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_lock net/netlink/genetlink.c:33 [inline]
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623
2 locks held by syz-executor.4/13006:
 #0:  (cb_lock){++++}, at: [<ffffffff85fe45d5>] genl_rcv+0x15/0x40 net/netlink/genetlink.c:635
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_lock net/netlink/genetlink.c:33 [inline]
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85fe5232>] genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623

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

NMI backtrace for cpu 1
CPU: 1 PID: 1531 Comm: khungtaskd Not tainted 4.14.206-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+0x1b2/0x283 lib/dump_stack.c:58
 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x13a/0x17f lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline]
 watchdog+0x5b9/0xb40 kernel/hung_task.c:274
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4625 Comm: systemd-journal Not tainted 4.14.206-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880a12bc180 task.stack: ffff8880a12c0000
RIP: 0010:debug_lockdep_rcu_enabled+0x5b/0xe0 kernel/rcu/update.c:299
RSP: 0018:ffff8880a12c7b08 EFLAGS: 00000006
RAX: 0000000000000003 RBX: ffff8880a12bc180 RCX: 1ffffffff1279f18
RDX: 0000000000000004 RSI: 0000000000000002 RDI: ffff8880a12bca04
RBP: ffffffff88f77500 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000002 R15: 0000000000000000
FS:  00007fb4673c98c0(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb4648ff000 CR3: 00000000a105a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 trace_lock_acquire include/trace/events/lock.h:13 [inline]
 lock_acquire+0x307/0x3f0 kernel/locking/lockdep.c:3997
 rcu_lock_acquire include/linux/rcupdate.h:242 [inline]
 rcu_read_lock include/linux/rcupdate.h:629 [inline]
 path_init+0x1390/0x1a20 fs/namei.c:2219
 path_lookupat+0x7e/0x780 fs/namei.c:2328
 filename_lookup+0x18a/0x510 fs/namei.c:2377
 user_path_at include/linux/namei.h:57 [inline]
 SYSC_faccessat fs/open.c:403 [inline]
 SyS_faccessat+0x21b/0x680 fs/open.c:353
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fb4666859c7
RSP: 002b:00007ffceace5988 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffceace88a0 RCX: 00007fb4666859c7
RDX: 00007fb4670f6a00 RSI: 0000000000000000 RDI: 000055db937ec9a3
RBP: 00007ffceace59c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffceace88a0 R15: 00007ffceace5eb0
Code: 35 9f c5 c0 08 85 f6 74 79 48 c7 c0 c0 f8 3c 89 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 <38> d0 7c 04 84 d2 75 64 8b 0d e7 14 f5 07 85 c9 74 45 65 48 8b 

Crashes (6):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/11/17 23:44 linux-4.14.y 27ce4f2a6817 09323409 .config log report info
ci2-linux-4-14 2020/11/11 06:02 linux-4.14.y 27ce4f2a6817 cca87986 .config log report info
ci2-linux-4-14 2020/11/10 14:54 linux-4.14.y e98f3c4269fd cca87986 .config log report info
ci2-linux-4-14 2020/08/09 12:01 linux-4.14.y 14b58326976d f721e4a0 .config log report
ci2-linux-4-14 2020/07/30 00:00 linux-4.14.y e5a54aa2d312 233283a1 .config log report
ci2-linux-4-14 2020/05/13 05:22 linux-4.14.y ab9dfda23248 a44eb8f7 .config log report