syzbot
BUG: unable to handle kernel paging request in ipv6_rcv (2)
Status: fixed on 2019/07/10 21:40
Subsystems:
net
[Documentation on labels]
Fix commit:
c3bcde026684
tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb
First crash: 2617d, last: 2593d
Sample crash report:
BUG: unable to handle page fault for address: ffff862080f00000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 0 P4D 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 24845 Comm: syz-executor.4 Not tainted 5.2.0-rc2+ #24
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:0xffff862080f00000
Code: Bad RIP value.
RSP: 0018:ffff888066f7f738 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88808d5cadbe RCX: ffffc9000e866000
RDX: 1ffff11011ab95bc RSI: ffffffff861c80b5 RDI: ffff888093a89ac0
RBP: ffff888066f7f768 R08: ffff88805e59c280 R09: ffffed1015d06be8
R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: ffff888093a89ac0
R13: 0000000000000001 R14: ffff888093a89b18 R15: 0000000000000000
FS: 00007f77b1129700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff862080efffd6 CR3: 00000000688b9000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
NF_HOOK include/linux/netfilter.h:305 [inline]
NF_HOOK include/linux/netfilter.h:299 [inline]
ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:276
__netif_receive_skb_one_core+0x113/0x1a0 net/core/dev.c:4985
__netif_receive_skb+0x2c/0x1d0 net/core/dev.c:5099
netif_receive_skb_internal+0x108/0x390 net/core/dev.c:5189
napi_frags_finish net/core/dev.c:5740 [inline]
napi_gro_frags+0xad9/0xd10 net/core/dev.c:5814
tun_get_user+0x2f3c/0x3ff0 drivers/net/tun.c:1991
tun_chr_write_iter+0xbd/0x156 drivers/net/tun.c:2037
call_write_iter include/linux/fs.h:1872 [inline]
new_sync_write+0x4d3/0x770 fs/read_write.c:483
__vfs_write+0xe1/0x110 fs/read_write.c:496
vfs_write+0x20c/0x580 fs/read_write.c:558
ksys_write+0x14f/0x290 fs/read_write.c:611
__do_sys_write fs/read_write.c:623 [inline]
__se_sys_write fs/read_write.c:620 [inline]
__x64_sys_write+0x73/0xb0 fs/read_write.c:620
do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4592c9
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f77b1128c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9
RDX: 0000000000000212 RSI: 00000000200006c0 RDI: 0000000000000008
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f77b11296d4
R13: 00000000004c91a5 R14: 00000000004e0148 R15: 00000000ffffffff
Modules linked in:
CR2: ffff862080f00000
---[ end trace 85ee73f489648c01 ]---
RIP: 0010:0xffff862080f00000
Code: Bad RIP value.
RSP: 0018:ffff888066f7f738 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88808d5cadbe RCX: ffffc9000e866000
RDX: 1ffff11011ab95bc RSI: ffffffff861c80b5 RDI: ffff888093a89ac0
RBP: ffff888066f7f768 R08: ffff88805e59c280 R09: ffffed1015d06be8
R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: ffff888093a89ac0
R13: 0000000000000001 R14: ffff888093a89b18 R15: 0000000000000000
FS: 00007f77b1129700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff862080efffd6 CR3: 00000000688b9000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
* Struck through repros no longer work on HEAD.