audit: type=1804 audit(1582771080.873:145): pid=11388 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir078031702/syzkaller.jk7b2V/62/file0/file0" dev="loop5" ino=155 res=1 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 INFO: task syz-executor.1:11366 blocked for more than 140 seconds. Not tainted 4.19.106-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D26896 11366 8069 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3559 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3617 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x726/0x1300 kernel/locking/mutex.c:1072 genl_lock net/netlink/genetlink.c:33 [inline] genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625 netlink_rcv_skb+0x160/0x410 net/netlink/af_netlink.c:2454 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x4d7/0x6a0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x80b/0xcd0 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0xec/0x1b0 net/socket.c:2153 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x416101 Code: 4c 24 40 48 89 04 24 48 89 4c 24 08 e8 f8 48 01 00 0f 0b 48 8d 05 17 07 53 00 48 89 04 24 48 c7 44 24 08 41 00 00 00 e8 dd 48 <01> 00 0f 0b 48 8d 05 f6 ea 51 00 48 89 04 24 48 c7 44 24 08 34 00 RSP: 002b:00007f86787e39c0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f86787e46d4 RCX: 0000000000416101 RDX: 0000000000000000 RSI: 00007f86787e3a00 RDI: 0000000000000014 RBP: 0000000000000014 R08: 00007f86787e39d0 R09: 000000000076bf20 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f86787e3a40 R13: 0000000000000bb7 R14: 00000000004d7870 R15: 000000000076bf2c INFO: task syz-executor.1:11410 blocked for more than 140 seconds. Not tainted 4.19.106-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28720 11410 8069 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3559 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3617 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x726/0x1300 kernel/locking/mutex.c:1072 genl_lock net/netlink/genetlink.c:33 [inline] genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625 netlink_rcv_skb+0x160/0x410 net/netlink/af_netlink.c:2454 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x4d7/0x6a0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x80b/0xcd0 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0xec/0x1b0 net/socket.c:2153 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x416101 Code: 4c 24 40 48 89 04 24 48 89 4c 24 08 e8 f8 48 01 00 0f 0b 48 8d 05 17 07 53 00 48 89 04 24 48 c7 44 24 08 41 00 00 00 e8 dd 48 <01> 00 0f 0b 48 8d 05 f6 ea 51 00 48 89 04 24 48 c7 44 24 08 34 00 RSP: 002b:00007f867871d9c0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f867871e6d4 RCX: 0000000000416101 RDX: 0000000000000000 RSI: 00007f867871da00 RDI: 0000000000000012 RBP: 0000000000000012 R08: 00007f867871d9d0 R09: 000000000076c2e0 R10: ffffffffffffffff R11: 0000000000000293 R12: 00007f867871da40 R13: 0000000000000bb7 R14: 00000000004d7870 R15: 000000000076c2ec Showing all locks held in the system: 1 lock held by khungtaskd/1071: #0: 000000002f577e93 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4436 1 lock held by rsyslogd/7901: #0: 00000000f53789f7 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe3/0x100 fs/file.c:767 2 locks held by getty/8024: #0: 000000006e01ab59 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000ba0fc2d2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8025: #0: 00000000f3c2cfa6 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000094fb5184 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8026: #0: 00000000a6bfb6fc (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000003a74382 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8027: #0: 0000000053879bde (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000f61b3c64 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8028: #0: 000000003d18c296 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000045c9b28c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8029: #0: 00000000e7e3535d (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000661e5323 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 2 locks held by getty/8030: #0: 000000006cbe0873 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000a142e895 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2154 3 locks held by syz-executor.2/11353: 2 locks held by syz-executor.1/11366: #0: 00000000b72a4f11 (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637 #1: 00000000f4e08e10 (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: 00000000f4e08e10 (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625 2 locks held by syz-executor.1/11410: #0: 00000000b72a4f11 (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637 #1: 00000000f4e08e10 (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: 00000000f4e08e10 (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1071 Comm: khungtaskd Not tainted 4.19.106-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+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x962/0xe40 kernel/hung_task.c:287 kthread+0x34a/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: 8179 Comm: kworker/u4:5 Not tainted 4.19.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_tt_purge RIP: 0010:match_held_lock+0x10/0x4f0 kernel/locking/lockdep.c:3471 Code: b1 fe ff ff 48 c7 c7 e8 56 b2 88 e8 6a 86 4e 00 e9 1b ff ff ff 0f 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 41 56 41 55 41 54 <55> 53 48 89 fb 48 83 c7 10 48 89 fa 48 83 ec 08 48 c1 ea 03 80 3c RSP: 0018:ffff88804d6ffb38 EFLAGS: 00000006 RAX: dffffc0000000000 RBX: 0000000000000003 RCX: ffff88804d6ffbd0 RDX: 0000000000000003 RSI: ffff888097c46218 RDI: ffff88804d68abd0 RBP: ffff888097c46218 R08: 0000000000000000 R09: ffffed1012f88c41 R10: ffffed1012f88c40 R11: ffff888097c46203 R12: ffff88804d68abd0 R13: ffff888097c46218 R14: ffff88804d6ffbd0 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000000982a4000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:3516 __lock_release kernel/locking/lockdep.c:3672 [inline] lock_release+0x245/0x820 kernel/locking/lockdep.c:3922 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:174 [inline] _raw_spin_unlock_bh+0x17/0x30 kernel/locking/spinlock.c:200 spin_unlock_bh include/linux/spinlock.h:374 [inline] batadv_tt_local_purge+0x275/0x360 net/batman-adv/translation-table.c:1454 batadv_tt_purge+0x2b/0xa70 net/batman-adv/translation-table.c:3809 process_one_work+0x91f/0x1640 kernel/workqueue.c:2153 worker_thread+0x96/0xe20 kernel/workqueue.c:2296 kthread+0x34a/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415