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: 5277 Comm: kworker/0:5 Not tainted 6.11.0-rc4-next-20240821-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events p9_read_work 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 73 5a 46 f6 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 5a 5a 46 f6 41 f6 45 00 01 48 89 RSP: 0018:ffffc90003f1f000 EFLAGS: 00010046 RAX: 000000000016e360 RBX: ffff888029f64420 RCX: dffffc0000000000 RDX: ffffffff816818f0 RSI: ffff8880b913eb48 RDI: ffff888029f64410 RBP: 1ffff110053ec884 R08: ffffffff901c0c6f R09: 1ffffffff203818d R10: dffffc0000000000 R11: fffffbfff203818e R12: ffff888029f64410 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000c030 CR3: 000000005a3c0000 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 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_common+0x84/0xd0 kernel/sched/core.c:6856 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6880 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x130/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108 af_alg_wmem_wakeup+0x209/0x440 crypto/af_alg.c:848 skcipher_recvmsg+0x11c9/0x1230 crypto/algif_skcipher.c:241 sock_recvmsg_nosec net/socket.c:1046 [inline] sock_recvmsg+0x22f/0x280 net/socket.c:1068 sock_read_iter+0x2ca/0x3e0 net/socket.c:1138 __kernel_read+0x532/0x9f0 fs/read_write.c:434 p9_fd_read net/9p/trans_fd.c:266 [inline] p9_read_work+0x3a9/0x10c0 net/9p/trans_fd.c:301 process_one_work kernel/workqueue.c:3232 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3313 worker_thread+0x86d/0xd10 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 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 73 5a 46 f6 4c 8b 2b 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 5a 5a 46 f6 41 f6 45 00 01 48 89 RSP: 0018:ffffc90003f1f000 EFLAGS: 00010046 RAX: 000000000016e360 RBX: ffff888029f64420 RCX: dffffc0000000000 RDX: ffffffff816818f0 RSI: ffff8880b913eb48 RDI: ffff888029f64410 RBP: 1ffff110053ec884 R08: ffffffff901c0c6f R09: 1ffffffff203818d R10: dffffc0000000000 R11: fffffbfff203818e R12: ffff888029f64410 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000c030 CR3: 000000005a3c0000 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 73 5a 46 f6 call 0xf6465a93 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 5a 5a 46 f6 call 0xf6465a93 39: 41 f6 45 00 01 testb $0x1,0x0(%r13) 3e: 48 rex.W 3f: 89 .byte 0x89