Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 5333 Comm: syz.3.6 Not tainted 6.11.0-rc5-next-20240827-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:____rb_erase_color lib/rbtree.c:354 [inline] RIP: 0010:rb_erase+0x61f/0xe70 lib/rbtree.c:445 Code: 00 49 8d 5f 10 48 89 d8 48 c1 e8 03 48 89 44 24 18 42 80 3c 28 00 74 08 48 89 df e8 7b 56 44 f6 4c 8b 23 4d 89 e6 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 e7 e8 62 56 44 f6 41 f6 04 24 01 48 89 RSP: 0018:ffffc9000484f760 EFLAGS: 00010046 RAX: 1ffff11004ffeb9a RBX: ffff888027ff5cd0 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: ffff8880b903f8e0 RDI: ffff888027fd20c8 RBP: ffff888027ff5cc8 R08: ffff888027fd1e07 R09: 1ffff11004ffa3c0 R10: dffffc0000000000 R11: ffffed1004ffa3c1 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888027ff5cc0 FS: 00007fda2bbca6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32720008 CR3: 0000000023f84000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sched_core_dequeue kernel/sched/core.c:283 [inline] dequeue_task+0x34d/0x550 kernel/sched/core.c:2031 block_task kernel/sched/core.c:2079 [inline] __schedule+0x5d9/0x4b30 kernel/sched/core.c:6627 __schedule_loop kernel/sched/core.c:6754 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6769 futex_wait_queue+0x14e/0x1d0 kernel/futex/waitwake.c:370 __futex_wait+0x17f/0x320 kernel/futex/waitwake.c:669 futex_wait+0x101/0x360 kernel/futex/waitwake.c:697 do_futex+0x33b/0x560 kernel/futex/syscalls.c:102 __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:0x7fda2ad79e79 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:00007fda2bbca0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007fda2af16060 RCX: 00007fda2ad79e79 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fda2af16060 RBP: 00007fda2af16058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fda2af16064 R13: 0000000000000000 R14: 00007ffc1855dc50 R15: 00007ffc1855dd38 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:____rb_erase_color lib/rbtree.c:354 [inline] RIP: 0010:rb_erase+0x61f/0xe70 lib/rbtree.c:445 Code: 00 49 8d 5f 10 48 89 d8 48 c1 e8 03 48 89 44 24 18 42 80 3c 28 00 74 08 48 89 df e8 7b 56 44 f6 4c 8b 23 4d 89 e6 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 e7 e8 62 56 44 f6 41 f6 04 24 01 48 89 RSP: 0018:ffffc9000484f760 EFLAGS: 00010046 RAX: 1ffff11004ffeb9a RBX: ffff888027ff5cd0 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: ffff8880b903f8e0 RDI: ffff888027fd20c8 RBP: ffff888027ff5cc8 R08: ffff888027fd1e07 R09: 1ffff11004ffa3c0 R10: dffffc0000000000 R11: ffffed1004ffa3c1 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888027ff5cc0 FS: 00007fda2bbca6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32720008 CR3: 0000000023f84000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 49 8d add %cl,-0x73(%rcx) 3: 5f pop %rdi 4: 10 48 89 adc %cl,-0x77(%rax) 7: d8 48 c1 fmuls -0x3f(%rax) a: e8 03 48 89 44 call 0x44894812 f: 24 18 and $0x18,%al 11: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 16: 74 08 je 0x20 18: 48 89 df mov %rbx,%rdi 1b: e8 7b 56 44 f6 call 0xf644569b 20: 4c 8b 23 mov (%rbx),%r12 23: 4d 89 e6 mov %r12,%r14 26: 49 c1 ee 03 shr $0x3,%r14 * 2a: 43 80 3c 2e 00 cmpb $0x0,(%r14,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 62 56 44 f6 call 0xf644569b 39: 41 f6 04 24 01 testb $0x1,(%r12) 3e: 48 rex.W 3f: 89 .byte 0x89