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: 5286 Comm: kworker/1:5 Not tainted 6.11.0-rc4-next-20240822-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events nsim_dev_trap_report_work 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:ffffc900040b7778 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000051 RCX: 1ffff11003da2205 RDX: 0000000000000070 RSI: dffffc0000000000 RDI: ffff88801ed11028 RBP: dffffc0000000000 R08: ffffffff901c12ef R09: 1ffffffff203825d R10: dffffc0000000000 R11: ffffffff81666610 R12: 0000000000000000 R13: ffff88801ed11000 R14: ffff8880b913eb10 R15: 1ffff11017227d62 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f16306456c0 CR3: 00000000686fe000 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:6130 [inline] __schedule+0x2eab/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 include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:823 [inline] nsim_dev_trap_report_work+0x9ca/0xaa0 drivers/net/netdevsim/dev.c:850 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: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:ffffc900040b7778 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000051 RCX: 1ffff11003da2205 RDX: 0000000000000070 RSI: dffffc0000000000 RDI: ffff88801ed11028 RBP: dffffc0000000000 R08: ffffffff901c12ef R09: 1ffffffff203825d R10: dffffc0000000000 R11: ffffffff81666610 R12: 0000000000000000 R13: ffff88801ed11000 R14: ffff8880b913eb10 R15: 1ffff11017227d62 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f16306456c0 CR3: 00000000686fe000 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