Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp318881ybb; Fri, 10 Apr 2020 00:17:17 -0700 (PDT) X-Google-Smtp-Source: APiQypL9Wdugay79gR/dtXgVTm8wH2wsAotSgoj5CLV/O4GiF1ARsWMtbBP11Ml8axlY1e1moony X-Received: by 2002:a37:a3d5:: with SMTP id m204mr2723409qke.364.1586503037264; Fri, 10 Apr 2020 00:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586503037; cv=none; d=google.com; s=arc-20160816; b=pUR2o/hDufqj1cZ1wg/xFs0wRjh1pP7yrX1MyVpLmRm1ySK9GCFlNiphQSKWNQp6Xg zfb2+wV9U2jh+n7l62JxpTS3TnRVK3vjbUmr/C7LdjvXNczLzc7cmiRCBJY2HOb2YPzI jxq100OXsQcaIAmqjkGtitBFH82bKkDkkhtJGRYQw1xphP+n8iZVmrhvBwSsr+hIqfMH OyhAY+kpu7F4zNFDkPQpUeaToSuKX7rYnaTa3ciBbawP7Gr54pha4un0JqKJZpO3wAcJ honmqujIQTQ96KJfrjrcsWVVs2DbA5neTCkK3KQh5t6qtubGckAuiJiL9J7/omDvUhJ7 WGaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version; bh=Va41vCtvpJZisksuHvVDpuLd/Rd1sssyCkB242NnNGQ=; b=sn0GrN9Se9iHp+tWo/Cr6ZKDJLRQIznBkKqC4bDt5hj1Tv2k7IGp4Eth/BAkjKAsBq sUmviMNWCIzJqwutzYLO4wAqsl+UMiljKy42wz9OTSZ2SfgYL+6UUoMTHv//vvez3Nc8 CxyqS49/EMsUI3rcRlPrbLDToY0qumyNXklVVCgYINKnzOpTnOoXHA1BEpmqeud7sQyP quXxaJUz7fxQQlAY5OXOwxODka5LO1jkSzVu8baykCUbveGBAC02mctGzS9YeNAE89Py wJeaxf8QZd6sGtu/AMEXkNg9G9eX03QN8rh3CREtglKiYXrSVVHqLZdXh4mJeCdf/t9r 9Whw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r16si681800qte.175.2020.04.10.00.17.00; Fri, 10 Apr 2020 00:17:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726141AbgDJHQT (ORCPT + 99 others); Fri, 10 Apr 2020 03:16:19 -0400 Received: from mail-io1-f72.google.com ([209.85.166.72]:44752 "EHLO mail-io1-f72.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725858AbgDJHQT (ORCPT ); Fri, 10 Apr 2020 03:16:19 -0400 Received: by mail-io1-f72.google.com with SMTP id o20so1290385ioa.11 for ; Fri, 10 Apr 2020 00:16:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=Va41vCtvpJZisksuHvVDpuLd/Rd1sssyCkB242NnNGQ=; b=gD9YWravOYaxuiAe0eYnFR+4dtuBVGZqRv3ee2Fc5WfYoHelDFc38CShMg7vbDgWaF qfo5ku7++j3f+0KbCQ0bYmDzADlc8z4E/9a4TWFP6+ZnN68rMgZ0ngoqDasSPSFULJ4w kImSQuLGHsuGEAt/gX1bCb95E28fYOlU2k4Bnktv/vBxdJnl3S3xAfB9EaotdCFjFR+t LhGU6pTqgWe9olvH4SFykwqnr1mVNbYB8gCImT49qub/3UwxyEW3qzVbp+0tE0sjoGtE jp0ZpMOqo48I9kcuKxi75bGx93LDwh92y8gksA3xkfoXtwtKc5dPeN0ZmZ5+DK5YlMUz qlFw== X-Gm-Message-State: AGi0PuZpOfs3+Jm5vPoUe9zt5hGsd4nCjCZfVy/98z6F2bYaRCmjNgEp PZmYx7qGp1SOvKAkMv1UHv6ZrjL0F0cFCEVkzNGFFbBpUCTi MIME-Version: 1.0 X-Received: by 2002:a05:6602:2402:: with SMTP id s2mr3083214ioa.69.1586502977104; Fri, 10 Apr 2020 00:16:17 -0700 (PDT) Date: Fri, 10 Apr 2020 00:16:17 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000062b41d05a2ea82b0@google.com> Subject: kernel BUG at net/phonet/socket.c:LINE! From: syzbot To: courmisch@gmail.com, davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: b93cfb9c net: icmp6: do not select saddr from iif when rou.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=13501d2be00000 kernel config: https://syzkaller.appspot.com/x/.config?x=94a7f1dec460ee83 dashboard link: https://syzkaller.appspot.com/bug?extid=2dc91e7fc3dea88b1e8a compiler: gcc (GCC) 9.0.0 20181231 (experimental) Unfortunately, I don't have any reproducer for this crash yet. IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+2dc91e7fc3dea88b1e8a@syzkaller.appspotmail.com ------------[ cut here ]------------ kernel BUG at net/phonet/socket.c:213! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8394 Comm: syz-executor.4 Not tainted 5.6.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline] RIP: 0010:pn_socket_autobind+0x13c/0x160 net/phonet/socket.c:202 Code: 44 05 00 00 00 00 00 44 89 e0 48 8b 4c 24 58 65 48 33 0c 25 28 00 00 00 75 23 48 83 c4 60 5b 5d 41 5c 41 5d c3 e8 b4 ad 41 fa <0f> 0b e8 9d 56 7f fa eb 9f e8 b6 56 7f fa e9 6d ff ff ff e8 0c dd RSP: 0018:ffffc900034cfda8 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90011d66000 RDX: 0000000000000081 RSI: ffffffff873183dc RDI: 0000000000000003 RBP: 1ffff92000699fb5 R08: ffff8880620f61c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f84223c9700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004d8730 CR3: 000000005cce0000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pn_socket_listen+0x40/0x200 net/phonet/socket.c:399 __sys_listen+0x17d/0x250 net/socket.c:1696 __do_sys_listen net/socket.c:1705 [inline] __se_sys_listen net/socket.c:1703 [inline] __x64_sys_listen+0x50/0x70 net/socket.c:1703 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c889 Code: ad b6 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 b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f84223c8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007f84223c96d4 RCX: 000000000045c889 RDX: 0000000000000000 RSI: 000000000000007d RDI: 0000000000000003 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000712 R14: 00000000004c9e2d R15: 000000000076bf0c Modules linked in: ---[ end trace 65d6f1331216c544 ]--- RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline] RIP: 0010:pn_socket_autobind+0x13c/0x160 net/phonet/socket.c:202 Code: 44 05 00 00 00 00 00 44 89 e0 48 8b 4c 24 58 65 48 33 0c 25 28 00 00 00 75 23 48 83 c4 60 5b 5d 41 5c 41 5d c3 e8 b4 ad 41 fa <0f> 0b e8 9d 56 7f fa eb 9f e8 b6 56 7f fa e9 6d ff ff ff e8 0c dd RSP: 0018:ffffc900034cfda8 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90011d66000 RDX: 0000000000000081 RSI: ffffffff873183dc RDI: 0000000000000003 RBP: 1ffff92000699fb5 R08: ffff8880620f61c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f84223c9700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000076c000 CR3: 000000005cce0000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- This bug is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this bug report. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.