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: 1821d, last: 1798d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in ipv6_rcv net 2 1845d 1862d 0/26 closed as invalid on 2019/05/15 23:07
linux-4.14 BUG: unable to handle kernel paging request in ipv6_rcv 1 1297d 1297d 0/1 auto-closed as invalid on 2021/02/28 11:07

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

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/06/18 22:06 bpf-next 4d18f6de6ac1 e3f76baa .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/15 15:50 bpf-next 7f94208c8f9a 442206d7 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/12 08:05 bpf-next 5e2ac390fbd0 ea2f4006 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/12 03:02 bpf-next 5e2ac390fbd0 ea2f4006 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/10 07:44 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/10 04:57 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/07 05:53 bpf-next 4ecabd55c904 698773cb .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/06 10:29 bpf-next 07c3bbdb1a9b a547defc .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/05 15:55 net-next-old 712246bc93cb bfb4a51e .config console log report ci-upstream-net-kasan-gce
2019/06/04 21:14 bpf-next 6685699e4ef5 e41a20c5 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/03 04:35 bpf-next 0462eaacee49 53c81ea5 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/02 16:23 net-next-old c1e9e01d4233 53c81ea5 .config console log report ci-upstream-net-kasan-gce
2019/06/01 20:24 net-next-old 0462eaacee49 53c81ea5 .config console log report ci-upstream-net-kasan-gce
2019/05/28 17:09 net-next-old cec4f328c929 6bd61501 .config console log report ci-upstream-net-kasan-gce
2019/05/28 13:08 net-next-old cec4f328c929 6bd61501 .config console log report ci-upstream-net-kasan-gce
2019/05/27 08:12 net-next-old 9b3c520e9628 85c57315 .config console log report ci-upstream-net-kasan-gce
2019/05/26 06:35 net-next-old 22942498cceb 85c57315 .config console log report ci-upstream-net-kasan-gce
2019/05/26 05:32 net-next-old 22942498cceb 85c57315 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.