syzkaller login: [ 34.226090] sshd (243) used greatest stack depth: 24768 bytes left Warning: Permanently added '[localhost]:27610' (ECDSA) to the list of known hosts. 2022/09/13 12:57:49 fuzzer started 2022/09/13 12:57:50 dialing manager at localhost:36597 [ 36.347726] cgroup: Unknown subsys name 'net' [ 36.439632] cgroup: Unknown subsys name 'rlimit' 2022/09/13 12:58:05 syscalls: 2215 2022/09/13 12:58:05 code coverage: enabled 2022/09/13 12:58:05 comparison tracing: enabled 2022/09/13 12:58:05 extra coverage: enabled 2022/09/13 12:58:05 setuid sandbox: enabled 2022/09/13 12:58:05 namespace sandbox: enabled 2022/09/13 12:58:05 Android sandbox: enabled 2022/09/13 12:58:05 fault injection: enabled 2022/09/13 12:58:05 leak checking: enabled 2022/09/13 12:58:05 net packet injection: enabled 2022/09/13 12:58:05 net device setup: enabled 2022/09/13 12:58:05 concurrency sanitizer: /sys/kernel/debug/kcsan does not exist 2022/09/13 12:58:05 devlink PCI setup: PCI device 0000:00:10.0 is not available 2022/09/13 12:58:05 USB emulation: enabled 2022/09/13 12:58:05 hci packet injection: enabled 2022/09/13 12:58:05 wifi device emulation: failed to parse kernel version (6.0.0-rc5-next-20220913) 2022/09/13 12:58:05 802.15.4 emulation: enabled 2022/09/13 12:58:05 fetching corpus: 0, signal 0/2000 (executing program) 2022/09/13 12:58:05 fetching corpus: 50, signal 38851/40476 (executing program) 2022/09/13 12:58:06 fetching corpus: 100, signal 53534/54589 (executing program) 2022/09/13 12:58:06 fetching corpus: 150, signal 60876/61467 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/62778 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/62881 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/62988 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/63101 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/63200 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/63308 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/63424 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/63538 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/63647 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/63771 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/63879 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/63983 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/64070 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/64185 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/64281 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/64407 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/64524 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/64638 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/64742 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/64838 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/64954 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/65069 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/65176 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/65289 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/65406 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/65519 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/65621 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/65721 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/65739 (executing program) 2022/09/13 12:58:06 fetching corpus: 168, signal 62244/65739 (executing program) 2022/09/13 12:58:09 starting 8 fuzzer processes 12:58:09 executing program 0: r0 = openat$autofs(0xffffffffffffff9c, &(0x7f0000000080), 0x0, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(r0, 0xc018930a, 0x0) 12:58:09 executing program 1: perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={0x0, 0xb}, 0x0, 0x0, 0x0, 0x0, 0x6, 0x0, 0x200}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r0 = openat$sysfs(0xffffffffffffff9c, &(0x7f0000000040)='/sys/kernel/slab', 0x0, 0x0) lseek(r0, 0x0, 0x0) getdents64(r0, &(0x7f0000000240)=""/226, 0x20000258) r1 = socket$inet_icmp_raw(0x2, 0x3, 0x1) setsockopt$inet_msfilter(r1, 0x0, 0x29, &(0x7f0000000080)={@multicast2, @remote, 0x0, 0x2}, 0x10) openat$procfs(0xffffffffffffff9c, &(0x7f00000001c0)='/proc/zoneinfo\x00', 0x0, 0x0) 12:58:09 executing program 2: r0 = syz_init_net_socket$bt_sco(0x1f, 0x5, 0x2) connect$bt_sco(r0, &(0x7f0000000140), 0x7) 12:58:09 executing program 3: mmap(&(0x7f0000000000/0xc00000)=nil, 0xc00000, 0x0, 0x44032, 0xffffffffffffffff, 0x0) io_getevents(0x0, 0x0, 0x0, 0x0, &(0x7f0000001180)={0x77359400}) [ 55.264009] audit: type=1400 audit(1663073889.202:6): avc: denied { execmem } for pid=283 comm="syz-executor.1" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 12:58:09 executing program 5: r0 = syz_mount_image$tmpfs(&(0x7f00000006c0), &(0x7f0000000700)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000b80)) lsetxattr$security_selinux(&(0x7f0000000040)='./file0\x00', &(0x7f0000000080), &(0x7f00000000c0)='system_u:object_r:crond_initrc_exec_t:s0\x00', 0x29, 0x0) mknodat$loop(r0, &(0x7f0000000000)='./file0\x00', 0x6000, 0x1) 12:58:09 executing program 4: r0 = perf_event_open(&(0x7f0000000280)={0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={0x0}}, 0x0, 0x0, 0xffffffffffffffff, 0x3) ioctl$PERF_EVENT_IOC_DISABLE(0xffffffffffffffff, 0x2401, 0x0) ioctl$PERF_EVENT_IOC_PERIOD(r0, 0x40082404, &(0x7f0000000100)=0x7) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) 12:58:09 executing program 6: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_config_ext}, 0x0, 0x0, 0xffffffffffffffff, 0x0) futex(&(0x7f00000002c0)=0x1, 0x8c, 0x1, 0x0, &(0x7f0000000380), 0x1) io_submit(0x0, 0x0, 0x0) 12:58:09 executing program 7: mbind(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x1, 0x0, 0x0, 0x0) mlock(&(0x7f0000ffc000/0x1000)=nil, 0x1000) mbind(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0, 0x0, 0x0, 0x0) [ 56.653436] Bluetooth: hci1: unexpected cc 0x0c03 length: 249 > 1 [ 56.655324] Bluetooth: hci1: unexpected cc 0x1003 length: 249 > 9 [ 56.663776] Bluetooth: hci1: unexpected cc 0x1001 length: 249 > 9 [ 56.665112] Bluetooth: hci2: unexpected cc 0x0c03 length: 249 > 1 [ 56.690750] Bluetooth: hci3: unexpected cc 0x0c03 length: 249 > 1 [ 56.693068] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 56.694883] Bluetooth: hci2: unexpected cc 0x1003 length: 249 > 9 [ 56.695210] Bluetooth: hci4: unexpected cc 0x0c03 length: 249 > 1 [ 56.697006] Bluetooth: hci6: unexpected cc 0x0c03 length: 249 > 1 [ 56.698110] Bluetooth: hci3: unexpected cc 0x1003 length: 249 > 9 [ 56.698964] Bluetooth: hci7: unexpected cc 0x0c03 length: 249 > 1 [ 56.701038] Bluetooth: hci3: unexpected cc 0x1001 length: 249 > 9 [ 56.702712] Bluetooth: hci5: unexpected cc 0x0c03 length: 249 > 1 [ 56.705348] Bluetooth: hci5: unexpected cc 0x1003 length: 249 > 9 [ 56.707015] Bluetooth: hci2: unexpected cc 0x1001 length: 249 > 9 [ 56.708287] Bluetooth: hci5: unexpected cc 0x1001 length: 249 > 9 [ 56.709978] Bluetooth: hci4: unexpected cc 0x1003 length: 249 > 9 [ 56.712896] Bluetooth: hci3: unexpected cc 0x0c23 length: 249 > 4 [ 56.713070] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 56.720793] Bluetooth: hci1: unexpected cc 0x0c23 length: 249 > 4 [ 56.722141] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 56.723580] Bluetooth: hci7: unexpected cc 0x1003 length: 249 > 9 [ 56.726289] Bluetooth: hci6: unexpected cc 0x1003 length: 249 > 9 [ 56.727923] Bluetooth: hci3: unexpected cc 0x0c25 length: 249 > 3 [ 56.729152] Bluetooth: hci7: unexpected cc 0x1001 length: 249 > 9 [ 56.733049] Bluetooth: hci1: unexpected cc 0x0c25 length: 249 > 3 [ 56.734261] Bluetooth: hci2: unexpected cc 0x0c23 length: 249 > 4 [ 56.736278] Bluetooth: hci6: unexpected cc 0x1001 length: 249 > 9 [ 56.737482] Bluetooth: hci4: unexpected cc 0x1001 length: 249 > 9 [ 56.738947] Bluetooth: hci3: unexpected cc 0x0c38 length: 249 > 2 [ 56.741487] Bluetooth: hci1: unexpected cc 0x0c38 length: 249 > 2 [ 56.743038] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 56.745339] Bluetooth: hci2: unexpected cc 0x0c25 length: 249 > 3 [ 56.749856] Bluetooth: hci2: unexpected cc 0x0c38 length: 249 > 2 [ 56.751324] Bluetooth: hci7: unexpected cc 0x0c23 length: 249 > 4 [ 56.752671] Bluetooth: hci4: unexpected cc 0x0c23 length: 249 > 4 [ 56.754685] Bluetooth: hci3: HCI_REQ-0x0c1a [ 56.756840] Bluetooth: hci1: HCI_REQ-0x0c1a [ 56.756970] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 56.760115] Bluetooth: hci6: unexpected cc 0x0c23 length: 249 > 4 [ 56.775210] Bluetooth: hci2: HCI_REQ-0x0c1a [ 56.779354] Bluetooth: hci7: unexpected cc 0x0c25 length: 249 > 3 [ 56.780583] Bluetooth: hci7: unexpected cc 0x0c38 length: 249 > 2 [ 56.785264] Bluetooth: hci6: unexpected cc 0x0c25 length: 249 > 3 [ 56.786552] Bluetooth: hci6: unexpected cc 0x0c38 length: 249 > 2 [ 56.788266] Bluetooth: hci7: HCI_REQ-0x0c1a [ 56.796261] Bluetooth: hci6: HCI_REQ-0x0c1a [ 56.806904] Bluetooth: hci4: unexpected cc 0x0c25 length: 249 > 3 [ 56.808460] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 56.811678] Bluetooth: hci4: unexpected cc 0x0c38 length: 249 > 2 [ 56.820073] Bluetooth: hci4: HCI_REQ-0x0c1a [ 56.825543] Bluetooth: hci0: HCI_REQ-0x0c1a [ 56.898239] Bluetooth: hci5: unexpected cc 0x0c23 length: 249 > 4 [ 56.918906] Bluetooth: hci5: unexpected cc 0x0c25 length: 249 > 3 [ 56.920777] Bluetooth: hci5: unexpected cc 0x0c38 length: 249 > 2 [ 56.928279] Bluetooth: hci5: HCI_REQ-0x0c1a [ 58.769459] Bluetooth: hci3: command 0x0409 tx timeout [ 58.833701] Bluetooth: hci7: command 0x0409 tx timeout [ 58.834174] Bluetooth: hci6: command 0x0409 tx timeout [ 58.834584] Bluetooth: hci2: command 0x0409 tx timeout [ 58.835026] Bluetooth: hci1: command 0x0409 tx timeout [ 58.896716] Bluetooth: hci0: command 0x0409 tx timeout [ 58.897688] Bluetooth: hci4: command 0x0409 tx timeout [ 58.960735] Bluetooth: hci5: command 0x0409 tx timeout [ 60.817045] Bluetooth: hci3: command 0x041b tx timeout [ 60.880774] Bluetooth: hci1: command 0x041b tx timeout [ 60.881262] Bluetooth: hci2: command 0x041b tx timeout [ 60.881733] Bluetooth: hci6: command 0x041b tx timeout [ 60.882158] Bluetooth: hci7: command 0x041b tx timeout [ 60.944749] Bluetooth: hci4: command 0x041b tx timeout [ 60.945245] Bluetooth: hci0: command 0x041b tx timeout [ 61.008698] Bluetooth: hci5: command 0x041b tx timeout [ 62.864825] Bluetooth: hci3: command 0x040f tx timeout [ 62.928885] Bluetooth: hci7: command 0x040f tx timeout [ 62.929916] Bluetooth: hci6: command 0x040f tx timeout [ 62.930960] Bluetooth: hci2: command 0x040f tx timeout [ 62.931898] Bluetooth: hci1: command 0x040f tx timeout [ 62.992728] Bluetooth: hci0: command 0x040f tx timeout [ 62.993551] Bluetooth: hci4: command 0x040f tx timeout [ 63.056716] Bluetooth: hci5: command 0x040f tx timeout [ 64.912702] Bluetooth: hci3: command 0x0419 tx timeout [ 64.976748] Bluetooth: hci1: command 0x0419 tx timeout [ 64.978215] Bluetooth: hci2: command 0x0419 tx timeout [ 64.979011] Bluetooth: hci6: command 0x0419 tx timeout [ 64.979437] Bluetooth: hci7: command 0x0419 tx timeout [ 65.040684] Bluetooth: hci4: command 0x0419 tx timeout [ 65.041159] Bluetooth: hci0: command 0x0419 tx timeout [ 65.104689] Bluetooth: hci5: command 0x0419 tx timeout 12:59:05 executing program 7: mbind(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x1, 0x0, 0x0, 0x0) mlock(&(0x7f0000ffc000/0x1000)=nil, 0x1000) mbind(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0, 0x0, 0x0, 0x0) 12:59:05 executing program 7: mbind(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x1, 0x0, 0x0, 0x0) mlock(&(0x7f0000ffc000/0x1000)=nil, 0x1000) mbind(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0, 0x0, 0x0, 0x0) [ 111.881153] audit: type=1400 audit(1663073945.818:7): avc: denied { open } for pid=3746 comm="syz-executor.6" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1 [ 111.883773] audit: type=1400 audit(1663073945.818:8): avc: denied { kernel } for pid=3746 comm="syz-executor.6" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1 [ 111.902825] ------------[ cut here ]------------ [ 111.902844] [ 111.902848] ====================================================== [ 111.902851] WARNING: possible circular locking dependency detected [ 111.902855] 6.0.0-rc5-next-20220913 #1 Not tainted [ 111.902861] ------------------------------------------------------ [ 111.902864] syz-executor.6/3747 is trying to acquire lock: [ 111.902871] ffffffff853fa878 ((console_sem).lock){....}-{2:2}, at: down_trylock+0xe/0x70 [ 111.902903] [ 111.902903] but task is already holding lock: [ 111.902906] ffff88800f7de020 (&ctx->lock){....}-{2:2}, at: __perf_event_task_sched_out+0x53b/0x18d0 [ 111.902933] [ 111.902933] which lock already depends on the new lock. [ 111.902933] [ 111.902936] [ 111.902936] the existing dependency chain (in reverse order) is: [ 111.902939] [ 111.902939] -> #3 (&ctx->lock){....}-{2:2}: [ 111.902953] _raw_spin_lock+0x2a/0x40 [ 111.902969] __perf_event_task_sched_out+0x53b/0x18d0 [ 111.902981] __schedule+0xedd/0x2470 [ 111.902990] schedule+0xda/0x1b0 [ 111.903000] exit_to_user_mode_prepare+0x114/0x1a0 [ 111.903019] syscall_exit_to_user_mode+0x19/0x40 [ 111.903035] do_syscall_64+0x48/0x90 [ 111.903048] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 111.903072] [ 111.903072] -> #2 (&rq->__lock){-.-.}-{2:2}: [ 111.903086] _raw_spin_lock_nested+0x30/0x40 [ 111.903100] raw_spin_rq_lock_nested+0x1e/0x30 [ 111.903112] task_fork_fair+0x63/0x4d0 [ 111.903128] sched_cgroup_fork+0x3d0/0x540 [ 111.903141] copy_process+0x3f9e/0x6df0 [ 111.903152] kernel_clone+0xe7/0x890 [ 111.903161] user_mode_thread+0xad/0xf0 [ 111.903171] rest_init+0x24/0x250 [ 111.903186] arch_call_rest_init+0xf/0x14 [ 111.903204] start_kernel+0x4c1/0x4e6 [ 111.903221] secondary_startup_64_no_verify+0xe0/0xeb [ 111.903234] [ 111.903234] -> #1 (&p->pi_lock){-.-.}-{2:2}: [ 111.903247] _raw_spin_lock_irqsave+0x39/0x60 [ 111.903262] try_to_wake_up+0xab/0x1920 [ 111.903275] up+0x75/0xb0 [ 111.903286] __up_console_sem+0x6e/0x80 [ 111.903301] console_unlock+0x46a/0x590 [ 111.903316] do_con_write+0xc05/0x1d50 [ 111.903327] con_write+0x21/0x40 [ 111.903336] n_tty_write+0x4d4/0xfe0 [ 111.903348] file_tty_write.constprop.0+0x49c/0x8f0 [ 111.903359] vfs_write+0x9c3/0xd90 [ 111.903376] ksys_write+0x127/0x250 [ 111.903392] do_syscall_64+0x3b/0x90 [ 111.903405] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 111.903421] [ 111.903421] -> #0 ((console_sem).lock){....}-{2:2}: [ 111.903435] __lock_acquire+0x2a02/0x5e70 [ 111.903453] lock_acquire+0x1a2/0x530 [ 111.903468] _raw_spin_lock_irqsave+0x39/0x60 [ 111.903483] down_trylock+0xe/0x70 [ 111.903494] __down_trylock_console_sem+0x3b/0xd0 [ 111.903510] vprintk_emit+0x16b/0x560 [ 111.903526] vprintk+0x84/0xa0 [ 111.903542] _printk+0xba/0xf1 [ 111.903558] report_bug.cold+0x72/0xab [ 111.903570] handle_bug+0x3c/0x70 [ 111.903582] exc_invalid_op+0x14/0x50 [ 111.903595] asm_exc_invalid_op+0x16/0x20 [ 111.903610] group_sched_out.part.0+0x2c7/0x460 [ 111.903621] ctx_sched_out+0x8f1/0xc10 [ 111.903630] __perf_event_task_sched_out+0x6d0/0x18d0 [ 111.903642] __schedule+0xedd/0x2470 [ 111.903652] schedule+0xda/0x1b0 [ 111.903661] exit_to_user_mode_prepare+0x114/0x1a0 [ 111.903679] syscall_exit_to_user_mode+0x19/0x40 [ 111.903696] do_syscall_64+0x48/0x90 [ 111.903708] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 111.903724] [ 111.903724] other info that might help us debug this: [ 111.903724] [ 111.903727] Chain exists of: [ 111.903727] (console_sem).lock --> &rq->__lock --> &ctx->lock [ 111.903727] [ 111.903742] Possible unsafe locking scenario: [ 111.903742] [ 111.903745] CPU0 CPU1 [ 111.903747] ---- ---- [ 111.903749] lock(&ctx->lock); [ 111.903755] lock(&rq->__lock); [ 111.903761] lock(&ctx->lock); [ 111.903768] lock((console_sem).lock); [ 111.903773] [ 111.903773] *** DEADLOCK *** [ 111.903773] [ 111.903775] 2 locks held by syz-executor.6/3747: [ 111.903782] #0: ffff88806ce37cd8 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x1cf/0x2470 [ 111.903807] #1: ffff88800f7de020 (&ctx->lock){....}-{2:2}, at: __perf_event_task_sched_out+0x53b/0x18d0 [ 111.903835] [ 111.903835] stack backtrace: [ 111.903837] CPU: 0 PID: 3747 Comm: syz-executor.6 Not tainted 6.0.0-rc5-next-20220913 #1 [ 111.903850] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 111.903858] Call Trace: [ 111.903861] [ 111.903865] dump_stack_lvl+0x8b/0xb3 [ 111.903880] check_noncircular+0x263/0x2e0 [ 111.903896] ? format_decode+0x26c/0xb50 [ 111.903911] ? print_circular_bug+0x450/0x450 [ 111.903929] ? enable_ptr_key_workfn+0x20/0x20 [ 111.903944] ? format_decode+0x26c/0xb50 [ 111.903960] ? alloc_chain_hlocks+0x1ec/0x5a0 [ 111.903979] __lock_acquire+0x2a02/0x5e70 [ 111.904002] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 111.904021] ? __mutex_add_waiter+0x120/0x120 [ 111.904040] lock_acquire+0x1a2/0x530 [ 111.904057] ? down_trylock+0xe/0x70 [ 111.904072] ? rcu_read_unlock+0x40/0x40 [ 111.904094] ? vprintk+0x84/0xa0 [ 111.904113] _raw_spin_lock_irqsave+0x39/0x60 [ 111.904129] ? down_trylock+0xe/0x70 [ 111.904143] down_trylock+0xe/0x70 [ 111.904156] ? vprintk+0x84/0xa0 [ 111.904173] __down_trylock_console_sem+0x3b/0xd0 [ 111.904191] vprintk_emit+0x16b/0x560 [ 111.904211] vprintk+0x84/0xa0 [ 111.904229] _printk+0xba/0xf1 [ 111.904247] ? record_print_text.cold+0x16/0x16 [ 111.904270] ? report_bug.cold+0x66/0xab [ 111.904285] ? group_sched_out.part.0+0x2c7/0x460 [ 111.904296] report_bug.cold+0x72/0xab [ 111.904312] handle_bug+0x3c/0x70 [ 111.904326] exc_invalid_op+0x14/0x50 [ 111.904340] asm_exc_invalid_op+0x16/0x20 [ 111.904358] RIP: 0010:group_sched_out.part.0+0x2c7/0x460 [ 111.904370] Code: 5e 41 5f e9 3b b7 ef ff e8 36 b7 ef ff 65 8b 1d ab 15 ac 7e 31 ff 89 de e8 d6 b3 ef ff 85 db 0f 84 8a 00 00 00 e8 19 b7 ef ff <0f> 0b e9 a5 fe ff ff e8 0d b7 ef ff 48 8d 7d 10 48 b8 00 00 00 00 [ 111.904382] RSP: 0018:ffff88801c2f7c48 EFLAGS: 00010006 [ 111.904391] RAX: 0000000040000002 RBX: 0000000000000000 RCX: 0000000000000000 [ 111.904399] RDX: ffff88803810b580 RSI: ffffffff81566027 RDI: 0000000000000005 [ 111.904406] RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 [ 111.904414] R10: 0000000000000000 R11: ffffffff865aa01b R12: ffff88800f7de000 [ 111.904421] R13: ffff88806ce3d100 R14: ffffffff8547c660 R15: 0000000000000002 [ 111.904433] ? group_sched_out.part.0+0x2c7/0x460 [ 111.904447] ? group_sched_out.part.0+0x2c7/0x460 [ 111.904460] ctx_sched_out+0x8f1/0xc10 [ 111.904473] __perf_event_task_sched_out+0x6d0/0x18d0 [ 111.904490] ? lock_is_held_type+0xd7/0x130 [ 111.904508] ? __perf_cgroup_move+0x160/0x160 [ 111.904520] ? set_next_entity+0x304/0x550 [ 111.904538] ? update_curr+0x267/0x740 [ 111.904558] ? lock_is_held_type+0xd7/0x130 [ 111.904577] __schedule+0xedd/0x2470 [ 111.904591] ? io_schedule_timeout+0x150/0x150 [ 111.904604] ? __x64_sys_futex_time32+0x480/0x480 [ 111.904618] schedule+0xda/0x1b0 [ 111.904629] exit_to_user_mode_prepare+0x114/0x1a0 [ 111.904651] syscall_exit_to_user_mode+0x19/0x40 [ 111.904669] do_syscall_64+0x48/0x90 [ 111.904683] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 111.904701] RIP: 0033:0x7f357e6b0b19 [ 111.904709] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 111.904720] RSP: 002b:00007f357bc26218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 111.904731] RAX: 0000000000000001 RBX: 00007f357e7c3f68 RCX: 00007f357e6b0b19 [ 111.904739] RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f357e7c3f6c [ 111.904746] RBP: 00007f357e7c3f60 R08: 000000000000000e R09: 0000000000000000 [ 111.904753] R10: 0000000000000003 R11: 0000000000000246 R12: 00007f357e7c3f6c [ 111.904761] R13: 00007ffc507d181f R14: 00007f357bc26300 R15: 0000000000022000 [ 111.904775] [ 111.959394] WARNING: CPU: 0 PID: 3747 at kernel/events/core.c:2309 group_sched_out.part.0+0x2c7/0x460 [ 111.960085] Modules linked in: [ 111.960338] CPU: 0 PID: 3747 Comm: syz-executor.6 Not tainted 6.0.0-rc5-next-20220913 #1 [ 111.960938] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 111.961770] RIP: 0010:group_sched_out.part.0+0x2c7/0x460 [ 111.962176] Code: 5e 41 5f e9 3b b7 ef ff e8 36 b7 ef ff 65 8b 1d ab 15 ac 7e 31 ff 89 de e8 d6 b3 ef ff 85 db 0f 84 8a 00 00 00 e8 19 b7 ef ff <0f> 0b e9 a5 fe ff ff e8 0d b7 ef ff 48 8d 7d 10 48 b8 00 00 00 00 [ 111.963627] RSP: 0018:ffff88801c2f7c48 EFLAGS: 00010006 [ 111.964006] RAX: 0000000040000002 RBX: 0000000000000000 RCX: 0000000000000000 [ 111.964504] RDX: ffff88803810b580 RSI: ffffffff81566027 RDI: 0000000000000005 [ 111.965011] RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 [ 111.965519] R10: 0000000000000000 R11: ffffffff865aa01b R12: ffff88800f7de000 [ 111.966020] R13: ffff88806ce3d100 R14: ffffffff8547c660 R15: 0000000000000002 [ 111.966522] FS: 00007f357bc26700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 [ 111.967095] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 111.967505] CR2: 00007fa1c76216f4 CR3: 000000001b1d8000 CR4: 0000000000350ef0 [ 111.968007] Call Trace: [ 111.968192] [ 111.968369] ctx_sched_out+0x8f1/0xc10 [ 111.968650] __perf_event_task_sched_out+0x6d0/0x18d0 [ 111.969018] ? lock_is_held_type+0xd7/0x130 [ 111.969333] ? __perf_cgroup_move+0x160/0x160 [ 111.969657] ? set_next_entity+0x304/0x550 [ 111.969966] ? update_curr+0x267/0x740 [ 111.970254] ? lock_is_held_type+0xd7/0x130 [ 111.970569] __schedule+0xedd/0x2470 [ 111.970844] ? io_schedule_timeout+0x150/0x150 [ 111.971181] ? __x64_sys_futex_time32+0x480/0x480 [ 111.971525] schedule+0xda/0x1b0 [ 111.971773] exit_to_user_mode_prepare+0x114/0x1a0 [ 111.972130] syscall_exit_to_user_mode+0x19/0x40 [ 111.972478] do_syscall_64+0x48/0x90 [ 111.972752] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 111.973126] RIP: 0033:0x7f357e6b0b19 [ 111.973393] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 111.974664] RSP: 002b:00007f357bc26218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 111.975206] RAX: 0000000000000001 RBX: 00007f357e7c3f68 RCX: 00007f357e6b0b19 [ 111.975708] RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f357e7c3f6c [ 111.976208] RBP: 00007f357e7c3f60 R08: 000000000000000e R09: 0000000000000000 [ 111.976710] R10: 0000000000000003 R11: 0000000000000246 R12: 00007f357e7c3f6c [ 111.977209] R13: 00007ffc507d181f R14: 00007f357bc26300 R15: 0000000000022000 [ 111.977721] [ 111.977895] irq event stamp: 618 [ 111.978133] hardirqs last enabled at (617): [] exit_to_user_mode_prepare+0x109/0x1a0 [ 111.978793] hardirqs last disabled at (618): [] __schedule+0x1225/0x2470 [ 111.979384] softirqs last enabled at (606): [] __irq_exit_rcu+0x11b/0x180 [ 111.979985] softirqs last disabled at (601): [] __irq_exit_rcu+0x11b/0x180 [ 111.980585] ---[ end trace 0000000000000000 ]--- 12:59:05 executing program 7: mbind(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x1, 0x0, 0x0, 0x0) mlock(&(0x7f0000ffc000/0x1000)=nil, 0x1000) mbind(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0, 0x0, 0x0, 0x0) 12:59:06 executing program 7: mbind(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x1, 0x0, 0x0, 0x0) mlock(&(0x7f0000ffc000/0x1000)=nil, 0x1000) mbind(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0, 0x0, 0x0, 0x0) 12:59:06 executing program 7: mbind(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x1, 0x0, 0x0, 0x0) mlock(&(0x7f0000ffc000/0x1000)=nil, 0x1000) mbind(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0, 0x0, 0x0, 0x0) 12:59:06 executing program 7: mbind(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x1, 0x0, 0x0, 0x0) mlock(&(0x7f0000ffc000/0x1000)=nil, 0x1000) mbind(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0, 0x0, 0x0, 0x0) 12:59:06 executing program 7: mbind(&(0x7f0000ffa000/0x4000)=nil, 0x4000, 0x1, 0x0, 0x0, 0x0) mlock(&(0x7f0000ffc000/0x1000)=nil, 0x1000) mbind(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x0, 0x0, 0x0, 0x0) 12:59:06 executing program 6: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_config_ext}, 0x0, 0x0, 0xffffffffffffffff, 0x0) futex(&(0x7f00000002c0)=0x1, 0x8c, 0x1, 0x0, &(0x7f0000000380), 0x1) io_submit(0x0, 0x0, 0x0) [ 113.512603] perf: interrupt took too long (5067 > 5020), lowering kernel.perf_event_max_sample_rate to 39000 [ 113.516640] hrtimer: interrupt took 2688962 ns [ 113.517251] perf: interrupt took too long (10069 > 10006), lowering kernel.perf_event_max_sample_rate to 19000 [ 113.561824] perf: interrupt took too long (12597 > 12586), lowering kernel.perf_event_max_sample_rate to 15000 [ 113.569088] perf: interrupt took too long (15770 > 15746), lowering kernel.perf_event_max_sample_rate to 12000 [ 113.590827] audit: type=1400 audit(1663073947.528:9): avc: denied { write } for pid=3866 comm="syz-executor.4" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1 [ 117.682873] Bluetooth: hci6: unexpected cc 0x0c03 length: 249 > 1 [ 117.684121] Bluetooth: hci6: unexpected cc 0x1003 length: 249 > 9 [ 117.685255] Bluetooth: hci6: unexpected cc 0x1001 length: 249 > 9 [ 117.687967] Bluetooth: hci6: unexpected cc 0x0c23 length: 249 > 4 [ 117.689366] Bluetooth: hci6: unexpected cc 0x0c25 length: 249 > 3 [ 117.691497] Bluetooth: hci6: unexpected cc 0x0c38 length: 249 > 2 [ 117.694244] Bluetooth: hci6: HCI_REQ-0x0c1a [ 119.696658] Bluetooth: hci5: Opcode 0x c03 failed: -110 [ 119.762030] Bluetooth: hci6: command 0x0409 tx timeout [ 121.814494] Bluetooth: hci6: command 0x041b tx timeout VM DIAGNOSIS: 12:59:06 Registers: info registers vcpu 0 RAX=0000000000000000 RBX=00000000000003f9 RCX=0000000000000000 RDX=00000000000003f9 RSI=ffffffff822b25c1 RDI=ffffffff8763fae0 RBP=ffffffff8763faa0 RSP=ffff88801c2f7678 R8 =0000000000000005 R9 =0000000000000000 R10=0000000000000000 R11=0000000000000001 R12=0000000000000000 R13=ffffffff8763faa0 R14=ffffffff8763faf0 R15=ffffffff8763fd48 RIP=ffffffff822b2619 RFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 00000000 00000000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 00000000 00000000 FS =0000 00007f357bc26700 00000000 00000000 GS =0000 ffff88806ce00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007fa1c76216f4 CR3=000000001b1d8000 CR4=00350ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 YMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM01=0000000000000000 0000000000000000 00007f357e7977c0 00007f357e7977c8 YMM02=0000000000000000 0000000000000000 00007f357e7977e0 00007f357e7977c0 YMM03=0000000000000000 0000000000000000 00007f357e7977c8 00007f357e7977c0 YMM04=0000000000000000 0000000000000000 ffffffffffffffff ffffffff00000000 YMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM06=0000000000000000 0000000000000000 0000000000000000 000000524f525245 YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM08=0000000000000000 0000000000000000 0000000000000000 00524f5252450040 YMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 info registers vcpu 1 RAX=0000000000000000 RBX=0000000000000001 RCX=1ffff11007c26ec4 RDX=dffffc0000000000 RSI=ffffffff816c513f RDI=ffff888015f5e3a0 RBP=ffff88803e137620 RSP=ffff88803e137548 R8 =ffffffff852c4640 R9 =ffffffff85eca5b4 R10=ffffed1007c26ec6 R11=ffff88803e137608 R12=ffff88803e137609 R13=ffff88803e137628 R14=ffff88803e1375c8 R15=ffffffff816c513e RIP=ffffffff8111b455 RFL=00000287 [--S--PC] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 00000000 00000000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 00000000 00000000 FS =0000 0000000000000000 00000000 00000000 GS =0000 ffff88806cf00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe000004a000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000048000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007f479d8688e0 CR3=000000003e140000 CR4=00350ee0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 YMM00=0000000000000000 0000000000000000 756e696c2d34365f 3638782f62696c2f YMM01=0000000000000000 0000000000000000 00362e6f732e6362 696c2f756e672d78 YMM02=0000000000000000 0000000000000000 ffff0000000000ff ffffffffffffffff YMM03=0000000000000000 0000000000000000 ffffffffffffffff ffffffffffffffff YMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000