BUG: unable to handle page fault for address: 000001000000ff09
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0
P4D 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 3 PID: 56 Comm: kworker/3:1 Not tainted 6.4.0-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:find_stack lib/stackdepot.c:350 [inline]
RIP: 0010:__stack_depot_save+0x137/0x510 lib/stackdepot.c:390
Code: 17 3c ca 0d 89 d9 23 0d 07 3c ca 0d 48 8d 0c c8 48 8b 29 48 85 ed 75 12 e9 92 00 00 00 48 8b 6d 00 48 85 ed 0f 84 85 00 00 00 <39> 5d 08 75 ee 44 3b 7d 0c 75 e8 31 c0 48 8b 74 c5 18 49 39 34 c6
RSP: 0018:ffffc90000c9f888 EFLAGS: 00010002
RAX: ffff88816d200000 RBX: 0000000034edd6c9 RCX: ffff88816d8eb648
RDX: 000000000000000b RSI: 0000000000000001 RDI: 000000001dafb7d0
RBP: 000001000000ff01 R08: 000000004615d260 R09: ffffc90000c9ff50
R10: ffffc90000c9f7d0 R11: 0000000000094001 R12: 0000000000000000
R13: 0000000000000800 R14: ffffc90000c9f8f8 R15: 000000000000000b
FS: 0000000000000000(0000) GS:ffff88806b900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000001000000ff09 CR3: 00000000242f3000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
kasan_save_stack+0x32/0x40 mm/kasan/common.c:46
__kasan_record_aux_stack+0x7b/0x90 mm/kasan/generic.c:491
insert_work+0x48/0x360 kernel/workqueue.c:1368
__queue_work+0x625/0x1120 kernel/workqueue.c:1529
__queue_delayed_work+0x1c8/0x270 kernel/workqueue.c:1677
queue_delayed_work_on+0x109/0x120 kernel/workqueue.c:1713
queue_delayed_work include/linux/workqueue.h:521 [inline]
schedule_delayed_work include/linux/workqueue.h:673 [inline]
nsim_dev_trap_report_work+0x9d1/0xc80 drivers/net/netdevsim/dev.c:845
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2408
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2555
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>
Modules linked in:
CR2: 000001000000ff09
---[ end trace 0000000000000000 ]---
RIP: 0010:find_stack lib/stackdepot.c:350 [inline]
RIP: 0010:__stack_depot_save+0x137/0x510 lib/stackdepot.c:390
Code: 17 3c ca 0d 89 d9 23 0d 07 3c ca 0d 48 8d 0c c8 48 8b 29 48 85 ed 75 12 e9 92 00 00 00 48 8b 6d 00 48 85 ed 0f 84 85 00 00 00 <39> 5d 08 75 ee 44 3b 7d 0c 75 e8 31 c0 48 8b 74 c5 18 49 39 34 c6
RSP: 0018:ffffc90000c9f888 EFLAGS: 00010002
RAX: ffff88816d200000 RBX: 0000000034edd6c9 RCX: ffff88816d8eb648
RDX: 000000000000000b RSI: 0000000000000001 RDI: 000000001dafb7d0
RBP: 000001000000ff01 R08: 000000004615d260 R09: ffffc90000c9ff50
R10: ffffc90000c9f7d0 R11: 0000000000094001 R12: 0000000000000000
R13: 0000000000000800 R14: ffffc90000c9f8f8 R15: 000000000000000b
FS: 0000000000000000(0000) GS:ffff88806b900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000001000000ff09 CR3: 00000000242f3000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
0: ca 0d 89 lret $0x890d
3: d9 23 fldenv (%rbx)
5: 0d 07 3c ca 0d or $0xdca3c07,%eax
a: 48 8d 0c c8 lea (%rax,%rcx,8),%rcx
e: 48 8b 29 mov (%rcx),%rbp
11: 48 85 ed test %rbp,%rbp
14: 75 12 jne 0x28
16: e9 92 00 00 00 jmpq 0xad
1b: 48 8b 6d 00 mov 0x0(%rbp),%rbp
1f: 48 85 ed test %rbp,%rbp
22: 0f 84 85 00 00 00 je 0xad
* 28: 39 5d 08 cmp %ebx,0x8(%rbp) <-- trapping instruction
2b: 75 ee jne 0x1b
2d: 44 3b 7d 0c cmp 0xc(%rbp),%r15d
31: 75 e8 jne 0x1b
33: 31 c0 xor %eax,%eax
35: 48 8b 74 c5 18 mov 0x18(%rbp,%rax,8),%rsi
3a: 49 39 34 c6 cmp %rsi,(%r14,%rax,8)