syzbot


general protection fault in xfrmi_rcv_cb

Status: auto-closed as invalid on 2019/08/27 23:47
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+af91688fec2b033aa620@syzkaller.appspotmail.com
First crash: 2046d, last: 1876d
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 26 open syzbot bugs in "net/xfrm" subsystem 1 (1) 2019/07/24 01:42
Reminder: 27 open syzbot bugs in "net/xfrm" subsystem 1 (1) 2019/06/25 05:51
general protection fault in xfrmi_rcv_cb 0 (1) 2018/09/13 13:31

Sample crash report:
RBP: 0000000020000100 R08: 00000000000000f0 R09: 0000000000000000
R10: 0000000000000064 R11: 0000000000000293 R12: 00007ff03ce5f6d4
R13: 00000000004c646c R14: 00000000004db860 R15: 0000000000000004
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 10421 Comm: syz-executor.4 Not tainted 5.0.0-rc5+ #72
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:xs_net include/net/xfrm.h:253 [inline]
RIP: 0010:xfrmi_rcv_cb+0x14c/0x970 net/xfrm/xfrm_interface.c:259
Code: 7c f5 08 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 57 07 00 00 48 b8 00 00 00 00 00 fc ff df 4f 8b 6c f5 08 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 2a 07 00 00 49 8b 7d 00 49 8d b5 d0 00 00 00 e8
RSP: 0018:ffff888060d9f110 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880880f8540 RCX: ffffc9000a215000
RDX: 0000000000000000 RSI: ffffffff860224ca RDI: ffff8880a89d9e48
RBP: ffff888060d9f148 R08: ffff888061126480 R09: ffffed1015d25bd0
R10: ffffed1015d25bcf R11: ffff8880ae92de7b R12: 00000000ffffffff
R13: 0000000000000000 R14: ffffffffffffffff R15: 00000000ffffffff
FS:  00007ff03ce5f700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001c11978 CR3: 000000008c05e000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 xfrm6_rcv_cb+0x118/0x290 net/ipv6/xfrm6_protocol.c:59
 xfrm_rcv_cb net/xfrm/xfrm_input.c:106 [inline]
 xfrm_input+0x8f4/0x3070 net/xfrm/xfrm_input.c:472
 xfrm6_rcv_spi net/ipv6/xfrm6_input.c:31 [inline]
 xfrm6_rcv_tnl+0x175/0x1e0 net/ipv6/xfrm6_input.c:74
 xfrm6_rcv+0x18/0x20 net/ipv6/xfrm6_input.c:81
 xfrm6_esp_rcv+0xd8/0x230 net/ipv6/xfrm6_protocol.c:74
 ip6_protocol_deliver_rcu+0x303/0x16c0 net/ipv6/ip6_input.c:394
 ip6_input_finish+0x84/0x170 net/ipv6/ip6_input.c:434
 NF_HOOK include/linux/netfilter.h:289 [inline]
 NF_HOOK include/linux/netfilter.h:283 [inline]
 ip6_input+0xe4/0x3f0 net/ipv6/ip6_input.c:443
kobject: 'loop2' (0000000059db9fef): kobject_uevent_env
 ip6_mc_input+0x4aa/0xf30 net/ipv6/ip6_input.c:537
kobject: 'loop2' (0000000059db9fef): fill_kobj_path: path = '/devices/virtual/block/loop2'
 dst_input include/net/dst.h:450 [inline]
 ip6_rcv_finish+0x1e7/0x320 net/ipv6/ip6_input.c:76
 NF_HOOK include/linux/netfilter.h:289 [inline]
 NF_HOOK include/linux/netfilter.h:283 [inline]
 ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:272
 __netif_receive_skb_one_core+0x115/0x1a0 net/core/dev.c:4973
kobject: 'loop5' (0000000072c56844): kobject_uevent_env
 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5083
 netif_receive_skb_internal+0x117/0x660 net/core/dev.c:5186
kobject: 'loop5' (0000000072c56844): fill_kobj_path: path = '/devices/virtual/block/loop5'
 napi_frags_finish net/core/dev.c:5753 [inline]
 napi_gro_frags+0xade/0xd10 net/core/dev.c:5827
 tun_get_user+0x2832/0x38d0 drivers/net/tun.c:1974
 tun_chr_write_iter+0xbd/0x160 drivers/net/tun.c:2019
 call_write_iter include/linux/fs.h:1863 [inline]
 do_iter_readv_writev+0x5e0/0x8e0 fs/read_write.c:680
 do_iter_write fs/read_write.c:956 [inline]
 do_iter_write+0x184/0x610 fs/read_write.c:937
 vfs_writev+0x1b3/0x2f0 fs/read_write.c:1001
 do_writev+0xf6/0x290 fs/read_write.c:1036
