BUG: unable to handle page fault for address: ffff8880d6442000
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 1b6a6067 P4D 1b6a6067 PUD 0
Oops: Oops: 0002 [#1] SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 22482 Comm: syz.0.4721 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:bond_rr_gen_slave_id+0x92/0x250 drivers/net/bonding/bond_main.c:4936
Code: 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bd 01 00 00 49 8b 84 24 f0 00 00 00 bb 01 00 00 00 <65> 0f c1 18 e8 e5 4e 73 fb 83 c3 01 89 d8 5b 5d 41 5c 41 5d 41 5e
RSP: 0018:ffffc900047f77f0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc9000c402000
RDX: 1ffff110087639d6 RSI: ffffffff86956c22 RDI: ffff888043b1ceb0
RBP: ffff88806078e100 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000000 R12: ffff888043b1cdc0
R13: 0000000000000000 R14: ffff888043b1cdc0 R15: dffffc0000000000
FS: 00007f07e4e3f6c0(0000) GS:ffff8880d6442000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880d6442000 CR3: 000000003fcc0000 CR4: 0000000000352ef0
Call Trace:
<TASK>
bond_xdp_xmit_roundrobin_slave_get drivers/net/bonding/bond_main.c:5023 [inline]
bond_xdp_get_xmit_slave+0x296/0x660 drivers/net/bonding/bond_main.c:5609
xdp_master_redirect+0x161/0x330 net/core/filter.c:4398
bpf_prog_run_xdp include/net/xdp.h:700 [inline]
bpf_test_run+0x4a7/0xa40 net/bpf/test_run.c:421
bpf_prog_test_run_xdp+0x8ab/0x1670 net/bpf/test_run.c:1399
bpf_prog_test_run kernel/bpf/syscall.c:4722 [inline]
__sys_bpf+0x1725/0x4b90 kernel/bpf/syscall.c:6246
__do_sys_bpf kernel/bpf/syscall.c:6341 [inline]
__se_sys_bpf kernel/bpf/syscall.c:6339 [inline]
__x64_sys_bpf+0x7b/0xc0 kernel/bpf/syscall.c:6339
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f07e3f9c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f07e4e3f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f07e4215fa0 RCX: 00007f07e3f9c799
RDX: 0000000000000050 RSI: 0000200000000600 RDI: 000000000000000a
RBP: 00007f07e4032c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f07e4216038 R14: 00007f07e4215fa0 R15: 00007ffd06380148
</TASK>
Modules linked in:
CR2: ffff8880d6442000
---[ end trace 0000000000000000 ]---
RIP: 0010:bond_rr_gen_slave_id+0x92/0x250 drivers/net/bonding/bond_main.c:4936
Code: 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bd 01 00 00 49 8b 84 24 f0 00 00 00 bb 01 00 00 00 <65> 0f c1 18 e8 e5 4e 73 fb 83 c3 01 89 d8 5b 5d 41 5c 41 5d 41 5e
RSP: 0018:ffffc900047f77f0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc9000c402000
RDX: 1ffff110087639d6 RSI: ffffffff86956c22 RDI: ffff888043b1ceb0
RBP: ffff88806078e100 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000000 R12: ffff888043b1cdc0
R13: 0000000000000000 R14: ffff888043b1cdc0 R15: dffffc0000000000
FS: 00007f07e4e3f6c0(0000) GS:ffff8880d6442000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880d6442000 CR3: 000000003fcc0000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
9: fc ff df
c: 48 89 fa mov %rdi,%rdx
f: 48 c1 ea 03 shr $0x3,%rdx
13: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
17: 0f 85 bd 01 00 00 jne 0x1da
1d: 49 8b 84 24 f0 00 00 mov 0xf0(%r12),%rax
24: 00
25: bb 01 00 00 00 mov $0x1,%ebx
* 2a: 65 0f c1 18 xadd %ebx,%gs:(%rax) <-- trapping instruction
2e: e8 e5 4e 73 fb call 0xfb734f18
33: 83 c3 01 add $0x1,%ebx
36: 89 d8 mov %ebx,%eax
38: 5b pop %rbx
39: 5d pop %rbp
3a: 41 5c pop %r12
3c: 41 5d pop %r13
3e: 41 5e pop %r14