loop4: detected capacity change from 0 to 8 general protection fault, probably for non-canonical address 0xe09ffbffffffffe1: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x04ffffffffffff08-0x04ffffffffffff0f] CPU: 1 PID: 317 Comm: kworker/u5:9 Not tainted 5.16.0-rc4-next-20211208 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Workqueue: hci5 hci_rx_work RIP: 0010:hci_inquiry_result_with_rssi_evt+0xa3/0x920 net/bluetooth/hci_event.c:4520 Code: 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 0f 85 16 07 00 00 48 8b 04 24 4c 8b 20 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <0f> b6 04 02 4c 89 e2 83 e2 07 38 d0 7f 08 84 c0 0f 85 c4 06 00 00 RSP: 0018:ffff88803fa3fac8 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffff888015744000 RCX: 0000000000000000 RDX: 009fffffffffffe1 RSI: ffffffff839b5f99 RDI: ffff888015744000 RBP: ffff88801d2a8a00 R08: 0000000000000087 R09: 0000000000000000 R10: ffffffff839da3e8 R11: 0000000000000000 R12: 04ffffffffffff09 R13: ffff88801d2a8a00 R14: ffff88801731240b R15: 0000000000000022 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f739feee018 CR3: 0000000042d80000 CR4: 0000000000350ee0 Call Trace: hci_event_func net/bluetooth/hci_event.c:6812 [inline] hci_event_packet+0x7f8/0xe30 net/bluetooth/hci_event.c:6860 hci_rx_work+0x22e/0xb70 net/bluetooth/hci_core.c:3817 process_one_work+0xa30/0x1710 kernel/workqueue.c:2318 worker_thread+0x62a/0x13e0 kernel/workqueue.c:2465 loop5: detected capacity change from 0 to 3 kthread+0x40c/0x500 kernel/kthread.c:345 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0bb26f63c949309e ]--- loop3: detected capacity change from 0 to 16383 RIP: 0010:hci_inquiry_result_with_rssi_evt+0xa3/0x920 net/bluetooth/hci_event.c:4520 Code: 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 0f 85 16 07 00 00 48 8b 04 24 4c 8b 20 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <0f> b6 04 02 4c 89 e2 83 e2 07 38 d0 7f 08 84 c0 0f 85 c4 06 00 00 RSP: 0018:ffff88803fa3fac8 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffff888015744000 RCX: 0000000000000000 RDX: 009fffffffffffe1 RSI: ffffffff839b5f99 RDI: ffff888015744000 RBP: ffff88801d2a8a00 R08: 0000000000000087 R09: 0000000000000000 loop1: detected capacity change from 0 to 2048 R10: ffffffff839da3e8 R11: 0000000000000000 R12: 04ffffffffffff09 R13: ffff88801d2a8a00 R14: ffff88801731240b R15: 0000000000000022 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f739feee018 CR3: 0000000042d80000 CR4: 0000000000350ee0 FAT-fs (loop4): Directory bread(block 3) failed SELinux: security_context_str_to_sid(root) failed for (dev loop4, type vfat) errno=-22 loop2: detected capacity change from 0 to 1 FAT-fs (loop2): Directory bread(block 5) failed FAT-fs (loop2): Directory bread(block 6) failed FAT-fs (loop2): Directory bread(block 7) failed loop4: detected capacity change from 0 to 8 FAT-fs (loop2): Directory bread(block 8) failed FAT-fs (loop2): Directory bread(block 9) failed FAT-fs (loop4): Directory bread(block 3) failed SELinux: security_context_str_to_sid(root) failed for (dev loop4, type vfat) errno=-22 FAT-fs (loop2): Directory bread(block 10) failed FAT-fs (loop2): Directory bread(block 11) failed FAT-fs (loop3): invalid media value (0x1b) FAT-fs (loop3): Can't find a valid FAT filesystem EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue. Quota mode: none. ext4 filesystem being mounted at /syzkaller-testdir781448120/syzkaller.FAWyhH/255/file0 supports timestamps until 2038 (0x7fffffff) loop3: detected capacity change from 0 to 16383 FAT-fs (loop3): invalid media value (0x1b) FAT-fs (loop3): Can't find a valid FAT filesystem loop4: detected capacity change from 0 to 8 FAT-fs (loop4): Directory bread(block 3) failed SELinux: security_context_str_to_sid(root) failed for (dev loop4, type vfat) errno=-22 loop2: detected capacity change from 0 to 1 FAT-fs (loop2): Directory bread(block 5) failed FAT-fs (loop2): Directory bread(block 6) failed FAT-fs (loop2): Directory bread(block 7) failed FAT-fs (loop2): Directory bread(block 8) failed FAT-fs (loop2): Directory bread(block 9) failed FAT-fs (loop2): Directory bread(block 10) failed loop4: detected capacity change from 0 to 8 FAT-fs (loop4): Directory bread(block 3) failed SELinux: security_context_str_to_sid(root) failed for (dev loop4, type vfat) errno=-22 FAT-fs (loop2): Directory bread(block 11) failed loop5: detected capacity change from 0 to 3 loop3: detected capacity change from 0 to 16383 loop4: detected capacity change from 0 to 8 FAT-fs (loop3): invalid media value (0x1b) FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop4): Directory bread(block 3) failed SELinux: security_context_str_to_sid(root) failed for (dev loop4, type vfat) errno=-22 loop1: detected capacity change from 0 to 2048 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue. Quota mode: none. ext4 filesystem being mounted at /syzkaller-testdir781448120/syzkaller.FAWyhH/256/file0 supports timestamps until 2038 (0x7fffffff) loop4: detected capacity change from 0 to 8 loop6: detected capacity change from 0 to 3 FAT-fs (loop4): Directory bread(block 3) failed SELinux: security_context_str_to_sid(root) failed for (dev loop4, type vfat) errno=-22 loop2: detected capacity change from 0 to 1 FAT-fs (loop2): Directory bread(block 5) failed FAT-fs (loop2): Directory bread(block 6) failed FAT-fs (loop2): Directory bread(block 7) failed FAT-fs (loop2): Directory bread(block 8) failed FAT-fs (loop2): Directory bread(block 9) failed FAT-fs (loop2): Directory bread(block 10) failed FAT-fs (loop2): Directory bread(block 11) failed loop5: detected capacity change from 0 to 3 ---------------- Code disassembly (best guess): 0: 4c 89 f0 mov %r14,%rax 3: 48 c1 e8 03 shr $0x3,%rax 7: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) c: 0f 85 16 07 00 00 jne 0x728 12: 48 8b 04 24 mov (%rsp),%rax 16: 4c 8b 20 mov (%rax),%r12 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 e2 mov %r12,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 4c 89 e2 mov %r12,%rdx 31: 83 e2 07 and $0x7,%edx 34: 38 d0 cmp %dl,%al 36: 7f 08 jg 0x40 38: 84 c0 test %al,%al 3a: 0f 85 c4 06 00 00 jne 0x704