syzkaller login: [ 38.869208] sshd (242) used greatest stack depth: 24768 bytes left Warning: Permanently added '[localhost]:33215' (ECDSA) to the list of known hosts. 2022/09/19 12:46:28 fuzzer started 2022/09/19 12:46:28 dialing manager at localhost:42121 [ 41.045575] cgroup: Unknown subsys name 'net' [ 41.138735] cgroup: Unknown subsys name 'rlimit' 2022/09/19 12:46:42 syscalls: 2215 2022/09/19 12:46:42 code coverage: enabled 2022/09/19 12:46:42 comparison tracing: enabled 2022/09/19 12:46:42 extra coverage: enabled 2022/09/19 12:46:42 setuid sandbox: enabled 2022/09/19 12:46:42 namespace sandbox: enabled 2022/09/19 12:46:42 Android sandbox: enabled 2022/09/19 12:46:42 fault injection: enabled 2022/09/19 12:46:42 leak checking: enabled 2022/09/19 12:46:42 net packet injection: enabled 2022/09/19 12:46:42 net device setup: enabled 2022/09/19 12:46:42 concurrency sanitizer: /sys/kernel/debug/kcsan does not exist 2022/09/19 12:46:42 devlink PCI setup: PCI device 0000:00:10.0 is not available 2022/09/19 12:46:42 USB emulation: enabled 2022/09/19 12:46:42 hci packet injection: enabled 2022/09/19 12:46:42 wifi device emulation: failed to parse kernel version (6.0.0-rc6-next-20220919) 2022/09/19 12:46:42 802.15.4 emulation: enabled 2022/09/19 12:46:42 fetching corpus: 0, signal 0/2000 (executing program) 2022/09/19 12:46:42 fetching corpus: 50, signal 29509/31779 (executing program) 2022/09/19 12:46:42 fetching corpus: 100, signal 41214/43584 (executing program) 2022/09/19 12:46:42 fetching corpus: 150, signal 47149/49568 (executing program) 2022/09/19 12:46:43 fetching corpus: 200, signal 55903/57645 (executing program) 2022/09/19 12:46:43 fetching corpus: 250, signal 60638/61921 (executing program) 2022/09/19 12:46:43 fetching corpus: 300, signal 65439/65964 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/66998 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67036 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67063 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67091 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67120 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67144 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67168 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67202 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67248 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67287 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67312 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67344 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67365 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67400 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67430 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67460 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67495 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67523 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67551 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67585 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67616 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67647 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67676 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67703 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67738 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67769 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67793 (executing program) 2022/09/19 12:46:43 fetching corpus: 309, signal 66712/67793 (executing program) 2022/09/19 12:46:46 starting 8 fuzzer processes 12:46:46 executing program 0: close_range(0xffffffffffffffff, 0xffffffffffffffff, 0x2) eventfd2(0x0, 0x0) pipe(&(0x7f0000000000)) socket$netlink(0x10, 0x3, 0x0) pselect6(0x40, &(0x7f0000000100)={0x5f}, 0x0, 0x0, 0x0, 0x0) 12:46:46 executing program 2: syz_emit_ethernet(0x46, &(0x7f0000001400)={@multicast, @local, @void, {@ipv6={0x86dd, @udp={0x0, 0x6, '#\x00\b', 0x10, 0x2c, 0x0, @empty, @local, {[], {0x0, 0xfffc, 0x10, 0x0, @opaque="44e67c344da1a96c"}}}}}}, 0x0) 12:46:46 executing program 1: r0 = syz_open_dev$tty1(0xc, 0x4, 0x1) ioctl$VT_OPENQRY(r0, 0x5600, &(0x7f00000002c0)) 12:46:46 executing program 3: r0 = syz_io_uring_setup(0x6b91, &(0x7f0000000000), &(0x7f0000fff000/0x1000)=nil, &(0x7f0000ffc000/0x3000)=nil, &(0x7f0000000080), &(0x7f00000000c0)) io_uring_register$IORING_UNREGISTER_FILES(r0, 0x3, 0x0, 0x0) 12:46:46 executing program 4: syz_mount_image$ext4(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, 0x0) mount(0x0, &(0x7f0000000080)='./file0\x00', &(0x7f00000000c0)='proc\x00', 0x0, 0x0) r0 = open$dir(&(0x7f0000000040)='./file0\x00', 0x0, 0x0) getdents(r0, &(0x7f0000000140)=""/30, 0x1e) getdents(r0, &(0x7f0000000180)=""/110, 0x6e) [ 58.322339] audit: type=1400 audit(1663591606.114:6): avc: denied { execmem } for pid=284 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 12:46:46 executing program 6: r0 = perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 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) syz_genetlink_get_family_id$ethtool(&(0x7f0000000040), 0xffffffffffffffff) ioctl$AUTOFS_DEV_IOCTL_SETPIPEFD(0xffffffffffffffff, 0xc0189378, &(0x7f00000001c0)={{0x1, 0x1, 0x18}, './file0\x00'}) ioctl$BTRFS_IOC_INO_LOOKUP(0xffffffffffffffff, 0xd0009412, &(0x7f0000001700)={0x0, 0x2}) 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={&(0x7f0000000480), 0x1}, 0x603}, 0x0, 0xffffffefffffffff, 0xffffffffffffffff, 0x0) r1 = syz_open_procfs(0x0, &(0x7f00000000c0)='map_files\x00') r2 = syz_open_procfs(0x0, &(0x7f0000000080)='oom_score_adj\x00') ioctl$AUTOFS_DEV_IOCTL_EXPIRE(0xffffffffffffffff, 0xc018937c, &(0x7f0000000300)=ANY=[@ANYRESHEX, @ANYRES32, @ANYRES64=r0, @ANYRESHEX, @ANYRES16, @ANYRESDEC, @ANYRES64, @ANYRES32, @ANYRESOCT]) fstat(r2, &(0x7f0000000a40)) mount$9p_unix(&(0x7f0000000000)='./file0\x00', &(0x7f0000000040)='./file0\x00', &(0x7f0000000100), 0xa8420, &(0x7f0000000940)={'trans=unix,', {[{@cache_fscache}, {@access_client}, {@access_any}, {@access_uid={'access', 0x3d, 0xee01}}, {@privport}, {@dfltgid}], [{@fscontext={'fscontext', 0x3d, 'system_u'}}, {@obj_user={'obj_user', 0x3d, 'environ\x00'}}, {@subj_role={'subj_role', 0x3d, 'environ\x00'}}, {@euid_eq}, {@measure}]}}) getdents(r1, &(0x7f0000000000)=""/94, 0x20000018) fstat(0xffffffffffffffff, &(0x7f0000000400)) 12:46:46 executing program 5: clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) futex(&(0x7f0000000000)=0x1, 0x8, 0x1, &(0x7f0000000100)={r0, r1+10000000}, &(0x7f0000000180)=0x1, 0x1) mknod(&(0x7f0000008d80)='./file0\x00', 0x0, 0x0) clock_gettime(0x1, &(0x7f00000002c0)) mount$9p_unix(&(0x7f0000000080)='./file0\x00', &(0x7f0000000040)='./file0\x00', 0x0, 0x1a901e, 0x0) 12:46:46 executing program 7: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(r1, &(0x7f0000000240)='2', 0x1, 0x0) r2 = creat(&(0x7f0000000040)='./file0\x00', 0x0) pwrite64(r2, &(0x7f0000000140)="c0", 0x1, 0x0) ioctl$EXT4_IOC_MOVE_EXT(r0, 0xc028660f, &(0x7f0000000000)={0x0, r2, 0x7fffffff}) [ 59.740166] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 59.742024] Bluetooth: hci2: unexpected cc 0x0c03 length: 249 > 1 [ 59.744010] Bluetooth: hci3: unexpected cc 0x0c03 length: 249 > 1 [ 59.746544] Bluetooth: hci1: unexpected cc 0x0c03 length: 249 > 1 [ 59.748561] Bluetooth: hci3: unexpected cc 0x1003 length: 249 > 9 [ 59.749705] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 59.751014] Bluetooth: hci2: unexpected cc 0x1003 length: 249 > 9 [ 59.753846] Bluetooth: hci1: unexpected cc 0x1003 length: 249 > 9 [ 59.755170] Bluetooth: hci3: unexpected cc 0x1001 length: 249 > 9 [ 59.756372] Bluetooth: hci1: unexpected cc 0x1001 length: 249 > 9 [ 59.757425] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 59.773554] Bluetooth: hci4: unexpected cc 0x0c03 length: 249 > 1 [ 59.775438] Bluetooth: hci2: unexpected cc 0x1001 length: 249 > 9 [ 59.779725] Bluetooth: hci3: unexpected cc 0x0c23 length: 249 > 4 [ 59.781105] Bluetooth: hci6: unexpected cc 0x0c03 length: 249 > 1 [ 59.782816] Bluetooth: hci1: unexpected cc 0x0c23 length: 249 > 4 [ 59.786804] Bluetooth: hci1: unexpected cc 0x0c25 length: 249 > 3 [ 59.788621] Bluetooth: hci3: unexpected cc 0x0c25 length: 249 > 3 [ 59.790024] Bluetooth: hci1: unexpected cc 0x0c38 length: 249 > 2 [ 59.791484] Bluetooth: hci3: unexpected cc 0x0c38 length: 249 > 2 [ 59.796271] Bluetooth: hci1: HCI_REQ-0x0c1a [ 59.798535] Bluetooth: hci7: unexpected cc 0x0c03 length: 249 > 1 [ 59.800208] Bluetooth: hci7: unexpected cc 0x1003 length: 249 > 9 [ 59.807891] Bluetooth: hci7: unexpected cc 0x1001 length: 249 > 9 [ 59.807919] Bluetooth: hci3: HCI_REQ-0x0c1a [ 59.820624] Bluetooth: hci4: unexpected cc 0x1003 length: 249 > 9 [ 59.821777] Bluetooth: hci6: unexpected cc 0x1003 length: 249 > 9 [ 59.825556] Bluetooth: hci7: unexpected cc 0x0c23 length: 249 > 4 [ 59.826162] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 59.829449] Bluetooth: hci7: unexpected cc 0x0c25 length: 249 > 3 [ 59.831169] Bluetooth: hci7: unexpected cc 0x0c38 length: 249 > 2 [ 59.836050] Bluetooth: hci7: HCI_REQ-0x0c1a [ 59.836922] Bluetooth: hci4: unexpected cc 0x1001 length: 249 > 9 [ 59.844623] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 59.845956] Bluetooth: hci6: unexpected cc 0x1001 length: 249 > 9 [ 59.848459] Bluetooth: hci2: unexpected cc 0x0c23 length: 249 > 4 [ 59.851490] Bluetooth: hci5: unexpected cc 0x0c03 length: 249 > 1 [ 59.853449] Bluetooth: hci5: unexpected cc 0x1003 length: 249 > 9 [ 59.854826] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 59.856105] Bluetooth: hci5: unexpected cc 0x1001 length: 249 > 9 [ 59.860262] Bluetooth: hci5: unexpected cc 0x0c23 length: 249 > 4 [ 59.862739] Bluetooth: hci4: unexpected cc 0x0c23 length: 249 > 4 [ 59.864274] Bluetooth: hci2: unexpected cc 0x0c25 length: 249 > 3 [ 59.865769] Bluetooth: hci6: unexpected cc 0x0c23 length: 249 > 4 [ 59.867172] Bluetooth: hci2: unexpected cc 0x0c38 length: 249 > 2 [ 59.867393] Bluetooth: hci0: HCI_REQ-0x0c1a [ 59.868719] Bluetooth: hci4: unexpected cc 0x0c25 length: 249 > 3 [ 59.872722] Bluetooth: hci6: unexpected cc 0x0c25 length: 249 > 3 [ 59.874422] Bluetooth: hci6: unexpected cc 0x0c38 length: 249 > 2 [ 59.879003] Bluetooth: hci4: unexpected cc 0x0c38 length: 249 > 2 [ 59.880184] Bluetooth: hci5: unexpected cc 0x0c25 length: 249 > 3 [ 59.881625] Bluetooth: hci2: HCI_REQ-0x0c1a [ 59.883815] Bluetooth: hci5: unexpected cc 0x0c38 length: 249 > 2 [ 59.891623] Bluetooth: hci4: HCI_REQ-0x0c1a [ 59.902668] Bluetooth: hci5: HCI_REQ-0x0c1a [ 59.903857] Bluetooth: hci6: HCI_REQ-0x0c1a [ 61.867795] Bluetooth: hci3: command 0x0409 tx timeout [ 61.868459] Bluetooth: hci7: command 0x0409 tx timeout [ 61.869287] Bluetooth: hci1: command 0x0409 tx timeout [ 61.931457] Bluetooth: hci0: command 0x0409 tx timeout [ 61.931612] Bluetooth: hci6: command 0x0409 tx timeout [ 61.932934] Bluetooth: hci5: command 0x0409 tx timeout [ 61.933862] Bluetooth: hci4: command 0x0409 tx timeout [ 61.934610] Bluetooth: hci2: command 0x0409 tx timeout [ 63.915606] Bluetooth: hci1: command 0x041b tx timeout [ 63.916543] Bluetooth: hci3: command 0x041b tx timeout [ 63.918163] Bluetooth: hci7: command 0x041b tx timeout [ 63.979445] Bluetooth: hci2: command 0x041b tx timeout [ 63.981192] Bluetooth: hci4: command 0x041b tx timeout [ 63.982084] Bluetooth: hci5: command 0x041b tx timeout [ 63.983470] Bluetooth: hci6: command 0x041b tx timeout [ 63.984752] Bluetooth: hci0: command 0x041b tx timeout [ 65.964431] Bluetooth: hci7: command 0x040f tx timeout [ 65.965112] Bluetooth: hci3: command 0x040f tx timeout [ 65.965955] Bluetooth: hci1: command 0x040f tx timeout [ 66.027375] Bluetooth: hci0: command 0x040f tx timeout [ 66.027873] Bluetooth: hci6: command 0x040f tx timeout [ 66.028661] Bluetooth: hci5: command 0x040f tx timeout [ 66.029108] Bluetooth: hci4: command 0x040f tx timeout [ 66.029588] Bluetooth: hci2: command 0x040f tx timeout [ 68.011553] Bluetooth: hci1: command 0x0419 tx timeout [ 68.012469] Bluetooth: hci3: command 0x0419 tx timeout [ 68.013199] Bluetooth: hci7: command 0x0419 tx timeout [ 68.075495] Bluetooth: hci2: command 0x0419 tx timeout [ 68.076816] Bluetooth: hci4: command 0x0419 tx timeout [ 68.077669] Bluetooth: hci5: command 0x0419 tx timeout [ 68.079522] Bluetooth: hci6: command 0x0419 tx timeout [ 68.080352] Bluetooth: hci0: command 0x0419 tx timeout 12:47:41 executing program 5: clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) futex(&(0x7f0000000000)=0x1, 0x8, 0x1, &(0x7f0000000100)={r0, r1+10000000}, &(0x7f0000000180)=0x1, 0x1) mknod(&(0x7f0000008d80)='./file0\x00', 0x0, 0x0) clock_gettime(0x1, &(0x7f00000002c0)) mount$9p_unix(&(0x7f0000000080)='./file0\x00', &(0x7f0000000040)='./file0\x00', 0x0, 0x1a901e, 0x0) 12:47:41 executing program 5: clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) futex(&(0x7f0000000000)=0x1, 0x8, 0x1, &(0x7f0000000100)={r0, r1+10000000}, &(0x7f0000000180)=0x1, 0x1) mknod(&(0x7f0000008d80)='./file0\x00', 0x0, 0x0) clock_gettime(0x1, &(0x7f00000002c0)) mount$9p_unix(&(0x7f0000000080)='./file0\x00', &(0x7f0000000040)='./file0\x00', 0x0, 0x1a901e, 0x0) 12:47:41 executing program 3: r0 = syz_io_uring_setup(0x6b91, &(0x7f0000000000), &(0x7f0000fff000/0x1000)=nil, &(0x7f0000ffc000/0x3000)=nil, &(0x7f0000000080), &(0x7f00000000c0)) io_uring_register$IORING_UNREGISTER_FILES(r0, 0x3, 0x0, 0x0) 12:47:41 executing program 5: clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) futex(&(0x7f0000000000)=0x1, 0x8, 0x1, &(0x7f0000000100)={r0, r1+10000000}, &(0x7f0000000180)=0x1, 0x1) mknod(&(0x7f0000008d80)='./file0\x00', 0x0, 0x0) clock_gettime(0x1, &(0x7f00000002c0)) mount$9p_unix(&(0x7f0000000080)='./file0\x00', &(0x7f0000000040)='./file0\x00', 0x0, 0x1a901e, 0x0) 12:47:42 executing program 3: r0 = syz_io_uring_setup(0x6b91, &(0x7f0000000000), &(0x7f0000fff000/0x1000)=nil, &(0x7f0000ffc000/0x3000)=nil, &(0x7f0000000080), &(0x7f00000000c0)) io_uring_register$IORING_UNREGISTER_FILES(r0, 0x3, 0x0, 0x0) 12:47:42 executing program 5: clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) futex(&(0x7f0000000000)=0x1, 0x8, 0x1, &(0x7f0000000100)={r0, r1+10000000}, &(0x7f0000000180)=0x1, 0x1) mknod(&(0x7f0000008d80)='./file0\x00', 0x0, 0x0) clock_gettime(0x1, &(0x7f00000002c0)) mount$9p_unix(&(0x7f0000000080)='./file0\x00', &(0x7f0000000040)='./file0\x00', 0x0, 0x1a901e, 0x0) 12:47:42 executing program 5: clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) futex(&(0x7f0000000000)=0x1, 0x8, 0x1, &(0x7f0000000100)={r0, r1+10000000}, &(0x7f0000000180)=0x1, 0x1) mknod(&(0x7f0000008d80)='./file0\x00', 0x0, 0x0) clock_gettime(0x1, &(0x7f00000002c0)) mount$9p_unix(&(0x7f0000000080)='./file0\x00', &(0x7f0000000040)='./file0\x00', 0x0, 0x1a901e, 0x0) 12:47:42 executing program 3: r0 = syz_io_uring_setup(0x6b91, &(0x7f0000000000), &(0x7f0000fff000/0x1000)=nil, &(0x7f0000ffc000/0x3000)=nil, &(0x7f0000000080), &(0x7f00000000c0)) io_uring_register$IORING_UNREGISTER_FILES(r0, 0x3, 0x0, 0x0) [ 115.870440] audit: type=1400 audit(1663591663.663:7): avc: denied { open } for pid=3842 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 [ 115.872019] audit: type=1400 audit(1663591663.663:8): avc: denied { kernel } for pid=3842 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 [ 115.894378] ------------[ cut here ]------------ [ 115.894400] [ 115.894403] ====================================================== [ 115.894407] WARNING: possible circular locking dependency detected [ 115.894411] 6.0.0-rc6-next-20220919 #1 Not tainted [ 115.894418] ------------------------------------------------------ [ 115.894421] syz-executor.6/3844 is trying to acquire lock: [ 115.894428] ffffffff853fa838 ((console_sem).lock){....}-{2:2}, at: down_trylock+0xe/0x70 [ 115.894466] [ 115.894466] but task is already holding lock: [ 115.894468] ffff88800eeb6820 (&ctx->lock){....}-{2:2}, at: __perf_event_task_sched_out+0x53b/0x18d0 [ 115.894496] [ 115.894496] which lock already depends on the new lock. [ 115.894496] [ 115.894499] [ 115.894499] the existing dependency chain (in reverse order) is: [ 115.894503] [ 115.894503] -> #3 (&ctx->lock){....}-{2:2}: [ 115.894517] _raw_spin_lock+0x2a/0x40 [ 115.894534] __perf_event_task_sched_out+0x53b/0x18d0 [ 115.894546] __schedule+0xedd/0x2470 [ 115.894557] schedule+0xda/0x1b0 [ 115.894567] exit_to_user_mode_prepare+0x114/0x1a0 [ 115.894587] syscall_exit_to_user_mode+0x19/0x40 [ 115.894604] do_syscall_64+0x48/0x90 [ 115.894618] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 115.894635] [ 115.894635] -> #2 (&rq->__lock){-.-.}-{2:2}: [ 115.894649] _raw_spin_lock_nested+0x30/0x40 [ 115.894663] raw_spin_rq_lock_nested+0x1e/0x30 [ 115.894676] task_fork_fair+0x63/0x4d0 [ 115.894693] sched_cgroup_fork+0x3d0/0x540 [ 115.894706] copy_process+0x4183/0x6e20 [ 115.894717] kernel_clone+0xe7/0x890 [ 115.894726] user_mode_thread+0xad/0xf0 [ 115.894736] rest_init+0x24/0x250 [ 115.894752] arch_call_rest_init+0xf/0x14 [ 115.894765] start_kernel+0x4c1/0x4e6 [ 115.894774] secondary_startup_64_no_verify+0xe0/0xeb [ 115.894788] [ 115.894788] -> #1 (&p->pi_lock){-.-.}-{2:2}: [ 115.894802] _raw_spin_lock_irqsave+0x39/0x60 [ 115.894817] try_to_wake_up+0xab/0x1920 [ 115.894829] up+0x75/0xb0 [ 115.894840] __up_console_sem+0x6e/0x80 [ 115.894856] console_unlock+0x46a/0x590 [ 115.894871] vt_ioctl+0x2822/0x2ca0 [ 115.894884] tty_ioctl+0x7c4/0x1700 [ 115.894895] __x64_sys_ioctl+0x19a/0x210 [ 115.894910] do_syscall_64+0x3b/0x90 [ 115.894923] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 115.894940] [ 115.894940] -> #0 ((console_sem).lock){....}-{2:2}: [ 115.894953] __lock_acquire+0x2a02/0x5e70 [ 115.894969] lock_acquire+0x1a2/0x530 [ 115.894985] _raw_spin_lock_irqsave+0x39/0x60 [ 115.894999] down_trylock+0xe/0x70 [ 115.895015] __down_trylock_console_sem+0x3b/0xd0 [ 115.895035] vprintk_emit+0x16b/0x560 [ 115.895052] vprintk+0x84/0xa0 [ 115.895068] _printk+0xba/0xf1 [ 115.895085] report_bug.cold+0x72/0xab [ 115.895098] handle_bug+0x3c/0x70 [ 115.895111] exc_invalid_op+0x14/0x50 [ 115.895124] asm_exc_invalid_op+0x16/0x20 [ 115.895140] group_sched_out.part.0+0x2c7/0x460 [ 115.895150] ctx_sched_out+0x8f1/0xc10 [ 115.895159] __perf_event_task_sched_out+0x6d0/0x18d0 [ 115.895171] __schedule+0xedd/0x2470 [ 115.895181] schedule+0xda/0x1b0 [ 115.895190] exit_to_user_mode_prepare+0x114/0x1a0 [ 115.895209] syscall_exit_to_user_mode+0x19/0x40 [ 115.895225] do_syscall_64+0x48/0x90 [ 115.895238] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 115.895255] [ 115.895255] other info that might help us debug this: [ 115.895255] [ 115.895258] Chain exists of: [ 115.895258] (console_sem).lock --> &rq->__lock --> &ctx->lock [ 115.895258] [ 115.895273] Possible unsafe locking scenario: [ 115.895273] [ 115.895275] CPU0 CPU1 [ 115.895278] ---- ---- [ 115.895280] lock(&ctx->lock); [ 115.895286] lock(&rq->__lock); [ 115.895292] lock(&ctx->lock); [ 115.895298] lock((console_sem).lock); [ 115.895304] [ 115.895304] *** DEADLOCK *** [ 115.895304] [ 115.895306] 2 locks held by syz-executor.6/3844: [ 115.895313] #0: ffff88806cf37d18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x1cf/0x2470 [ 115.895339] #1: ffff88800eeb6820 (&ctx->lock){....}-{2:2}, at: __perf_event_task_sched_out+0x53b/0x18d0 [ 115.895366] [ 115.895366] stack backtrace: [ 115.895369] CPU: 1 PID: 3844 Comm: syz-executor.6 Not tainted 6.0.0-rc6-next-20220919 #1 [ 115.895382] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 115.895390] Call Trace: [ 115.895393] [ 115.895397] dump_stack_lvl+0x8b/0xb3 [ 115.895412] check_noncircular+0x263/0x2e0 [ 115.895428] ? format_decode+0x26c/0xb50 [ 115.895443] ? print_circular_bug+0x450/0x450 [ 115.895460] ? enable_ptr_key_workfn+0x20/0x20 [ 115.895474] ? __lockdep_reset_lock+0x180/0x180 [ 115.895490] ? format_decode+0x26c/0xb50 [ 115.895506] ? alloc_chain_hlocks+0x1ec/0x5a0 [ 115.895523] __lock_acquire+0x2a02/0x5e70 [ 115.895544] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 115.895566] lock_acquire+0x1a2/0x530 [ 115.895582] ? down_trylock+0xe/0x70 [ 115.895597] ? lock_release+0x750/0x750 [ 115.895613] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 115.895634] ? vprintk+0x84/0xa0 [ 115.895651] _raw_spin_lock_irqsave+0x39/0x60 [ 115.895667] ? down_trylock+0xe/0x70 [ 115.895680] down_trylock+0xe/0x70 [ 115.895693] ? vprintk+0x84/0xa0 [ 115.895709] __down_trylock_console_sem+0x3b/0xd0 [ 115.895726] vprintk_emit+0x16b/0x560 [ 115.895743] ? lock_downgrade+0x6d0/0x6d0 [ 115.895761] vprintk+0x84/0xa0 [ 115.895778] _printk+0xba/0xf1 [ 115.895795] ? record_print_text.cold+0x16/0x16 [ 115.895815] ? hrtimer_try_to_cancel+0x163/0x2c0 [ 115.895829] ? lock_downgrade+0x6d0/0x6d0 [ 115.895846] ? report_bug.cold+0x66/0xab [ 115.895860] ? group_sched_out.part.0+0x2c7/0x460 [ 115.895871] report_bug.cold+0x72/0xab [ 115.895886] handle_bug+0x3c/0x70 [ 115.895900] exc_invalid_op+0x14/0x50 [ 115.895914] asm_exc_invalid_op+0x16/0x20 [ 115.895931] RIP: 0010:group_sched_out.part.0+0x2c7/0x460 [ 115.895944] Code: 5e 41 5f e9 3b b7 ef ff e8 36 b7 ef ff 65 8b 1d 5b 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 [ 115.895956] RSP: 0018:ffff88801f517c48 EFLAGS: 00010006 [ 115.895965] RAX: 0000000040000002 RBX: 0000000000000000 RCX: 0000000000000000 [ 115.895973] RDX: ffff88800e8d0000 RSI: ffffffff81566077 RDI: 0000000000000005 [ 115.895981] RBP: ffff88803d5e05c8 R08: 0000000000000005 R09: 0000000000000001 [ 115.895988] R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800eeb6800 [ 115.895996] R13: ffff88806cf3d140 R14: ffffffff8547c780 R15: 0000000000000002 [ 115.896007] ? group_sched_out.part.0+0x2c7/0x460 [ 115.896020] ? group_sched_out.part.0+0x2c7/0x460 [ 115.896033] ctx_sched_out+0x8f1/0xc10 [ 115.896054] __perf_event_task_sched_out+0x6d0/0x18d0 [ 115.896069] ? lock_is_held_type+0xd7/0x130 [ 115.896087] ? __perf_cgroup_move+0x160/0x160 [ 115.896099] ? set_next_entity+0x304/0x550 [ 115.896116] ? update_curr+0x267/0x740 [ 115.896134] ? lock_is_held_type+0xd7/0x130 [ 115.896152] __schedule+0xedd/0x2470 [ 115.896166] ? io_schedule_timeout+0x150/0x150 [ 115.896179] ? rcu_read_lock_sched_held+0x3e/0x80 [ 115.896199] schedule+0xda/0x1b0 [ 115.896210] exit_to_user_mode_prepare+0x114/0x1a0 [ 115.896230] syscall_exit_to_user_mode+0x19/0x40 [ 115.896248] do_syscall_64+0x48/0x90 [ 115.896262] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 115.896280] RIP: 0033:0x7f2221c1db19 [ 115.896288] 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 [ 115.896299] RSP: 002b:00007f221f193218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 115.896310] RAX: 0000000000000001 RBX: 00007f2221d30f68 RCX: 00007f2221c1db19 [ 115.896318] RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f2221d30f6c [ 115.896325] RBP: 00007f2221d30f60 R08: 000000000000000e R09: 0000000000000000 [ 115.896333] R10: 0000000000000004 R11: 0000000000000246 R12: 00007f2221d30f6c [ 115.896340] R13: 00007fffdca40d8f R14: 00007f221f193300 R15: 0000000000022000 [ 115.896353] [ 115.953128] WARNING: CPU: 1 PID: 3844 at kernel/events/core.c:2309 group_sched_out.part.0+0x2c7/0x460 [ 115.953804] Modules linked in: [ 115.954044] CPU: 1 PID: 3844 Comm: syz-executor.6 Not tainted 6.0.0-rc6-next-20220919 #1 [ 115.954625] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 115.955436] RIP: 0010:group_sched_out.part.0+0x2c7/0x460 [ 115.955841] Code: 5e 41 5f e9 3b b7 ef ff e8 36 b7 ef ff 65 8b 1d 5b 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 [ 115.957165] RSP: 0018:ffff88801f517c48 EFLAGS: 00010006 [ 115.957549] RAX: 0000000040000002 RBX: 0000000000000000 RCX: 0000000000000000 [ 115.958075] RDX: ffff88800e8d0000 RSI: ffffffff81566077 RDI: 0000000000000005 [ 115.958605] RBP: ffff88803d5e05c8 R08: 0000000000000005 R09: 0000000000000001 [ 115.959137] R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800eeb6800 [ 115.959654] R13: ffff88806cf3d140 R14: ffffffff8547c780 R15: 0000000000000002 [ 115.960182] FS: 00007f221f193700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 [ 115.960778] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 115.961206] CR2: 0000000020002000 CR3: 000000000dc02000 CR4: 0000000000350ee0 [ 115.961734] Call Trace: [ 115.961926] [ 115.962101] ctx_sched_out+0x8f1/0xc10 [ 115.962397] __perf_event_task_sched_out+0x6d0/0x18d0 [ 115.962785] ? lock_is_held_type+0xd7/0x130 [ 115.963118] ? __perf_cgroup_move+0x160/0x160 [ 115.963458] ? set_next_entity+0x304/0x550 [ 115.963788] ? update_curr+0x267/0x740 [ 115.964090] ? lock_is_held_type+0xd7/0x130 [ 115.964418] __schedule+0xedd/0x2470 [ 115.964705] ? io_schedule_timeout+0x150/0x150 [ 115.965034] ? rcu_read_lock_sched_held+0x3e/0x80 [ 115.965383] schedule+0xda/0x1b0 [ 115.965636] exit_to_user_mode_prepare+0x114/0x1a0 [ 115.965993] syscall_exit_to_user_mode+0x19/0x40 [ 115.966334] do_syscall_64+0x48/0x90 [ 115.966604] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 115.966971] RIP: 0033:0x7f2221c1db19 [ 115.967237] 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 [ 115.968507] RSP: 002b:00007f221f193218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 115.969041] RAX: 0000000000000001 RBX: 00007f2221d30f68 RCX: 00007f2221c1db19 [ 115.969565] RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f2221d30f6c [ 115.970094] RBP: 00007f2221d30f60 R08: 000000000000000e R09: 0000000000000000 [ 115.970622] R10: 0000000000000004 R11: 0000000000000246 R12: 00007f2221d30f6c [ 115.971159] R13: 00007fffdca40d8f R14: 00007f221f193300 R15: 0000000000022000 [ 115.971693] [ 115.971871] irq event stamp: 1118 [ 115.972131] hardirqs last enabled at (1117): [] exit_to_user_mode_prepare+0x109/0x1a0 [ 115.972834] hardirqs last disabled at (1118): [] __schedule+0x1225/0x2470 [ 115.973442] softirqs last enabled at (962): [] mac80211_hwsim_netlink_notify+0x253/0xa00 [ 115.974158] softirqs last disabled at (960): [] mac80211_hwsim_netlink_notify+0x140/0xa00 [ 115.974868] ---[ end trace 0000000000000000 ]--- [ 122.795464] Bluetooth: hci1: Opcode 0x c03 failed: -110 VM DIAGNOSIS: 12:47:44 Registers: info registers vcpu 0 RAX=0000000000000000 RBX=0000000000000000 RCX=ffffffff815ac7d7 RDX=ffff88803c581ac0 RSI=0000000000000000 RDI=0000000000000000 RBP=ffffffff848cc180 RSP=ffff88801be1fa48 R8 =0000000000000005 R9 =0000000000000000 R10=0000000000000001 R11=0000000000000001 R12=4000000000000000 R13=4000000000000002 R14=0000000000017774 R15=ffffffff848cc180 RIP=ffffffff81461404 RFL=00000046 [---Z-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 =0000 0000000000000000 00000000 00000000 DS =0000 0000000000000000 00000000 00000000 FS =0000 00007f90c5743540 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=00007f90c5877570 CR3=000000003c434000 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 00000000ff000000 0000000000000000 YMM01=0000000000000000 0000000000000000 ffffffff00ffffff ffffffffffffffff YMM02=0000000000000000 0000000000000000 42494c4700342e33 2e325f4342494c47 YMM03=0000000000000000 0000000000000000 0000000000000000 0000000000006f72 YMM04=0000000000000000 0000000000000000 6f6c77725f646165 726874705f5f0079 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 info registers vcpu 1 RAX=0000000000000032 RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8 RSI=ffffffff822b2e71 RDI=ffffffff87641ba0 RBP=ffffffff87641b60 RSP=ffff88801f517698 R8 =0000000000000001 R9 =000000000000000a R10=0000000000000032 R11=0000000000000001 R12=0000000000000032 R13=ffffffff87641b60 R14=0000000000000010 R15=ffffffff822b2e60 RIP=ffffffff822b2ec9 RFL=00000002 [-------] 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 00007f221f193700 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=0000000020002000 CR3=000000000dc02000 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 ffffffffffffffff ff00000000000000 YMM01=0000000000000000 0000000000000000 ffffffffffffffff ffffffffffffffff YMM02=0000000000000000 0000000000000000 ffffffffffffffff ffffffffffffffff YMM03=0000000000000000 0000000000000000 ffffffffffffffff ffffffffffffffff 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