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: 1 UID: 0 PID: 5505 Comm: syz.4.52 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:ffffc90004c373f8 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000051 RCX: 1ffff11017227d65 RDX: 0000000000000070 RSI: ffffffff8c0adfc0 RDI: ffff88807dc5b058 RBP: dffffc0000000000 R08: ffffffff81358221 R09: 0000000000000000 R10: ffff88807a8a8c18 R11: ffffffff81666610 R12: 0000000000000000 R13: ffff88807dc5b000 R14: ffff8880b913eb10 R15: 1ffff11017227d62 FS: 00007f3a0eb4e6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201c4000 CR3: 000000007e2aa000 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_preempt_disabled+0x13/0x30 kernel/sched/core.c:6826 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read_killable kernel/locking/rwsem.c:1273 [inline] down_read_killable+0x880/0xd30 kernel/locking/rwsem.c:1551 mmap_read_lock_killable+0x1d/0x70 include/linux/mmap_lock.h:153 get_mmap_lock_carefully mm/memory.c:5879 [inline] lock_mm_and_find_vma+0x29c/0x2f0 mm/memory.c:5930 do_user_addr_fault arch/x86/mm/fault.c:1361 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x1bf/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 cc cc cc cc 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 RSP: 0018:ffffc90004c37958 EFLAGS: 00050206 RAX: ffff88801316f001 RBX: 00000000201c4e80 RCX: 0000000000000e80 RDX: 0000000000000000 RSI: ffff88801316f180 RDI: 00000000201c4000 RBP: ffffc90004c37ad8 R08: ffff88801316ffff R09: 1ffff1100262dfff R10: dffffc0000000000 R11: ffffed100262e000 R12: dffffc0000000000 R13: 1ffff92000986f40 R14: 0000000000001000 R15: ffff88801316f000 copy_user_generic arch/x86/include/asm/uaccess_64.h:110 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:131 [inline] copy_to_user_iter lib/iov_iter.c:25 [inline] iterate_iovec include/linux/iov_iter.h:51 [inline] iterate_and_advance2 include/linux/iov_iter.h:247 [inline] iterate_and_advance include/linux/iov_iter.h:271 [inline] _copy_to_iter+0x4c0/0x1960 lib/iov_iter.c:185 copy_page_to_iter+0xb1/0x160 lib/iov_iter.c:362 process_vm_rw_pages mm/process_vm_access.c:45 [inline] process_vm_rw_single_vec mm/process_vm_access.c:118 [inline] process_vm_rw_core mm/process_vm_access.c:216 [inline] process_vm_rw+0x871/0xcf0 mm/process_vm_access.c:284 __do_sys_process_vm_readv mm/process_vm_access.c:296 [inline] __se_sys_process_vm_readv mm/process_vm_access.c:292 [inline] __x64_sys_process_vm_readv+0xe0/0x100 mm/process_vm_access.c:292 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:0x7f3a0dd79e79 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:00007f3a0eb4e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000136 RAX: ffffffffffffffda RBX: 00007f3a0df15f80 RCX: 00007f3a0dd79e79 RDX: 0000000000000002 RSI: 0000000020008400 RDI: 0000000000000012 RBP: 00007f3a0dde7916 R08: 0000000000000286 R09: 0000000000000000 R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3a0df15f80 R15: 00007ffcd28a1948 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:ffffc90004c373f8 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000051 RCX: 1ffff11017227d65 RDX: 0000000000000070 RSI: ffffffff8c0adfc0 RDI: ffff88807dc5b058 RBP: dffffc0000000000 R08: ffffffff81358221 R09: 0000000000000000 R10: ffff88807a8a8c18 R11: ffffffff81666610 R12: 0000000000000000 R13: ffff88807dc5b000 R14: ffff8880b913eb10 R15: 1ffff11017227d62 FS: 00007f3a0eb4e6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201c4000 CR3: 000000007e2aa000 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