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: 5320 Comm: syz.1.2 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_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 a3 6a 44 f6 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 8a 6a 44 f6 41 f6 45 00 01 48 89 RSP: 0018:ffffc900042c6f48 EFLAGS: 00010046 RAX: 000000000016e360 RBX: ffff888026925aa0 RCX: dffffc0000000000 RDX: ffffffff81680de0 RSI: ffff88807da05048 RDI: ffff888026925a90 RBP: 1ffff11004d24b54 R08: 000000000000032b R09: 1ffff1100401b3c0 R10: dffffc0000000000 R11: ffffed100401b3c1 R12: ffff888026925a90 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fa8099de6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32c13ff8 CR3: 000000007df80000 CR4: 00000000003506f0 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 dequeue_entity+0x7b0/0x1a70 kernel/sched/fair.c:5516 dequeue_entities+0x234/0xfa0 kernel/sched/fair.c:7090 task_dead_fair+0xf2/0x3c0 kernel/sched/fair.c:8576 finish_task_switch+0x370/0x870 kernel/sched/core.c:5215 context_switch kernel/sched/core.c:5314 [inline] __schedule+0x1852/0x4b30 kernel/sched/core.c:6677 __schedule_loop kernel/sched/core.c:6754 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6769 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2559 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3ed/0x6e0 kernel/sched/completion.c:116 wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion_state+0x1c/0x40 kernel/sched/completion.c:264 call_usermodehelper_exec+0x3cb/0x4a0 kernel/umh.c:442 call_modprobe kernel/module/kmod.c:103 [inline] __request_module+0x3ee/0x650 kernel/module/kmod.c:173 get_fs_type+0x17b/0x480 fs/filesystems.c:280 tomoyo_mount_acl security/tomoyo/mount.c:125 [inline] tomoyo_mount_permission+0x488/0xb80 security/tomoyo/mount.c:237 security_sb_mount+0xe0/0x2f0 security/security.c:1564 path_mount+0xb9/0xfa0 fs/namespace.c:3776 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4032 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:0x7fa809f79e79 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:00007fa8099de038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa80a116058 RCX: 00007fa809f79e79 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 00007fa809fe793e R08: 00000000200001c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa80a116058 R15: 00007ffe2963b4b8 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 a3 6a 44 f6 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 8a 6a 44 f6 41 f6 45 00 01 48 89 RSP: 0018:ffffc900042c6f48 EFLAGS: 00010046 RAX: 000000000016e360 RBX: ffff888026925aa0 RCX: dffffc0000000000 RDX: ffffffff81680de0 RSI: ffff88807da05048 RDI: ffff888026925a90 RBP: 1ffff11004d24b54 R08: 000000000000032b R09: 1ffff1100401b3c0 R10: dffffc0000000000 R11: ffffed100401b3c1 R12: ffff888026925a90 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fa8099de6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32c13ff8 CR3: 000000007df80000 CR4: 00000000003506f0 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 a3 6a 44 f6 call 0xf6446ac3 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 8a 6a 44 f6 call 0xf6446ac3 39: 41 f6 45 00 01 testb $0x1,0x0(%r13) 3e: 48 rex.W 3f: 89 .byte 0x89