kobject: 'loop1' (000000000f4ac4dd): kobject_uevent_env
 __do_sys_writev fs/read_write.c:1109 [inline]
 __se_sys_writev fs/read_write.c:1106 [inline]
 __x64_sys_writev+0x75/0xb0 fs/read_write.c:1106
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457cf1
Code: 75 14 b8 14 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 e4 b9 fb ff c3 48 83 ec 08 e8 1a 2d 00 00 48 89 04 24 b8 14 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 63 2d 00 00 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ff03ce5eba0 EFLAGS: 00000293 ORIG_RAX: 0000000000000014
kobject: 'loop1' (000000000f4ac4dd): fill_kobj_path: path = '/devices/virtual/block/loop1'
RAX: ffffffffffffffda RBX: 0000000000000066 RCX: 0000000000457cf1
RDX: 0000000000000001 RSI: 00007ff03ce5ebf0 RDI: 00000000000000f0
RBP: 0000000020000100 R08: 00000000000000f0 R09: 0000000000000000
R10: 0000000000000064 R11: 0000000000000293 R12: 00007ff03ce5f6d4
R13: 00000000004c646c R14: 00000000004db860 R15: 0000000000000004
Modules linked in:
---[ end trace bb39c8ac98154ee7 ]---
RIP: 0010:xs_net include/net/xfrm.h:253 [inline]
RIP: 0010:xfrmi_rcv_cb+0x14c/0x970 net/xfrm/xfrm_interface.c:259
Code: 7c f5 08 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 57 07 00 00 48 b8 00 00 00 00 00 fc ff df 4f 8b 6c f5 08 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 2a 07 00 00 49 8b 7d 00 49 8d b5 d0 00 00 00 e8
RSP: 0018:ffff888060d9f110 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880880f8540 RCX: ffffc9000a215000
RDX: 0000000000000000 RSI: ffffffff860224ca RDI: ffff8880a89d9e48
RBP: ffff888060d9f148 R08: ffff888061126480 R09: ffffed1015d25bd0
R10: ffffed1015d25bcf R11: ffff8880ae92de7b R12: 00000000ffffffff
R13: 0000000000000000 R14: ffffffffffffffff R15: 00000000ffffffff
FS:  00007ff03ce5f700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001c11978 CR3: 000000008c05e000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (28):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/02/11 14:17 net-old 31b58ad0c327 73f5f452 .config console log report ci-upstream-net-this-kasan-gce
2019/02/09 09:26 net-old b5bfc21af5cb fa6c7b70 .config console log report ci-upstream-net-this-kasan-gce
2019/01/24 03:33 net-old 63530aba7826 56558f63 .config console log report ci-upstream-net-this-kasan-gce
2019/01/20 21:44 net-old 6436408e814b fd37a550 .config console log report ci-upstream-net-this-kasan-gce
2019/01/17 22:59 net-old cb12d72b27a6 769e75ed .config console log report ci-upstream-net-this-kasan-gce
2019/01/17 06:38 net-old 0f149c9fec3c c2faf9b2 .config console log report ci-upstream-net-this-kasan-gce
2019/01/08 11:49 net-old 26d92e951fe0 37dd2683 .config console log report ci-upstream-net-this-kasan-gce
2019/01/07 01:55 net-old d4a7e9bb74b5 ee332608 .config console log report ci-upstream-net-this-kasan-gce
2019/01/04 05:20 net-old c5ee066333eb 7da23925 .config console log report ci-upstream-net-this-kasan-gce
2019/01/03 15:54 net-old c5ee066333eb 66fcd29b .config console log report ci-upstream-net-this-kasan-gce
2019/01/01 21:18 net-old 4087d2bc0d94 3d85f48c .config console log report ci-upstream-net-this-kasan-gce
2018/12/31 15:14 net-old 3bd826451103 2b42fdc8 .config console log report ci-upstream-net-this-kasan-gce
2018/12/31 06:18 net-old c433570458e4 2b42fdc8 .config console log report ci-upstream-net-this-kasan-gce
2018/12/30 20:26 net-old f7d18ef6a95f 9942de5f .config console log report ci-upstream-net-this-kasan-gce
2018/10/26 10:43 net-old bf4cc40e9343 a8292de9 .config console log report ci-upstream-net-this-kasan-gce
2018/10/25 12:28 net-old 4f3ebb04d05f a8292de9 .config console log report ci-upstream-net-this-kasan-gce
2018/10/24 11:36 net-old 23469de647c4 a8292de9 .config console log report ci-upstream-net-this-kasan-gce
2018/10/22 10:24 net-old 23469de647c4 ecb386fe .config console log report ci-upstream-net-this-kasan-gce
2018/10/18 15:21 net-old 84258438e8ce d257b2d2 .config console log report ci-upstream-net-this-kasan-gce
2018/10/11 09:24 net-old 52b5d6f5dcf0 5f818b4b .config console log report ci-upstream-net-this-kasan-gce
2018/10/09 23:59 net-old 4cf34c0cf60e 8b311eaf .config console log report ci-upstream-net-this-kasan-gce
2018/10/08 08:21 net-old 7e823644b605 8b311eaf .config console log report ci-upstream-net-this-kasan-gce
2019/02/28 23:46 net-next-old 2ecba2d1e45b 09aeeba4 .config console log report ci-upstream-net-kasan-gce
2019/01/16 05:34 net-next-old 9dde6da51297 b47fa78d .config console log report ci-upstream-net-kasan-gce
2018/10/19 14:48 net-next-old 1107a674cc04 9aba67b5 .config console log report ci-upstream-net-kasan-gce
2018/09/29 14:25 net-next-old 5362700c942b 41e4b329 .config console log report ci-upstream-net-kasan-gce
2018/09/12 09:05 net-next-old aad06d1104e8 3c88136c .config console log report ci-upstream-net-kasan-gce
2018/09/11 12:35 net-next-old 11957be20ff6 8c88323f .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.