loop4: detected capacity change from 0 to 27 FAT-fs (loop4): Unrecognized mount option "odir" or missing value loop3: detected capacity change from 0 to 208 ================================================================== BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x1aa1/0x22d0 Read of size 8 at addr ffff888041267738 by task systemd-udevd/13372 CPU: 0 PID: 13372 Comm: systemd-udevd Not tainted 6.2.0-rc8-next-20230214 #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_set_track+0x25/0x30 kasan_save_free_info+0x2e/0x50 __kasan_slab_free+0x10a/0x190 kmem_cache_free+0xff/0x510 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+0x69/0xa0 Code: df 48 89 e8 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 91 b8 05 00 48 83 c4 08 31 c0 5b 5d e9 84 b8 05 RSP: 0018:ffff888041267690 EFLAGS: 00000296 RAX: ffffffff848f0aea RBX: dffffc0000000000 RCX: 0000000000000002 RDX: 0000000000000003 RSI: ffffffff856bf0a0 RDI: ffffffff848f0ae0 RBP: ffffffff848f0ae0 R08: 0000000000000000 R09: 0000000000000001 R10: fffffbfff0ba4882 R11: 0000000000000001 R12: 0000000000000000 R13: 1ffff1100824cedc R14: ffff888041267760 R15: ffffffff8550e1c0 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0046:lock_release+0x1e3/0x710 RSP: 851c2f40:0000000041b58ab3 EFLAGS: ffff888018ab3ed8 ORIG_RAX: ffff888018ab3580 RAX: 0000000000000003 RBX: ffffffff856bf0a0 RCX: 1ffff1100824cee9 RDX: ffffffff856d5db8 RSI: ffffffff817fa36d RDI: 0000000000000003 RBP: 1ffff1100824cedc R08: ffffffff812bed1c R09: ffffffff812b6390 R10: ffffffff851c2b50 R11: 0000000041b58ab3 R12: ffffffff856bf0b8 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to stack of task systemd-udevd/13372 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:00000000d63adda5 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x41267 flags: 0x100000000000000(node=0|zone=1) raw: 0100000000000000 0000000000000000 ffffea00010499c8 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888041267600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888041267680: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 >ffff888041267700: f1 f1 04 f2 00 f3 f3 f3 00 00 00 00 00 00 00 00 ^ ffff888041267780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888041267800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== ---------------- Code disassembly (best guess): 0: df 48 89 fisttps -0x77(%rax) 3: e8 48 83 c0 01 callq 0x1c08350 8: 48 89 c2 mov %rax,%rdx b: 48 89 c1 mov %rax,%rcx e: 48 c1 ea 03 shr $0x3,%rdx 12: 83 e1 07 and $0x7,%ecx 15: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx 19: 38 ca cmp %cl,%dl 1b: 7f 04 jg 0x21 1d: 84 d2 test %dl,%dl 1f: 75 27 jne 0x48 21: 80 38 00 cmpb $0x0,(%rax) 24: 75 de jne 0x4 26: 48 83 c4 08 add $0x8,%rsp * 2a: 48 29 e8 sub %rbp,%rax <-- trapping instruction 2d: 5b pop %rbx 2e: 5d pop %rbp 2f: e9 91 b8 05 00 jmpq 0x5b8c5 34: 48 83 c4 08 add $0x8,%rsp 38: 31 c0 xor %eax,%eax 3a: 5b pop %rbx 3b: 5d pop %rbp 3c: e9 .byte 0xe9 3d: 84 .byte 0x84 3e: b8 .byte 0xb8 3f: 05 .byte 0x5