BUG: unable to handle page fault for address: ffffed10224673b6
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 5ffd5067 P4D 5ffd5067 PUD 2fffa067 PMD 0
Oops: Oops: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 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+0x336/0xa30 net/core/dev.c:4142
Code: 44 89 e3 43 80 3c 2e 00 4c 8d b5 d8 00 00 00 74 08 4c 89 f7 e8 1b 34 ac f8 49 8b 06 48 01 c3 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 9d 04 00 00 44 8b 3b 41 c1 ef 02 41 83
RSP: 0018:ffffc900000071c0 EFLAGS: 00010a03
RAX: 1ffff110224673b6 RBX: ffff888112339db4 RCX: ffff88803629a540
RDX: 0000000000000100 RSI: 0000000000000042 RDI: 0000000000000008
RBP: ffff8880124563c0 R08: ffff888012339df5 R09: 0000000000000002
R10: ffff888012339df2 R11: ffffed10024673bf R12: fffffffffffffff4
R13: dffffc0000000000 R14: ffff888012456498 R15: 00000000ffffffc6
FS: 00007f432c1a16c0(0000) GS:ffff88808c815000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed10224673b6 CR3: 0000000011ca6000 CR4: 0000000000352ef0
Call Trace:
__dev_queue_xmit+0x27f/0x37f0 net/core/dev.c:4784
dev_queue_xmit include/linux/netdevice.h:3446 [inline]
hsr_xmit net/hsr/hsr_forward.c:440 [inline]
hsr_forward_do net/hsr/hsr_forward.c:581 [inline]
hsr_forward_skb+0x152a/0x28c0 net/hsr/hsr_forward.c:743
hsr_handle_frame+0x6a0/0xa50 net/hsr/hsr_slave.c:81
__netif_receive_skb_core+0x989/0x30b0 net/core/dev.c:6093
__netif_receive_skb_list_core+0x24d/0x830 net/core/dev.c:6281
__netif_receive_skb_list net/core/dev.c:6348 [inline]
netif_receive_skb_list_internal+0x995/0xcf0 net/core/dev.c:6439
gro_normal_list include/net/gro.h:523 [inline]
gro_flush_normal include/net/gro.h:531 [inline]
napi_complete_done+0x299/0x730 net/core/dev.c:6807
gro_cell_poll+0x5ab/0x5d0 net/core/gro_cells.c:74
__napi_poll+0xaa/0x330 net/core/dev.c:7729
napi_poll net/core/dev.c:7792 [inline]
net_rx_action+0x61d/0xf50 net/core/dev.c:7949
handle_softirqs+0x225/0x840 kernel/softirq.c:622
do_softirq+0x76/0xd0 kernel/softirq.c:523
__local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450
local_bh_enable include/linux/bottom_half.h:33 [inline]
tun_rx_batched+0x616/0x790 drivers/net/tun.c:-1
tun_get_user+0x2b44/0x4370 drivers/net/tun.c:1986
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f432b39de59
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:00007f432c1a0fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f432b625fa0 RCX: 00007f432b39de59
RDX: 000000000000fdef RSI: 00002000000002c0 RDI: 0000000000000004
RBP: 00007f432b433e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f432b626038 R14: 00007f432b625fa0 R15: 00007ffe1634edb8
Modules linked in:
CR2: ffffed10224673b6
---[ end trace 0000000000000000 ]---
RIP: 0010:__tcp_hdrlen include/linux/tcp.h:31 [inline]
RIP: 0010:qdisc_pkt_len_segs_init+0x336/0xa30 net/core/dev.c:4142
Code: 44 89 e3 43 80 3c 2e 00 4c 8d b5 d8 00 00 00 74 08 4c 89 f7 e8 1b 34 ac f8 49 8b 06 48 01 c3 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 9d 04 00 00 44 8b 3b 41 c1 ef 02 41 83
RSP: 0018:ffffc900000071c0 EFLAGS: 00010a03
RAX: 1ffff110224673b6 RBX: ffff888112339db4 RCX: ffff88803629a540
RDX: 0000000000000100 RSI: 0000000000000042 RDI: 0000000000000008
RBP: ffff8880124563c0 R08: ffff888012339df5 R09: 0000000000000002
R10: ffff888012339df2 R11: ffffed10024673bf R12: fffffffffffffff4
R13: dffffc0000000000 R14: ffff888012456498 R15: 00000000ffffffc6
FS: 00007f432c1a16c0(0000) GS:ffff88808c815000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed10224673b6 CR3: 0000000011ca6000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
0: 44 89 e3 mov %r12d,%ebx
3: 43 80 3c 2e 00 cmpb $0x0,(%r14,%r13,1)
8: 4c 8d b5 d8 00 00 00 lea 0xd8(%rbp),%r14
f: 74 08 je 0x19
11: 4c 89 f7 mov %r14,%rdi
14: e8 1b 34 ac f8 call 0xf8ac3434
19: 49 8b 06 mov (%r14),%rax
1c: 48 01 c3 add %rax,%rbx
1f: 48 83 c3 0c add $0xc,%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 9d 04 00 00 jne 0x4d4
37: 44 8b 3b mov (%rbx),%r15d
3a: 41 c1 ef 02 shr $0x2,%r15d
3e: 41 rex.B
3f: 83 .byte 0x83