Oops: general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 0 UID: 0 PID: 5309 Comm: syz.2.3 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:pick_next_entity kernel/sched/fair.c:5613 [inline] RIP: 0010:pick_task_fair+0xc3/0x280 kernel/sched/fair.c:8742 Code: 00 00 80 3b 00 74 08 4c 89 ef e8 58 7d 01 00 0f 1f 44 00 00 4c 89 ef e8 6b f8 01 00 49 89 c4 48 8d 58 51 48 89 d8 48 c1 e8 03 <0f> b6 04 28 84 c0 75 5e 80 3b 00 74 2e 48 8b 3c 24 4c 89 e6 ba 01 RSP: 0018:ffffc90003e4f5b8 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000051 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: dffffc0000000000 RDI: ffff888063527058 RBP: dffffc0000000000 R08: ffff88807da7c427 R09: 0000000000000000 R10: ffff88807da7c418 R11: ffffffff81666610 R12: 0000000000000000 R13: ffff888063527000 R14: ffff8880b903eb10 R15: 1ffff11017207d62 FS: 00007f47b38ae6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020036000 CR3: 000000002cc2e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pick_task kernel/sched/core.c:6028 [inline] pick_next_task kernel/sched/core.c:6160 [inline] __schedule+0x30b9/0x4b30 kernel/sched/core.c:6632 __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 kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion_killable+0x3d1/0x730 kernel/sched/completion.c:254 virtio_read+0x102/0x200 drivers/char/hw_random/virtio-rng.c:105 rng_get_data drivers/char/hw_random/core.c:185 [inline] rng_dev_read+0x248/0x6d0 drivers/char/hw_random/core.c:223 do_loop_readv_writev fs/read_write.c:761 [inline] vfs_readv+0x6c2/0xa90 fs/read_write.c:934 do_preadv fs/read_write.c:1049 [inline] __do_sys_preadv fs/read_write.c:1099 [inline] __se_sys_preadv fs/read_write.c:1094 [inline] __x64_sys_preadv+0x1c7/0x2d0 fs/read_write.c:1094 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:0x7f47b2b79e79 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:00007f47b38ae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007f47b2d15f80 RCX: 00007f47b2b79e79 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00007f47b2be7916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f47b2d15f80 R15: 00007ffcf27ccdf8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pick_next_entity kernel/sched/fair.c:5613 [inline] RIP: 0010:pick_task_fair+0xc3/0x280 kernel/sched/fair.c:8742 Code: 00 00 80 3b 00 74 08 4c 89 ef e8 58 7d 01 00 0f 1f 44 00 00 4c 89 ef e8 6b f8 01 00 49 89 c4 48 8d 58 51 48 89 d8 48 c1 e8 03 <0f> b6 04 28 84 c0 75 5e 80 3b 00 74 2e 48 8b 3c 24 4c 89 e6 ba 01 RSP: 0018:ffffc90003e4f5b8 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000051 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: dffffc0000000000 RDI: ffff888063527058 RBP: dffffc0000000000 R08: ffff88807da7c427 R09: 0000000000000000 R10: ffff88807da7c418 R11: ffffffff81666610 R12: 0000000000000000 R13: ffff888063527000 R14: ffff8880b903eb10 R15: 1ffff11017207d62 FS: 00007f47b38ae6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020036000 CR3: 000000002cc2e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 80 3b 00 cmpb $0x0,(%rbx) 5: 74 08 je 0xf 7: 4c 89 ef mov %r13,%rdi a: e8 58 7d 01 00 call 0x17d67 f: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 14: 4c 89 ef mov %r13,%rdi 17: e8 6b f8 01 00 call 0x1f887 1c: 49 89 c4 mov %rax,%r12 1f: 48 8d 58 51 lea 0x51(%rax),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 75 5e jne 0x90 32: 80 3b 00 cmpb $0x0,(%rbx) 35: 74 2e je 0x65 37: 48 8b 3c 24 mov (%rsp),%rdi 3b: 4c 89 e6 mov %r12,%rsi 3e: ba .byte 0xba 3f: 01 .byte 0x1