audit: type=1804 audit(1673257691.694:898): pid=30156 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir1058204004/syzkaller.UtUlXR/219/bus" dev="sda1" ino=13892 res=1 Bluetooth: hci8: command 0x1001 tx timeout Bluetooth: hci8: sending frame failed (-49) INFO: task syz-executor.2:24959 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D30128 24959 8168 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x44/0x80 kernel/locking/rwsem.c:26 iterate_supers+0xdb/0x290 fs/super.c:631 ksys_sync+0x86/0x150 fs/sync.c:113 __ia32_sys_sync+0xa/0x10 fs/sync.c:124 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f9b381a60c9 Code: Bad RIP value. RSP: 002b:00007f9b36718168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f9b382c5f80 RCX: 00007f9b381a60c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f9b38201ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff402bee9f R14: 00007f9b36718300 R15: 0000000000022000 INFO: task syz-executor.2:24965 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29920 24965 8168 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x44/0x80 kernel/locking/rwsem.c:26 iterate_supers+0xdb/0x290 fs/super.c:631 ksys_sync+0x86/0x150 fs/sync.c:113 __ia32_sys_sync+0xa/0x10 fs/sync.c:124 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f9b381a60c9 Code: Bad RIP value. RSP: 002b:00007f9b366f7168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f9b382c6050 RCX: 00007f9b381a60c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f9b38201ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff402bee9f R14: 00007f9b366f7300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 00000000ecc57bbb (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7809: #0: 00000000a3b384cd (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by kworker/u5:6/8195: #0: 00000000a1f60636 ((wq_completion)"%s"hdev->name){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000000ed53f43 ((work_completion)(&hdev->power_on)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000008fa2eaf5 (&hdev->req_lock){+.+.}, at: hci_dev_do_open+0x9e/0x1260 net/bluetooth/hci_core.c:1372 5 locks held by syz-executor.1/21507: 1 lock held by syz-executor.2/24959: #0: 00000000df09cedc (&type->s_umount_key#54){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 1 lock held by syz-executor.2/24965: #0: 00000000df09cedc (&type->s_umount_key#54){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 2 locks held by syz-executor.0/30040: #0: 00000000fd4bb98b (&tty->ldisc_sem){++++}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:320 [inline] #0: 00000000fd4bb98b (&tty->ldisc_sem){++++}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:376 [inline] #0: 00000000fd4bb98b (&tty->ldisc_sem){++++}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:397 [inline] #0: 00000000fd4bb98b (&tty->ldisc_sem){++++}, at: tty_ldisc_release+0x240/0x440 drivers/tty/tty_ldisc.c:805 #1: 00000000a43f6078 (&tty->ldisc_sem/1){+.+.}, at: __tty_ldisc_lock_nested drivers/tty/tty_ldisc.c:326 [inline] #1: 00000000a43f6078 (&tty->ldisc_sem/1){+.+.}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:378 [inline] #1: 00000000a43f6078 (&tty->ldisc_sem/1){+.+.}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:397 [inline] #1: 00000000a43f6078 (&tty->ldisc_sem/1){+.+.}, at: tty_ldisc_release+0x354/0x440 drivers/tty/tty_ldisc.c:805 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 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+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 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: 29069 Comm: kworker/u4:10 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:debug_lockdep_rcu_enabled+0x27/0xe0 kernel/rcu/update.c:253 Code: 0f 1f 00 48 c7 c0 44 e0 26 8b 53 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 08 <84> d2 0f 85 87 00 00 00 8b 35 1f 42 d6 09 85 f6 74 79 48 c7 c0 60 RSP: 0018:ffff88803b65fc98 EFLAGS: 00000202 RAX: 0000000000000007 RBX: ffff8880a3eee6f8 RCX: 1ffffffff164dc08 RDX: 0000000000000000 RSI: 000000005a4ba51f RDI: 0000000000000286 RBP: 0000000000000001 R08: 00000000e9a03af8 R09: 0000000000000002 R10: ffff888091268bd8 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000107 R15: ffff8880a45f5800 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556703848 CR3: 000000009fbe5000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:628 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:419 [inline] batadv_nc_worker+0x132/0xd50 net/batman-adv/network-coding.c:730 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415