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: 1 UID: 0 PID: 5389 Comm: syz.2.13 Not tainted 6.11.0-rc4-next-20240823-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 eb c3 44 f6 4c 8b 23 4d 89 e6 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 e7 e8 d2 c3 44 f6 41 f6 04 24 01 48 89 RSP: 0018:ffffc900043d77c0 EFLAGS: 00010046 RAX: 1ffff1100fd8b7da RBX: ffff88807ec5bed0 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: ffff8880b913f860 RDI: ffff8880203720c8 RBP: ffff88807ec5bec8 R08: ffffffff81358221 R09: fffff5200087aef4 R10: dffffc0000000000 R11: fffff5200087aef4 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88807ec5bec0 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32f14ff8 CR3: 000000004d834000 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 do_task_dead+0xc4/0xd0 kernel/sched/core.c:6693 do_exit+0x1f7f/0x28e0 kernel/exit.c:990 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 get_signal+0x176f/0x1810 kernel/signal.c:2936 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fef5bf79e79 Code: Unable to access opcode bytes at 0x7fef5bf79e4f. RSP: 002b:00007fef5cdf90e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fef5c115f88 RCX: 00007fef5bf79e79 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fef5c115f88 RBP: 00007fef5c115f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fef5c115f8c R13: 0000000000000000 R14: 00007ffdfa3afba0 R15: 00007ffdfa3afc88 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 eb c3 44 f6 4c 8b 23 4d 89 e6 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 e7 e8 d2 c3 44 f6 41 f6 04 24 01 48 89 RSP: 0018:ffffc900043d77c0 EFLAGS: 00010046 RAX: 1ffff1100fd8b7da RBX: ffff88807ec5bed0 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: ffff8880b913f860 RDI: ffff8880203720c8 RBP: ffff88807ec5bec8 R08: ffffffff81358221 R09: fffff5200087aef4 R10: dffffc0000000000 R11: fffff5200087aef4 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88807ec5bec0 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32f14ff8 CR3: 000000004d834000 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 eb c3 44 f6 call 0xf644c40b 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 d2 c3 44 f6 call 0xf644c40b 39: 41 f6 04 24 01 testb $0x1,(%r12) 3e: 48 rex.W 3f: 89 .byte 0x89