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: 5240 Comm: udevd 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_erase_color lib/rbtree.c:354 [inline] RIP: 0010:__rb_erase_color+0x2d7/0xa30 lib/rbtree.c:413 Code: 73 02 00 00 49 8d 5c 24 10 48 89 dd 48 c1 ed 03 42 80 7c 35 00 00 74 08 48 89 df e8 43 dc 44 f6 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 2a dc 44 f6 41 f6 45 00 01 48 89 RSP: 0018:ffffc900041a70c0 EFLAGS: 00010046 RAX: 000000000016e360 RBX: ffff88802cf03420 RCX: dffffc0000000000 RDX: ffffffff81681190 RSI: ffff8880b913eb48 RDI: ffff88802cf03410 RBP: 1ffff110059e0684 R08: 000000000000032f R09: 0000000000000000 R10: ffff88801a323c90 R11: ffffffff81671e10 R12: ffff88802cf03410 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fcc22a97c80(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8512ca3ff0 CR3: 0000000023de4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 set_next_entity+0xfe/0x4c0 kernel/sched/fair.c:5559 set_next_task_fair+0x1dd/0x540 kernel/sched/fair.c:13151 set_next_task kernel/sched/sched.h:2434 [inline] pick_next_task kernel/sched/core.c:6085 [inline] __schedule+0x250c/0x4b30 kernel/sched/core.c:6632 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6999 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:rol32 include/linux/bitops.h:127 [inline] RIP: 0010:jhash2 include/linux/jhash.h:139 [inline] RIP: 0010:hash_stack lib/stackdepot.c:514 [inline] RIP: 0010:stack_depot_save_flags+0x137/0x830 lib/stackdepot.c:614 Code: c8 89 c1 c1 c1 19 31 c3 29 cb 41 31 de 89 d9 c1 c1 10 41 29 ce 44 31 f0 44 89 f1 c1 c1 04 29 c8 31 c3 c1 c0 0e 29 c3 41 31 de c3 18 41 29 de 48 8b 05 3c 75 3c 10 8b 0d 2e 75 3c 10 44 21 f1 RSP: 0018:ffffc900041a75f0 EFLAGS: 00000202 RAX: 00000000a72fb1a2 RBX: 000000007bda411f RCX: 000000007d975b14 RDX: ffffc900041a7698 RSI: 0000000000000002 RDI: 0000000052803786 RBP: 00000000a76a87bf R08: ffffc900041a7650 R09: 000000000000000a R10: dffffc0000000000 R11: fffffbfff203825e R12: 0000000000000180 R13: ffff888016a88b40 R14: 000000003c0334ae R15: ffffc900041a7650 kasan_save_stack mm/kasan/common.c:48 [inline] kasan_save_track+0x51/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4036 [inline] slab_alloc_node mm/slub.c:4085 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4092 alloc_empty_file+0x9e/0x1d0 fs/file_table.c:202 path_openat+0x107/0x3590 fs/namei.c:3919 do_filp_open+0x235/0x490 fs/namei.c:3960 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1442 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:0x7fcc22716ab9 Code: 00 00 00 44 8b 54 24 58 48 89 44 24 30 48 8d 44 24 40 48 89 44 24 38 64 8b 04 25 18 00 00 00 85 c0 75 21 b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 40 a3 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffcfaf5bc30 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffcfaf5dd98 RCX: 00007fcc22716ab9 RDX: 0000000000080000 RSI: 00007fcc22b30dd8 RDI: 000000000000000b RBP: 00005610ccca9960 R08: 00005610cccaff80 R09: 00007fcc227f1b20 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b R13: 00007fcc22b30dd8 R14: 0000000000080000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:____rb_erase_color lib/rbtree.c:354 [inline] RIP: 0010:__rb_erase_color+0x2d7/0xa30 lib/rbtree.c:413 Code: 73 02 00 00 49 8d 5c 24 10 48 89 dd 48 c1 ed 03 42 80 7c 35 00 00 74 08 48 89 df e8 43 dc 44 f6 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 2a dc 44 f6 41 f6 45 00 01 48 89 RSP: 0018:ffffc900041a70c0 EFLAGS: 00010046 RAX: 000000000016e360 RBX: ffff88802cf03420 RCX: dffffc0000000000 RDX: ffffffff81681190 RSI: ffff8880b913eb48 RDI: ffff88802cf03410 RBP: 1ffff110059e0684 R08: 000000000000032f R09: 0000000000000000 R10: ffff88801a323c90 R11: ffffffff81671e10 R12: ffff88802cf03410 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fcc22a97c80(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8512ca3ff0 CR3: 0000000023de4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 73 02 jae 0x4 2: 00 00 add %al,(%rax) 4: 49 8d 5c 24 10 lea 0x10(%r12),%rbx 9: 48 89 dd mov %rbx,%rbp c: 48 c1 ed 03 shr $0x3,%rbp 10: 42 80 7c 35 00 00 cmpb $0x0,0x0(%rbp,%r14,1) 16: 74 08 je 0x20 18: 48 89 df mov %rbx,%rdi 1b: e8 43 dc 44 f6 call 0xf644dc63 20: 4c 8b 2b mov (%rbx),%r13 23: 4d 89 ef mov %r13,%r15 26: 49 c1 ef 03 shr $0x3,%r15 * 2a: 43 80 3c 37 00 cmpb $0x0,(%r15,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ef mov %r13,%rdi 34: e8 2a dc 44 f6 call 0xf644dc63 39: 41 f6 45 00 01 testb $0x1,0x0(%r13) 3e: 48 rex.W 3f: 89 .byte 0x89