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: 5350 Comm: syz.0.1 Not tainted 6.11.0-rc4-next-20240823-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:rb_set_parent include/linux/rbtree_augmented.h:185 [inline]
RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:305 [inline]
RIP: 0010:rb_erase_augmented include/linux/rbtree_augmented.h:329 [inline]
RIP: 0010:rb_erase_augmented_cached include/linux/rbtree_augmented.h:340 [inline]
RIP: 0010:__dequeue_entity+0x7ef/0xd30 kernel/sched/fair.c:863
Code: 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 ff e8 c5 8b 94 00 49 89 2f 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 b3 8a 94 00 48 8b 45 00 83 e0 01 4d
RSP: 0018:ffffc90000a18428 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff888028eb00b8 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffff888028eb0080 RDI: ffff888027905ab0
RBP: 0000000000000000 R08: ffff88807d030147 R09: 1ffff1100fa06028
R10: dffffc0000000000 R11: ffffed100fa06029 R12: ffff888027905a90
R13: ffff888028eb0090 R14: ffff888028eb0090 R15: ffff888027905aa0
FS: 00007fa5a353f6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32c04ff8 CR3: 000000001ce90000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
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
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+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:618 [inline]
RIP: 0010:__mutex_lock+0x2ea/0xd70 kernel/locking/mutex.c:752
Code: 89 c6 31 d2 31 c9 e8 a5 66 a7 f5 84 c0 74 39 f3 90 eb da 4c 89 f7 e8 25 90 a9 f5 4c 89 ef 31 f6 e8 5b 65 a7 f5 bf 01 00 00 00 c1 28 9b f5 65 8b 05 72 05 3c 74 85 c0 0f 85 bf 06 00 00 e8 bd
RSP: 0018:ffffc900041c75a0 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff816f378d
RDX: 0000000000000000 RSI: ffffffff8c608080 RDI: 0000000000000001
RBP: ffffc900041c76f0 R08: ffffffff901c1baf R09: 1ffffffff2038375
R10: dffffc0000000000 R11: fffffbfff2038376 R12: dffffc0000000000
R13: ffff88804ceedd18 R14: 0000000000000000 R15: 0000000000000000
__unix_dgram_recvmsg+0x246/0x12f0 net/unix/af_unix.c:2432
sock_recvmsg_nosec+0x18e/0x1d0 net/socket.c:1046
____sys_recvmsg+0x3c0/0x470 net/socket.c:2814
___sys_recvmsg net/socket.c:2858 [inline]
do_recvmmsg+0x464/0xad0 net/socket.c:2952
__sys_recvmmsg net/socket.c:3031 [inline]
__do_sys_recvmmsg net/socket.c:3054 [inline]
__se_sys_recvmmsg net/socket.c:3047 [inline]
__x64_sys_recvmmsg+0x199/0x250 net/socket.c:3047
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:0x7fa5a2779e79
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:00007fa5a353f038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fa5a2916058 RCX: 00007fa5a2779e79
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007fa5a27e793e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa5a2916058 R15: 00007ffdeca89908
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rb_set_parent include/linux/rbtree_augmented.h:185 [inline]
RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:305 [inline]
RIP: 0010:rb_erase_augmented include/linux/rbtree_augmented.h:329 [inline]
RIP: 0010:rb_erase_augmented_cached include/linux/rbtree_augmented.h:340 [inline]
RIP: 0010:__dequeue_entity+0x7ef/0xd30 kernel/sched/fair.c:863
Code: 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 ff e8 c5 8b 94 00 49 89 2f 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 b3 8a 94 00 48 8b 45 00 83 e0 01 4d
RSP: 0018:ffffc90000a18428 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff888028eb00b8 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffff888028eb0080 RDI: ffff888027905ab0
RBP: 0000000000000000 R08: ffff88807d030147 R09: 1ffff1100fa06028
R10: dffffc0000000000 R11: ffffed100fa06029 R12: ffff888027905a90
R13: ffff888028eb0090 R14: ffff888028eb0090 R15: ffff888027905aa0
FS: 00007fa5a353f6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32c04ff8 CR3: 000000001ce90000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 7 bytes skipped:
0: df 80 3c 08 00 74 filds 0x7400083c(%rax)
6: 08 4c 89 ff or %cl,-0x1(%rcx,%rcx,4)
a: e8 c5 8b 94 00 call 0x948bd4
f: 49 89 2f mov %rbp,(%r15)
12: 48 89 e8 mov %rbp,%rax
15: 48 c1 e8 03 shr $0x3,%rax
19: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
20: fc ff df
* 23: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction
27: 74 08 je 0x31
29: 48 89 ef mov %rbp,%rdi
2c: e8 b3 8a 94 00 call 0x948ae4
31: 48 8b 45 00 mov 0x0(%rbp),%rax
35: 83 e0 01 and $0x1,%eax
38: 4d rex.WRB