INFO: task syz-executor.3:9984 blocked for more than 143 seconds. Not tainted 5.1.0-rc2+ #123 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D26760 9984 7780 0x00000004 Call Trace: context_switch kernel/sched/core.c:2877 [inline] __schedule+0x817/0x1cc0 kernel/sched/core.c:3518 schedule+0x92/0x180 kernel/sched/core.c:3562 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3620 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x726/0x1310 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 genl_lock net/netlink/genetlink.c:33 [inline] ctrl_getfamily+0x30d/0x420 net/netlink/genetlink.c:874 genl_family_rcv_msg+0x6ed/0xda0 net/netlink/genetlink.c:602 genl_rcv_msg+0xca/0x16c net/netlink/genetlink.c:627 netlink_rcv_skb+0x17a/0x460 net/netlink/af_netlink.c:2485 genl_rcv+0x29/0x40 net/netlink/genetlink.c:638 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x536/0x720 net/netlink/af_netlink.c:1336 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1925 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:661 ___sys_sendmsg+0x806/0x930 net/socket.c:2260 __sys_sendmsg+0x105/0x1d0 net/socket.c:2298 __do_sys_sendmsg net/socket.c:2307 [inline] __se_sys_sendmsg net/socket.c:2305 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2305 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x412191 Code: 00 00 48 83 c4 08 31 c0 5b 5d c3 66 0f 1f 44 00 00 48 8b 00 ba 5b 37 44 00 bf 80 39 44 00 48 85 c0 48 0f 44 c2 48 89 c2 31 c0 9a ee 00 00 48 8b 03 eb 86 e8 20 8e ff ff 53 48 81 ec 90 00 00 RSP: 002b:00007fe5a2b079c0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000412191 RDX: 0000000000000000 RSI: 00007fe5a2b07a00 RDI: 0000000000000008 RBP: 0000000000000008 R08: 00007fe5a2b079d0 R09: 000000000073bfa0 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fe5a2b07a40 R13: 00000000004cdf40 R14: 00000000004dc320 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1042: #0: 00000000d0e17f4f (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5061 1 lock held by rsyslogd/7646: #0: 0000000047484983 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/7736: #0: 00000000c2df4cbf (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000f23603b8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7737: #0: 00000000a2291b6c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000266c2066 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7738: #0: 000000007289b931 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000019ac868e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7739: #0: 00000000bf51ad2f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000009184f7b6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7740: #0: 0000000041816ff7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000013f694b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7741: #0: 000000000f000ba6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e683f8b9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7742: #0: 000000003cbf481c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000c9846bb8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.3/9984: #0: 00000000fb2b9689 (cb_lock){++++}, at: ctrl_getfamily+0x2ff/0x420 net/netlink/genetlink.c:873 #1: 00000000fb92b945 (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: 00000000fb92b945 (genl_mutex){+.+.}, at: ctrl_getfamily+0x30d/0x420 net/netlink/genetlink.c:874 2 locks held by syz-executor.0/10021: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1042 Comm: khungtaskd Not tainted 5.1.0-rc2+ #123 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+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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:204 [inline] watchdog+0x9b7/0xec0 kernel/hung_task.c:288 kthread+0x357/0x430 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10021 Comm: syz-executor.0 Not tainted 5.1.0-rc2+ #123 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:match_held_lock+0x25/0x500 kernel/locking/lockdep.c:3762 Code: 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 89 fb 48 83 c7 10 48 89 fa 48 83 ec 08 <48> c1 ea 03 80 3c 02 00 0f 85 ec 03 00 00 48 39 73 10 0f 84 fd 01 RSP: 0018:ffff88806ceaed40 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: ffff8880a49768e8 RCX: ffff8880a49768c0 RDX: ffff8880a49768f8 RSI: ffffffff8937f5a0 RDI: ffff8880a49768f8 RBP: ffff88806ceaed70 R08: ffff8880a4976040 R09: 0000000000000003 R10: ffffed1015d05bbf R11: ffff8880ae82ddfb R12: ffffed101492ed17 R13: ffff8880a49768e8 R14: ffffffff8937f5a0 R15: 0000000000000001 FS: 00007f1b439b5700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000008d22d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:4031 [inline] lock_is_held_type+0x1b8/0x320 kernel/locking/lockdep.c:4249 lock_is_held include/linux/lockdep.h:351 [inline] genl_family_attrbuf+0xda/0x120 net/netlink/genetlink.c:1076 tipc_nlmsg_parse+0x29/0x100 net/tipc/netlink.c:254 tipc_nl_publ_dump+0x866/0xd70 net/tipc/socket.c:3592 __tipc_nl_compat_dumpit.isra.0+0x220/0x930 net/tipc/netlink_compat.c:206 tipc_nl_compat_publ_dump net/tipc/netlink_compat.c:977 [inline] tipc_nl_compat_sk_dump+0x54a/0x970 net/tipc/netlink_compat.c:1028 __tipc_nl_compat_dumpit.isra.0+0x32c/0x930 net/tipc/netlink_compat.c:215 tipc_nl_compat_dumpit+0x1f4/0x440 net/tipc/netlink_compat.c:280 tipc_nl_compat_handle net/tipc/netlink_compat.c:1227 [inline] tipc_nl_compat_recv+0x34f/0xb30 net/tipc/netlink_compat.c:1265 genl_family_rcv_msg+0x6ed/0xda0 net/netlink/genetlink.c:602 genl_rcv_msg+0xca/0x16c net/netlink/genetlink.c:627 netlink_rcv_skb+0x17a/0x460 net/netlink/af_netlink.c:2485 genl_rcv+0x29/0x40 net/netlink/genetlink.c:638 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x536/0x720 net/netlink/af_netlink.c:1336 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1925 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:661 ___sys_sendmsg+0x806/0x930 net/socket.c:2260 __sys_sendmsg+0x105/0x1d0 net/socket.c:2298 __do_sys_sendmsg net/socket.c:2307 [inline] __se_sys_sendmsg net/socket.c:2305 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2305 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4582b9 Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f1b439b4c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004582b9 RDX: 0000000000000000 RSI: 0000000020000500 RDI: 0000000000000006 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1b439b56d4 R13: 00000000004cc118 R14: 00000000004d98c0 R15: 00000000ffffffff