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: 5859 Comm: syz.3.95 Not tainted 6.11.0-rc4-next-20240822-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:191 [inline] RIP: 0010:____rb_erase_color lib/rbtree.c:359 [inline] RIP: 0010:__rb_erase_color+0x37c/0xa30 lib/rbtree.c:413 Code: 03 00 74 08 4c 89 f7 e8 a2 dc 44 f6 4d 89 26 49 8d 5c 24 01 48 8b 6c 24 08 48 89 e8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df <42> 80 3c 30 00 74 08 48 89 ef e8 75 dc 44 f6 48 89 5d 00 4c 89 e3 RSP: 0018:ffffc900099ff6e0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff8880252a9e91 RCX: dffffc0000000000 RDX: ffffffff81681190 RSI: ffff88806fe6f048 RDI: ffff8880252a9e90 RBP: 0000000000000000 R08: ffffffff901c12ef R09: 1ffffffff203825d R10: dffffc0000000000 R11: fffffbfff203825e R12: ffff8880252a9e90 R13: ffff88805a1d9e90 R14: dffffc0000000000 R15: 1ffff1100b43b3d2 FS: 00005555649ab500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005573b0a91950 CR3: 000000007a806000 CR4: 00000000003506f0 Call Trace: rb_erase_augmented include/linux/rbtree_augmented.h:331 [inline] rb_erase_augmented_cached include/linux/rbtree_augmented.h:340 [inline] __dequeue_entity+0x953/0xd30 kernel/sched/fair.c:863 dequeue_entity+0x7b0/0x1a70 kernel/sched/fair.c:5516 dequeue_entities+0x234/0xfa0 kernel/sched/fair.c:7090 dequeue_task_fair+0xad/0x150 kernel/sched/fair.c:7178 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 do_nanosleep+0x197/0x600 kernel/time/hrtimer.c:2032 hrtimer_nanosleep+0x21f/0x480 kernel/time/hrtimer.c:2085 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1411 [inline] __se_sys_clock_nanosleep+0x32b/0x3c0 kernel/time/posix-timers.c:1388 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:0x7f7ca37abf65 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 c6 57 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 1f 58 ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffc0ef10ad0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 00007f7ca3915f80 RCX: 00007f7ca37abf65 RDX: 00007ffc0ef10b10 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f7ca3917a80 R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000017264 R13: 00007ffc0ef10c30 R14: 00007ffc0ef10c50 R15: ffffffffffffffff Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:191 [inline] RIP: 0010:____rb_erase_color lib/rbtree.c:359 [inline] RIP: 0010:__rb_erase_color+0x37c/0xa30 lib/rbtree.c:413 Code: 03 00 74 08 4c 89 f7 e8 a2 dc 44 f6 4d 89 26 49 8d 5c 24 01 48 8b 6c 24 08 48 89 e8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df <42> 80 3c 30 00 74 08 48 89 ef e8 75 dc 44 f6 48 89 5d 00 4c 89 e3 RSP: 0018:ffffc900099ff6e0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff8880252a9e91 RCX: dffffc0000000000 RDX: ffffffff81681190 RSI: ffff88806fe6f048 RDI: ffff8880252a9e90 RBP: 0000000000000000 R08: ffffffff901c12ef R09: 1ffffffff203825d R10: dffffc0000000000 R11: fffffbfff203825e R12: ffff8880252a9e90 R13: ffff88805a1d9e90 R14: dffffc0000000000 R15: 1ffff1100b43b3d2 FS: 00005555649ab500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005573b0a91950 CR3: 000000007a806000 CR4: 00000000003506f0 ---------------- Code disassembly (best guess): 0: 03 00 add (%rax),%eax 2: 74 08 je 0xc 4: 4c 89 f7 mov %r14,%rdi 7: e8 a2 dc 44 f6 call 0xf644dcae c: 4d 89 26 mov %r12,(%r14) f: 49 8d 5c 24 01 lea 0x1(%r12),%rbx 14: 48 8b 6c 24 08 mov 0x8(%rsp),%rbp 19: 48 89 e8 mov %rbp,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 27: fc ff df * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 ef mov %rbp,%rdi 34: e8 75 dc 44 f6 call 0xf644dcae 39: 48 89 5d 00 mov %rbx,0x0(%rbp) 3d: 4c 89 e3 mov %r12,%rbx