================================================================== BUG: KASAN: stack-out-of-bounds in csd_lock_record+0xcb/0xe0 kernel/smp.c:118 Read of size 8 at addr ffffc90007e07530 by task systemd-udevd/11591 CPU: 1 PID: 11591 Comm: systemd-udevd Not tainted 5.8.0-rc3-next-20200703-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x436 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x1f/0x37 mm/kasan/report.c:530 csd_lock_record+0xcb/0xe0 kernel/smp.c:118 flush_smp_call_function_queue+0x285/0x730 kernel/smp.c:391 __sysvec_call_function_single+0x98/0x490 arch/x86/kernel/smp.c:248 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] sysvec_call_function_single+0xe0/0x120 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x12/0x20 arch/x86/include/asm/idtentry.h:604 RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x4/0x20 kernel/kcov.c:270 Code: 84 00 00 00 00 00 48 8b 0c 24 48 89 f2 48 89 fe bf 06 00 00 00 e9 0c ff ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 48 8b 0c 24 <40> 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9 ea fe ff ff 66 2e 0f 1f RSP: 0018:ffffc90007d87b68 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000075 RCX: ffffffff81c2193a RDX: 0000000000000005 RSI: 0000000000000075 RDI: 000000000000002f RBP: 000000039273362b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000080000000 R13: e2f55236f51925a6 R14: ffff88804a8d6d25 R15: 766564752f6e7572 link_path_walk.part.0+0x68a/0xc20 fs/namei.c:2168 link_path_walk fs/namei.c:2112 [inline] path_parentat+0xa8/0x1b0 fs/namei.c:2385 filename_parentat+0x188/0x560 fs/namei.c:2407 do_unlinkat+0xc2/0x660 fs/namei.c:3869 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:367 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fd79aa250e7 Code: Bad RIP value. RSP: 002b:00007ffe7326b4f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 000055ea52838160 RCX: 00007fd79aa250e7 RDX: 00007ffe7326b3d0 RSI: 00007ffe7326b3d0 RDI: 00007ffe7326b500 RBP: 0000000000000194 R08: 00000000000001c0 R09: 0000000000000013 R10: 00007ffe7326b500 R11: 0000000000000246 R12: 00007ffe7326b500 R13: 000055ea52838160 R14: 0000000000000003 R15: 000000000000000e Memory state around the buggy address: ffffc90007e07400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90007e07480: 00 00 00 00 00 00 00 f1 f1 f1 f1 04 f2 04 f2 00 >ffffc90007e07500: 00 00 f2 00 00 00 f2 f2 f2 00 00 00 00 00 00 00 ^ ffffc90007e07580: 00 00 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 ffffc90007e07600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================