BUG: unable to handle page fault for address: ffff8880977fc000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 1b201067 P4D 1b201067 PUD 0 Oops: Oops: 0002 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 20892 Comm: syz.9.3438 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~bpo12+1 04/01/2014 RIP: 0010:bond_rr_gen_slave_id+0x1d5/0x250 drivers/net/bonding/bond_main.c:4836 Code: bc 24 f0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 7a 49 8b 84 24 f0 00 00 00 bb 01 00 00 00 <65> 0f c1 18 e8 52 5f 6e fb 83 c3 01 89 d8 5b 5d 41 5c 41 5d 41 5e RSP: 0018:ffffc9000380f590 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc90007ade000 RDX: 1ffff1100bd581ce RSI: ffffffff86500b59 RDI: ffff88805eac0e70 RBP: ffff88805eac0000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: ffff888027868b30 R12: ffff88805eac0d80 R13: 0000000000008f00 R14: ffff88805eac0d80 R15: ffffc9000380f900 FS: 0000000000000000(0000) GS:ffff8880977fc000(0063) knlGS:00000000f543db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffff8880977fc000 CR3: 000000006293d000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: bond_xdp_xmit_roundrobin_slave_get drivers/net/bonding/bond_main.c:4923 [inline] bond_xdp_get_xmit_slave+0x2a9/0x6b0 drivers/net/bonding/bond_main.c:5506 xdp_master_redirect+0x161/0x330 net/core/filter.c:4388 bpf_prog_run_xdp include/net/xdp.h:700 [inline] xdp_test_run_batch.constprop.0+0x18b9/0x1f20 net/bpf/test_run.c:307 bpf_test_run_xdp_live+0x365/0x770 net/bpf/test_run.c:379 bpf_prog_test_run_xdp+0xd3d/0x1660 net/bpf/test_run.c:1388 bpf_prog_test_run kernel/bpf/syscall.c:4703 [inline] __sys_bpf+0x1035/0x4980 kernel/bpf/syscall.c:6182 __do_sys_bpf kernel/bpf/syscall.c:6274 [inline] __se_sys_bpf kernel/bpf/syscall.c:6272 [inline] __ia32_sys_bpf+0x76/0xe0 kernel/bpf/syscall.c:6272 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe8/0x680 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf704d579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f543d55c EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000080000600 RDX: 0000000000000050 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: CR2: ffff8880977fc000 ---[ end trace 0000000000000000 ]--- RIP: 0010:bond_rr_gen_slave_id+0x1d5/0x250 drivers/net/bonding/bond_main.c:4836 Code: bc 24 f0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 7a 49 8b 84 24 f0 00 00 00 bb 01 00 00 00 <65> 0f c1 18 e8 52 5f 6e fb 83 c3 01 89 d8 5b 5d 41 5c 41 5d 41 5e RSP: 0018:ffffc9000380f590 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc90007ade000 RDX: 1ffff1100bd581ce RSI: ffffffff86500b59 RDI: ffff88805eac0e70 RBP: ffff88805eac0000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: ffff888027868b30 R12: ffff88805eac0d80 R13: 0000000000008f00 R14: ffff88805eac0d80 R15: ffffc9000380f900 FS: 0000000000000000(0000) GS:ffff8880977fc000(0063) knlGS:00000000f543db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffff8880977fc000 CR3: 000000006293d000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess), 4 bytes skipped: 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: 75 7a jne 0x93 19: 49 8b 84 24 f0 00 00 mov 0xf0(%r12),%rax 20: 00 21: bb 01 00 00 00 mov $0x1,%ebx * 26: 65 0f c1 18 xadd %ebx,%gs:(%rax) <-- trapping instruction 2a: e8 52 5f 6e fb call 0xfb6e5f81 2f: 83 c3 01 add $0x1,%ebx 32: 89 d8 mov %ebx,%eax 34: 5b pop %rbx 35: 5d pop %rbp 36: 41 5c pop %r12 38: 41 5d pop %r13 3a: 41 5e pop %r14