BUG: unable to handle page fault for address: ffffed102e1e5a16
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 7ffd5067 P4D 7ffd5067 PUD 3fffa067 PMD 0
Oops: Oops: 0000 [#1] SMP KASAN NOPTI
CPU: 3 UID: 0 PID: 12769 Comm: syz.2.2061 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__tcp_hdrlen include/linux/tcp.h:31 [inline]
RIP: 0010:qdisc_pkt_len_segs_init+0x37e/0xb30 net/core/dev.c:4142
Code: 03 80 3c 02 00 0f 85 de 06 00 00 48 b8 00 00 00 00 00 fc ff df 44 89 e5 48 03 ab d8 00 00 00 48 8d 7d 0c 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 b5
RSP: 0018:ffffc900005e8710 EFLAGS: 00010a03
RAX: dffffc0000000000 RBX: ffff88806aeda780 RCX: ffffffff8961eeb9
RDX: 1ffff1102e1e5a16 RSI: ffffffff896613a2 RDI: ffff888170f2d0b4
RBP: ffff888170f2d0a8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000030 R11: 000000000000001e R12: 00000000fffffffc
R13: ffff88806aeda7a8 R14: 0000000000000010 R15: ffff88806aeda7f4
FS: 0000000000000000(0000) GS:ffff88809741f000(0063) knlGS:00000000f53bdb40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffed102e1e5a16 CR3: 000000006be78000 CR4: 0000000000352ef0
Call Trace:
sch_handle_ingress net/core/dev.c:4479 [inline]
__netif_receive_skb_core.constprop.0+0x1132/0x3530 net/core/dev.c:6057
__netif_receive_skb_list_core+0x353/0x940 net/core/dev.c:6281
__netif_receive_skb_list net/core/dev.c:6348 [inline]
netif_receive_skb_list_internal+0x722/0xd40 net/core/dev.c:6439
gro_normal_list include/net/gro.h:523 [inline]
gro_normal_list include/net/gro.h:519 [inline]
gro_flush_normal include/net/gro.h:531 [inline]
napi_complete_done+0x221/0x940 net/core/dev.c:6807
gro_cell_poll+0x46e/0x690 net/core/gro_cells.c:74
__napi_poll.constprop.0+0xaf/0x450 net/core/dev.c:7729
napi_poll net/core/dev.c:7792 [inline]
net_rx_action+0xa40/0xf20 net/core/dev.c:7949
handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
do_softirq kernel/softirq.c:523 [inline]
do_softirq+0xac/0xe0 kernel/softirq.c:510
__local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:450
local_bh_enable include/linux/bottom_half.h:33 [inline]
tun_rx_batched.isra.0+0x407/0x750 drivers/net/tun.c:1543
tun_get_user+0x1e31/0x3c20 drivers/net/tun.c:1986
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1050 fs/read_write.c:687
ksys_write+0x12a/0x250 fs/read_write.c:739
do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
__do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307
do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf6fcefec
Code: Unable to access opcode bytes at 0xf6fcefc2.
RSP: 002b:00000000f53bd50c EFLAGS: 00000292 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000080000440
RDX: 000000000000fdef RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: ffffed102e1e5a16
---[ end trace 0000000000000000 ]---
RIP: 0010:__tcp_hdrlen include/linux/tcp.h:31 [inline]
RIP: 0010:qdisc_pkt_len_segs_init+0x37e/0xb30 net/core/dev.c:4142
Code: 03 80 3c 02 00 0f 85 de 06 00 00 48 b8 00 00 00 00 00 fc ff df 44 89 e5 48 03 ab d8 00 00 00 48 8d 7d 0c 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 b5
RSP: 0018:ffffc900005e8710 EFLAGS: 00010a03
RAX: dffffc0000000000 RBX: ffff88806aeda780 RCX: ffffffff8961eeb9
RDX: 1ffff1102e1e5a16 RSI: ffffffff896613a2 RDI: ffff888170f2d0b4
RBP: ffff888170f2d0a8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000030 R11: 000000000000001e R12: 00000000fffffffc
R13: ffff88806aeda7a8 R14: 0000000000000010 R15: ffff88806aeda7f4
FS: 0000000000000000(0000) GS:ffff88809741f000(0063) knlGS:00000000f53bdb40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f6fcf000 CR3: 000000006be78000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
4: 0f 85 de 06 00 00 jne 0x6e8
a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
11: fc ff df
14: 44 89 e5 mov %r12d,%ebp
17: 48 03 ab d8 00 00 00 add 0xd8(%rbx),%rbp
1e: 48 8d 7d 0c lea 0xc(%rbp),%rdi
22: 48 89 fa mov %rdi,%rdx
25: 48 c1 ea 03 shr $0x3,%rdx
* 29: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction
2d: 48 89 f8 mov %rdi,%rax
30: 83 e0 07 and $0x7,%eax
33: 83 c0 01 add $0x1,%eax
36: 38 d0 cmp %dl,%al
38: 7c 08 jl 0x42
3a: 84 d2 test %dl,%dl
3c: 0f .byte 0xf
3d: 85 .byte 0x85
3e: b5 .byte 0xb5