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: 5666 Comm: syz.1.84 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: 0000:ffffc9000d6af560 EFLAGS: 00010046 RAX: 1ffff1100431841a RBX: ffff8880218c20d0 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: ffff8880b913f8e0 RDI: ffff8880278abec8 RBP: ffff8880218c20c8 R08: ffff8880278ac037 R09: 1ffff11004f15806 R10: dffffc0000000000 R11: ffffed1004f15807 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880218c20c0 FS: 00007fd7ba2d06c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd7afa1b000 CR3: 0000000077686000 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 detach_task kernel/sched/fair.c:9368 [inline] detach_tasks kernel/sched/fair.c:9504 [inline] sched_balance_rq+0x5d5b/0x8590 kernel/sched/fair.c:11648 sched_balance_domains+0x565/0xa90 kernel/sched/fair.c:12069 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0x57/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0033:0x7fd7b943dc88 Code: 9e fd ff ff 41 8d 34 04 49 8b 47 10 48 39 f0 72 6e 48 63 cd 48 01 c1 49 39 4f 08 72 4c 8d 4d ff 85 ed 74 33 66 0f 1f 44 00 00 <48> 39 f0 72 1b 4d 8b 07 49 89 c1 49 29 f1 47 0f b6 0c 08 45 84 c9 RSP: 002b:00007fd7ba2cf4a0 EFLAGS: 00000202 RAX: 0000000000e1b108 RBX: 00007fd7ba2cf540 RCX: 00000000000000a4 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fd7ba2cf5e0 RBP: 0000000000000102 R08: 00007fd7aec00000 R09: 0000000000000000 R10: 0000000000000000 R11: 00007fd7ba2cf550 R12: 0000000000000001 R13: 00007fd7b95fb880 R14: 0000000000000000 R15: 00007fd7ba2cf5e0 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: 0000:ffffc9000d6af560 EFLAGS: 00010046 RAX: 1ffff1100431841a RBX: ffff8880218c20d0 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: ffff8880b913f8e0 RDI: ffff8880278abec8 RBP: ffff8880218c20c8 R08: ffff8880278ac037 R09: 1ffff11004f15806 R10: dffffc0000000000 R11: ffffed1004f15807 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880218c20c0 FS: 00007fd7ba2d06c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd7afa1b000 CR3: 0000000077686000 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