syzbot


general protection fault in icmp6_send (2)

Status: closed as invalid on 2019/04/24 17:55
Subsystems: net
[Documentation on labels]
First crash: 1917d, last: 1917d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in icmp6_send net syz 2 1988d 1988d 11/27 fixed on 2019/03/06 07:43

Sample crash report:
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: 27201 Comm: syz-executor.0 Not tainted 5.0.0+ #98
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:icmpv6_xrlim_allow net/ipv6/icmp.c:215 [inline]
RIP: 0010:icmp6_send+0x11e9/0x21f0 net/ipv6/icmp.c:541
Code: 00 49 8b 9d b0 00 00 00 48 85 db 74 33 e8 6f d0 57 fb 48 8d bb d0 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4c 0e 00 00 48 8b 83 d0 02 00 00 65 48 ff 40 78
RSP: 0018:ffff8880ae907660 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 514000000000c020 RCX: ffffffff8618937a
RDX: 0a2800000000185e RSI: ffffffff861893c1 RDI: 514000000000c2f0
RBP: ffff8880ae9078d0 R08: ffff8880a0524640 R09: 0000000000000005
R10: ffffed1015d25bc7 R11: ffff8880ae92de3b R12: ffff888097ed0300
R13: ffff88809b96508a R14: ffff888091620100 R15: ffff88808edeabf4
FS:  00007f25ce364700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f25ce342db8 CR3: 00000000546f5000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 icmpv6_send+0xee/0x230 net/ipv6/ip6_icmp.c:43
 __udp6_lib_rcv+0x1aa3/0x2c80 net/ipv6/udp.c:939
 udpv6_rcv+0x22/0x30 net/ipv6/udp.c:1028
 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
 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
 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5083
 process_backlog+0x206/0x750 net/core/dev.c:5923
 napi_poll net/core/dev.c:6346 [inline]
 net_rx_action+0x4fa/0x1070 net/core/dev.c:6412
 __do_softirq+0x266/0x95a kernel/softirq.c:293
 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1027
 </IRQ>
 do_softirq.part.0+0x11a/0x170 kernel/softirq.c:338
 do_softirq kernel/softirq.c:330 [inline]
 __local_bh_enable_ip+0x211/0x270 kernel/softirq.c:190
 local_bh_enable include/linux/bottom_half.h:32 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:684 [inline]
 ip6_finish_output2+0xbcf/0x2550 net/ipv6/ip6_output.c:121
 ip6_finish_output+0x577/0xc30 net/ipv6/ip6_output.c:154
 NF_HOOK_COND include/linux/netfilter.h:278 [inline]
 ip6_output+0x235/0x7f0 net/ipv6/ip6_output.c:171
 dst_output include/net/dst.h:444 [inline]
 ip6_local_out+0xc4/0x1b0 net/ipv6/output_core.c:176
 ip6_send_skb+0xbb/0x350 net/ipv6/ip6_output.c:1733
 udp_v6_send_skb.isra.0+0x839/0x14f0 net/ipv6/udp.c:1179
 udpv6_sendmsg+0x21e3/0x28d0 net/ipv6/udp.c:1476
 inet_sendmsg+0x147/0x5d0 net/ipv4/af_inet.c:798
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xdd/0x130 net/socket.c:632
 ___sys_sendmsg+0x3e2/0x930 net/socket.c:2137
 __sys_sendmmsg+0x1bf/0x4d0 net/socket.c:2232
 __do_sys_sendmmsg net/socket.c:2261 [inline]
 __se_sys_sendmmsg net/socket.c:2258 [inline]
 __x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2258
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458079
Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f25ce363c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458079
RDX: 0136a88c8311572c RSI: 0000000020007e00 RDI: 0000000000000004
RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000009 R11: 0000000000000246 R12: 00007f25ce3646d4
R13: 00000000004c4f77 R14: 00000000004d8cb0 R15: 00000000ffffffff
Modules linked in:
---[ end trace 5882af7695227fe3 ]---
RIP: 0010:icmpv6_xrlim_allow net/ipv6/icmp.c:215 [inline]
RIP: 0010:icmp6_send+0x11e9/0x21f0 net/ipv6/icmp.c:541
Code: 00 49 8b 9d b0 00 00 00 48 85 db 74 33 e8 6f d0 57 fb 48 8d bb d0 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4c 0e 00 00 48 8b 83 d0 02 00 00 65 48 ff 40 78
RSP: 0018:ffff8880ae907660 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 514000000000c020 RCX: ffffffff8618937a
RDX: 0a2800000000185e RSI: ffffffff861893c1 RDI: 514000000000c2f0
RBP: ffff8880ae9078d0 R08: ffff8880a0524640 R09: 0000000000000005
R10: ffffed1015d25bc7 R11: ffff8880ae92de3b R12: ffff888097ed0300
R13: ffff88809b96508a R14: ffff888091620100 R15: ffff88808edeabf4
FS:  00007f25ce364700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f25ce342db8 CR3: 00000000546f5000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/16 07:09 net-next-old 3b319ee220a8 bab43553 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.