loop1: detected capacity change from 0 to 11
FAT-fs (loop1): invalid media value (0x00)
FAT-fs (loop1): Can't find a valid FAT filesystem
==================================================================
BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x1aa1/0x22d0
Read of size 8 at addr ffff888046be78f0 by task syz-executor.6/62010
CPU: 0 PID: 62010 Comm: syz-executor.6 Not tainted 6.2.0-rc8-next-20230215 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Call Trace:
dump_stack_lvl+0x91/0xf0
print_report+0xcc/0x620
kasan_report+0xc0/0xf0
unwind_next_frame+0x1aa1/0x22d0
arch_stack_walk+0x87/0xf0
stack_trace_save+0x90/0xd0
kasan_save_stack+0x22/0x50
__kasan_record_aux_stack+0x95/0xb0
__call_rcu_common.constprop.0+0x6a/0xa70
kmem_cache_free+0xb9/0x510
put_pid.part.0+0xf4/0x140
delayed_put_pid+0x23/0x30
rcu_core+0x822/0x1d40
__do_softirq+0x258/0x8a2
__irq_exit_rcu+0xcc/0x110
irq_exit_rcu+0x9/0x20
sysvec_apic_timer_interrupt+0x6e/0x90
asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:strlen+0x6d/0xa0
Code: 48 83 c0 01 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 0f b6 14 1a 38 ca 7f 04 84 d2 75 27 80 38 00 75 de 48 83 c4 08 48 29 e8 5b <5d> e9 11 b8 05 00 48 83 c4 08 31 c0 5b 5d e9 04 b8 05 00 e8 6b 52
RSP: 0018:ffff888046be7850 EFLAGS: 00000202
RAX: 000000000000000d RBX: ffff88800c87ca10 RCX: 0000000000000005
RDX: 0000000000000006 RSI: ffffffff8560a980 RDI: ffffffff84884f40
RBP: ffffffff84884f40 R08: 0000000000000002 R09: 0000000000000000
R10: fffffbfff0ba4a72 R11: 0000000000000001 R12: 0000000000000000
R13: 1ffff11008d7cf13 R14: ffff888046be7918 R15: ffffffff8550e200
asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0003:find_held_lock+0x2c/0x110
RSP: 41b58ab3:ffffffff8560a980 EFLAGS: 1ffff11008d7cf27 ORIG_RAX: 0000000000000001
RAX: ffff8880466cbf08 RBX: ffffffff8560a980 RCX: 0000000000000008
RDX: ffffffff812cb12f RSI: ffff8880466cb580 RDI: 0000000000000246
RBP: 1ffff11008d7cf13 R08: 1ffff11008d7cf21 R09: ffffffff812b6380
R10: ffffffff851c43e8 R11: 0000000041b58ab3 R12: ffffffff8560a998
R13: 0000000000000002 R14: 000000000000001c R15: 0000000000000000
The buggy address belongs to stack of task syz-executor.6/62010
and is located at offset 88 in frame:
perf_trace_lock_acquire+0x0/0x500
This frame has 2 objects:
[48, 52) 'rctx'
[64, 72) '__regs'
The buggy address belongs to the physical page:
page:00000000502f8260 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x46be7
flags: 0x100000000000000(node=0|zone=1)
raw: 0100000000000000 0000000000000000 dead000000000122 0000000000000000
raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff888046be7780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888046be7800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888046be7880: 00 00 00 f1 f1 f1 f1 f1 f1 04 f2 00 f3 f3 f3 00
^
ffff888046be7900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888046be7980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
loop1: detected capacity change from 0 to 11
FAT-fs (loop1): invalid media value (0x00)
FAT-fs (loop1): Can't find a valid FAT filesystem
sr 1:0:0:0: [sr0] CDROM not ready. Make sure there is a disc in the drive.
loop1: detected capacity change from 0 to 11
FAT-fs (loop1): invalid media value (0x00)
FAT-fs (loop1): Can't find a valid FAT filesystem
loop1: detected capacity change from 0 to 11
FAT-fs (loop1): invalid media value (0x00)
FAT-fs (loop1): Can't find a valid FAT filesystem
sr 1:0:0:0: [sr0] CDROM not ready. Make sure there is a disc in the drive.
FAT-fs (loop5): bogus number of reserved sectors
FAT-fs (loop5): Can't find a valid FAT filesystem
----------------
Code disassembly (best guess):
0: 48 83 c0 01 add $0x1,%rax
4: 48 89 c2 mov %rax,%rdx
7: 48 89 c1 mov %rax,%rcx
a: 48 c1 ea 03 shr $0x3,%rdx
e: 83 e1 07 and $0x7,%ecx
11: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx
15: 38 ca cmp %cl,%dl
17: 7f 04 jg 0x1d
19: 84 d2 test %dl,%dl
1b: 75 27 jne 0x44
1d: 80 38 00 cmpb $0x0,(%rax)
20: 75 de jne 0x0
22: 48 83 c4 08 add $0x8,%rsp
26: 48 29 e8 sub %rbp,%rax
29: 5b pop %rbx
* 2a: 5d pop %rbp <-- trapping instruction
2b: e9 11 b8 05 00 jmpq 0x5b841
30: 48 83 c4 08 add $0x8,%rsp
34: 31 c0 xor %eax,%eax
36: 5b pop %rbx
37: 5d pop %rbp
38: e9 04 b8 05 00 jmpq 0x5b841
3d: e8 .byte 0xe8
3e: 6b .byte 0x6b
3f: 52 push %rdx