================================================================== BUG: spinlock recursion on CPU#0, syz.4.140/6142 lock: 0xffff8880b903ea40, .magic: dead4ead, .owner: syz.4.140/6142, .owner_cpu: 1 CPU: 0 UID: 0 PID: 6142 Comm: syz.4.140 Not tainted 6.11.0-rc4-next-20240820-syzkaller #0 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000018: 0000 [#1] PREEMPT SMP KASAN PTI Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7] CPU: 1 UID: 0 PID: 6142 Comm: syz.4.140 Not tainted 6.11.0-rc4-next-20240820-syzkaller #0 __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 3630:0xffff1040ffffff00 RSP: fffd:ffffc9008328ed73 EFLAGS: 1fffc0000000000 ORIG_RAX: ffffffff8bb4c870 RAX: ffffc9000328ed6f RBX: 00000000ffff1020 RCX: ffffc9000328e920 RDX: 000000000000000f RSI: 0000000045e0360e RDI: ffffffff8e051e74 debug_spin_lock_before kernel/locking/spinlock_debug.c:87 [inline] do_raw_spin_lock+0x227/0x370 kernel/locking/spinlock_debug.c:115 RBP: 00000000fffffffd R08: 0000000000000227 R09: 00000000ffff1060 R10: ffffffffffffffff R11: 8bb4c90100000000 R12: ffffc9008328ecef R13: dffffc0000000000 R14: ffffffff8c0d4a00 R15: ffffffff8c0d4a01 FS: 000055558f8b7500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 3130 DS: 0000 ES: 0000 CR0: 0000000080050033 raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:595 CR2: ffff88801b7a4700 CR3: 000000005ff76000 CR4: 00000000003526f0 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 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 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 do_futex+0x392/0x560 kernel/futex/syscalls.c:107 __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:0x7fbcbad79e79 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:00007ffd812eb518 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fbcbaf15f80 RCX: 00007fbcbad79e79 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fbcbaf15f88 RBP: 00007fbcbaf15f8c R08: 00007fbcbaf15f80 R09: 00007ffd812eb7ff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbcbaf15f80 R14: 0000000000000004 R15: 0000000000000b56 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:record_print_text kernel/printk/printk.c:1481 [inline] RIP: 0010:printk_get_next_message+0x9bd/0xbe0 kernel/printk/printk.c:2910 Code: 24 50 42 80 3c 30 00 4d 89 e5 74 0a 48 8b 7c 24 48 e8 e7 41 88 00 4c 8b bc 24 98 01 00 00 4c 03 7c 24 08 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 b4 01 00 00 41 c6 07 00 4c 8b 7c 24 08 RSP: 0018:ffffc9000328e8c0 EFLAGS: 00010007 RAX: 0000000000000018 RBX: 1ffff92000651d24 RCX: ffff88801b7a3c00 RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000000000000000 RBP: ffffc9000328eaf0 R08: ffffffff81740391 R09: 205b5d3430393338 R10: 5b5d343039333833 R11: 205d323431365420 R12: ffffc9000328ec20 R13: ffffc9000328ec20 R14: dffffc0000000000 R15: 00000000000000c6 FS: 000055558f8b7500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff88801b7a4700 CR3: 000000005ff76000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 50 and $0x50,%al 2: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) 7: 4d 89 e5 mov %r12,%r13 a: 74 0a je 0x16 c: 48 8b 7c 24 48 mov 0x48(%rsp),%rdi 11: e8 e7 41 88 00 call 0x8841fd 16: 4c 8b bc 24 98 01 00 mov 0x198(%rsp),%r15 1d: 00 1e: 4c 03 7c 24 08 add 0x8(%rsp),%r15 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 b4 01 00 00 jne 0x1eb 37: 41 c6 07 00 movb $0x0,(%r15) 3b: 4c 8b 7c 24 08 mov 0x8(%rsp),%r15