BUG: unable to handle page fault for address: ffffed1024ae3e8e
#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: 0 UID: 0 PID: 14122 Comm: syz.1.2486 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:4140
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:ffffc90000007338 EFLAGS: 00010a07
RAX: dffffc0000000000 RBX: ffff88802a4bd680 RCX: ffffffff89646fe0
RDX: 1ffff11024ae3e8e RSI: ffffffff89646ff2 RDI: ffff88812571f474
RBP: ffff88812571f468 R08: 0000000000000004 R09: 000000000000000c
R10: 0000000000000042 R11: 0000000000000000 R12: 00000000fffffff8
R13: ffff88802a4bd6a8 R14: 000000000000000c R15: ffff88802a4bd6f4
FS: 0000000000000000(0000) GS:ffff8880970e2000(0063) knlGS:00000000f53b5b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffed1024ae3e8e CR3: 0000000052a5c000 CR4: 0000000000352ef0
Call Trace:
__dev_queue_xmit+0x270/0x4950 net/core/dev.c:4782
dev_queue_xmit include/linux/netdevice.h:3401 [inline]
hsr_xmit net/hsr/hsr_forward.c:440 [inline]
hsr_forward_do net/hsr/hsr_forward.c:581 [inline]
hsr_forward_skb+0xdcf/0x28a0 net/hsr/hsr_forward.c:743
hsr_handle_frame+0x82f/0xac0 net/hsr/hsr_slave.c:81
__netif_receive_skb_core.constprop.0+0x6c5/0x3530 net/core/dev.c:6096
__netif_receive_skb_list_core+0x353/0x940 net/core/dev.c:6284
__netif_receive_skb_list net/core/dev.c:6351 [inline]
netif_receive_skb_list_internal+0x722/0xd40 net/core/dev.c:6442
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:6810
gro_cell_poll+0x46e/0x690 net/core/gro_cells.c:74
__napi_poll.constprop.0+0xaf/0x450 net/core/dev.c:7737
napi_poll net/core/dev.c:7800 [inline]
net_rx_action+0xa40/0xf20 net/core/dev.c:7957
handle_softirqs+0x1ea/0xa00 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:1512
tun_get_user+0x1e31/0x3c20 drivers/net/tun.c:1955
tun_chr_write_iter+0xdc/0x200 drivers/net/tun.c:2001
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x6ac/0x1070 fs/read_write.c:688
ksys_write+0x12a/0x250 fs/read_write.c:740
do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
__do_fast_syscall_32+0xe7/0x950 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:0xf7f12fcc
Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8
RSP: 002b:00000000f53b550c EFLAGS: 00000292 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000080000580
RDX: 000000000000007a RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: ffffed1024ae3e8e
---[ 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:4140
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:ffffc90000007338 EFLAGS: 00010a07
RAX: dffffc0000000000 RBX: ffff88802a4bd680 RCX: ffffffff89646fe0
RDX: 1ffff11024ae3e8e RSI: ffffffff89646ff2 RDI: ffff88812571f474
RBP: ffff88812571f468 R08: 0000000000000004 R09: 000000000000000c
R10: 0000000000000042 R11: 0000000000000000 R12: 00000000fffffff8
R13: ffff88802a4bd6a8 R14: 000000000000000c R15: ffff88802a4bd6f4
FS: 0000000000000000(0000) GS:ffff8880970e2000(0063) knlGS:00000000f53b5b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffed1024ae3e8e CR3: 0000000052a5c000 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