From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.codeaurora.org by pdx-caf-mail.web.codeaurora.org (Dovecot) with LMTP id G7rFAa6AGluvQwAAmS7hNA ; Fri, 08 Jun 2018 13:12:14 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EDAED6089E; Fri, 8 Jun 2018 13:12:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,FROM_LOCAL_HEX, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by smtp.codeaurora.org (Postfix) with ESMTP id 45FCC606FA; Fri, 8 Jun 2018 13:12:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 45FCC606FA Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752904AbeFHNLl (ORCPT + 25 others); Fri, 8 Jun 2018 09:11:41 -0400 Received: from mail-io0-f197.google.com ([209.85.223.197]:55229 "EHLO mail-io0-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751898AbeFHNLD (ORCPT ); Fri, 8 Jun 2018 09:11:03 -0400 Received: by mail-io0-f197.google.com with SMTP id p12-v6so9960131iog.21 for ; Fri, 08 Jun 2018 06:11:03 -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=vpSKhRiE/KlTFtNUtBgroXTlgKUyFfjtDXxbc+6G9Gg=; b=KbvlpD3UbIZZ9mR1ZokNW3y6vOeNFhHzQuxVQvuESSsqAZN3fbgOoJ21mG1vIRHsvl 0a83OEZiBBNiNBKY1EzlPIhhqQvRxBYSDbCH6/6O2TAxpf3MCC0HmTe0W/IKZHGEqwUQ 5k6ZoGgEpc2r70n6a1yM1BJnG+MuGL96RpEuX9UE54iy/sOigD2kVu0fjMrpFsktyjYW 3F2e1QHrQA9b5fOWOBFQakGcYDS4kdhozfbnL6T9INT6kDPppsLuh3m7hxFxC/volIDG LFzC+cKkir7Srb96lq4IZZDbY/1AJFNk1uUGGLXzjoCnq6rCbPjjJRUTKUUR0rLaTWZX W4LQ== X-Gm-Message-State: APt69E1pzwoS5oKoHA9dXc63sz57WQcxg3WJiMJ6JbBi1/Gcb4fWLPFj nhyAkRT3UdJVOxJr2ajNYEdXxkxnGSEFX8lpxpnHwalnALzS X-Google-Smtp-Source: ADUXVKKS1/xkd8zLNSnvfT6fpT7Y+gDDd6BTuoJWHdHUzLDgCZiXvTjsfAbPG2OFpSVmU8tkezVQGjpNeqC1raRsdu9yI/x+9nIX MIME-Version: 1.0 X-Received: by 2002:a6b:1a82:: with SMTP id a124-v6mr2713496ioa.66.1528463462825; Fri, 08 Jun 2018 06:11:02 -0700 (PDT) Date: Fri, 08 Jun 2018 06:11:02 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000c109af056e2121a4@google.com> Subject: general protection fault in pipe_write From: syzbot To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes 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: 7170e6045a6a strparser: Add __strp_unpause and use it in k.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=15b5c8cf800000 kernel config: https://syzkaller.appspot.com/x/.config?x=a601a80fec461d44 dashboard link: https://syzkaller.appspot.com/bug?extid=772c951c5f15d2f1df03 compiler: gcc (GCC) 8.0.1 20180413 (experimental) syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=13ad0b6f800000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+772c951c5f15d2f1df03@syzkaller.appspotmail.com 8021q: adding VLAN 0 to HW filter on device team0 8021q: adding VLAN 0 to HW filter on device team0 bpfilter: read fail -512 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 6572 Comm: syz-executor5 Not tainted 4.17.0-rc7+ #82 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pipe_write+0xa49/0xeb0 fs/pipe.c:480 RSP: 0000:ffff8801ac6b7858 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81c22b3b RDX: 0000000000000005 RSI: ffffffff81c22b49 RDI: 0000000000000028 RBP: ffff8801ac6b78d8 R08: ffff8801b3796080 R09: 0000000000000006 R10: ffff8801b3796080 R11: 0000000000000000 R12: ffff8801cdbaa820 R13: ffff8801cdb31a40 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fe12b0e9700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe01b0f9af0 CR3: 00000001c43e7000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: call_write_iter include/linux/fs.h:1784 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x64d/0x960 fs/read_write.c:487 __kernel_write+0x10c/0x380 fs/read_write.c:506 __bpfilter_process_sockopt+0x1d8/0x35b net/bpfilter/bpfilter_kern.c:66 bpfilter_mbox_request+0x4d/0xb0 net/ipv4/bpfilter/sockopt.c:25 bpfilter_ip_set_sockopt+0x33/0x40 net/ipv4/bpfilter/sockopt.c:31 ip_setsockopt+0x124/0x140 net/ipv4/ip_sockglue.c:1250 raw_setsockopt+0xe2/0x100 net/ipv4/raw.c:868 sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:3059 __sys_setsockopt+0x1bd/0x390 net/socket.c:1903 __do_sys_setsockopt net/socket.c:1914 [inline] __se_sys_setsockopt net/socket.c:1911 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1911 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4559f9 RSP: 002b:00007fe12b0e8c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fe12b0e96d4 RCX: 00000000004559f9 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000072bf50 R08: 0000000000000370 R09: 0000000000000000 R10: 00000000200003c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c0d8b R14: 00000000004d0828 R15: 0000000000000001 Code: 48 c1 ea 03 80 3c 02 00 0f 85 fc 03 00 00 48 8b 45 c8 48 8b 58 20 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ef 03 00 00 48 8b 7b 28 31 d2 be 01 00 00 00 RIP: pipe_write+0xa49/0xeb0 fs/pipe.c:480 RSP: ffff8801ac6b7858 ---[ end trace 7e44f4b8135e2e72 ]--- --- 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#bug-status-tracking for how to communicate with syzbot. syzbot can test patches for this bug, for details see: https://goo.gl/tpsmEJ#testing-patches