BUG: spinlock recursion on CPU#0, syz.2.3/5332 lock: 0xffff8880b903ea40, .magic: dead4ead, .owner: syz.2.3/5332, .owner_cpu: 1 Oops: general protection fault, probably for non-canonical address 0xf176d92020000000: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 5332 Comm: syz.2.3 Not tainted 6.11.0-rc4-next-20240821-syzkaller #0 KASAN: maybe wild-memory-access in range [0x8bb6e90100000000-0x8bb6e90100000007] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: CPU: 1 UID: 0 PID: 5332 Comm: syz.2.3 Not tainted 6.11.0-rc4-next-20240821-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 RIP: 0010:vsnprintf+0xd89/0x1da0 lib/vsprintf.c:2828 Code: f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 5d 9e 45 f6 49 8b 1e 48 8d 43 08 49 89 06 4c 8b 7c 24 18 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 38 9e 45 f6 48 8b 0b 4c 89 e7 48 RSP: 0018:ffffc9000462e540 EFLAGS: 00010806 RAX: 1176dd2020000000 RBX: 8bb6e90100000000 RCX: 0000000000040000 RDX: ffffc9000909a000 RSI: 0000000000000546 RDI: 0000000000000547 debug_spin_lock_before kernel/locking/spinlock_debug.c:87 [inline] do_raw_spin_lock+0x227/0x370 kernel/locking/spinlock_debug.c:115 RBP: ffffc9000462e638 R08: ffffffff8bb6a093 R09: ffffffff8bb69bc4 R10: 0000000000000012 R11: ffff88802421da00 R12: ffffffff8c0863b2 R13: dffffc0000000000 R14: ffffc9000462ea88 R15: ffffffff94fb442a FS: 00007ff421d606c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:595 CR2: 0000000000000003 CR3: 000000007b0ee000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 raw_spin_rq_lock kernel/sched/sched.h:1488 [inline] rq_lock kernel/sched/sched.h:1787 [inline] ttwu_queue kernel/sched/core.c:3938 [inline] try_to_wake_up+0x804/0x1480 kernel/sched/core.c:4266 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: wake_up_process kernel/sched/core.c:4398 [inline] wake_up_q+0xc8/0x120 kernel/sched/core.c:1056 futex_wake+0x523/0x5c0 kernel/futex/waitwake.c:199 vscnprintf+0x42/0x90 lib/vsprintf.c:2930 printk_sprint+0x31/0x4b0 kernel/printk/printk.c:2165 do_futex+0x392/0x560 kernel/futex/syscalls.c:107 vprintk_store+0x984/0x1160 kernel/printk/printk.c:2279 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex+0x3f9/0x480 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff420f79e79 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff421d600e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007ff421115f88 RCX: 00007ff420f79e79 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007ff421115f8c RBP: 00007ff421115f80 R08: 7fffffffffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff421115f8c R13: 0000000000000000 R14: 00007ffff9f91d10 R15: 00007ffff9f91df8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vsnprintf+0xd89/0x1da0 lib/vsprintf.c:2828 Code: f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 5d 9e 45 f6 49 8b 1e 48 8d 43 08 49 89 06 4c 8b 7c 24 18 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 38 9e 45 f6 48 8b 0b 4c 89 e7 48 RSP: 0018:ffffc9000462e540 EFLAGS: 00010806 RAX: 1176dd2020000000 RBX: 8bb6e90100000000 RCX: 0000000000040000 RDX: ffffc9000909a000 RSI: 0000000000000546 RDI: 0000000000000547 RBP: ffffc9000462e638 R08: ffffffff8bb6a093 R09: ffffffff8bb69bc4 R10: 0000000000000012 R11: ffff88802421da00 R12: ffffffff8c0863b2 R13: dffffc0000000000 R14: ffffc9000462ea88 R15: ffffffff94fb442a FS: 00007ff421d606c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000003 CR3: 000000007b0ee000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f0 48 c1 e8 03 lock shr $0x3,%rax 5: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 5d 9e 45 f6 call 0xf6459e71 14: 49 8b 1e mov (%r14),%rbx 17: 48 8d 43 08 lea 0x8(%rbx),%rax 1b: 49 89 06 mov %rax,(%r14) 1e: 4c 8b 7c 24 18 mov 0x18(%rsp),%r15 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 38 9e 45 f6 call 0xf6459e71 39: 48 8b 0b mov (%rbx),%rcx 3c: 4c 89 e7 mov %r12,%rdi 3f: 48 rex.W