Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1079398imu; Fri, 16 Nov 2018 15:33:29 -0800 (PST) X-Google-Smtp-Source: AJdET5e4XNMNT8HYO8N74PRqNmv15M5cv/hc3jK6ILSiqtOKQJZ7ZNhVFic3HpUz2Ja8o7h7e1UQ X-Received: by 2002:a63:6a42:: with SMTP id f63-v6mr12060156pgc.48.1542411209571; Fri, 16 Nov 2018 15:33:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542411209; cv=none; d=google.com; s=arc-20160816; b=wBYkWORfudVDe/Ig6ZeFGKBvt9QUu+rzQ8HX4EocjRmp/KlsRRnorrtxBgicTbDxbO wzZg6Eg715HIhSJK6KROl+TYD/F6ZlBt9fDNFVC5MirufojxX/ErwNl8oqSdoQEkXBpd 3tLkPtOdeWAGJwFY227H3zapFjVJbiA9CfRUIuqrTU5JdTD9AhrdQecEiAltIJ1DoLXa Vh4LZX+vFo99W42Fi471RZWglQZ67GBuqKYFCpzQx0nLhU30ophUdGMUkDwtaDLchfUD 1PifzLUKwLF5a4dWlvxl3fwHF+nHeW5xSnSxA6p8iEgrxq8WSF+WBX7tanY2yinAdOeh JxxA== 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=+VAAU0fEISfZk+YtxjQxfMpYBmojnkhUvcrYppesuFU=; b=bxkBK58dvns0Ejuob0yifQrwB55w0EtRDYL1KACmLUE6VrNrhHn3yxHibPlNgppfjr 9DC9v5kkRJPSgzeRGlBPy1qvmOazCwGtRkKJGftyruhiEDy0uvGlIKD9kwZ1S+81askW yPUHG4ax93jlkRFvusw+U6N2dTZFpU4yunWqipsZrU9HJLbzEPR/FMmWee2OTluJTSRr Mcrdj5Nduul+5+b/y4sqVWtHzChdm/OHfiRsf8OndnS65R3JZQ3yMz/5yp6hJPfeU6af fRVC8daxLMqmbrHSRqk6w/JKthCgPOnVg52hDLZzHeLdDccf8moG5z4B9TlMEQF8sRWt YLrA== 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 n11-v6si2955717plg.87.2018.11.16.15.33.15; Fri, 16 Nov 2018 15:33:29 -0800 (PST) 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 S1730866AbeKQJq1 (ORCPT + 99 others); Sat, 17 Nov 2018 04:46:27 -0500 Received: from mail-it1-f197.google.com ([209.85.166.197]:37345 "EHLO mail-it1-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727116AbeKQJq1 (ORCPT ); Sat, 17 Nov 2018 04:46:27 -0500 Received: by mail-it1-f197.google.com with SMTP id y86so275384ita.2 for ; Fri, 16 Nov 2018 15:32:03 -0800 (PST) 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=+VAAU0fEISfZk+YtxjQxfMpYBmojnkhUvcrYppesuFU=; b=fZYOu5jw155dO5bz2IAQJG5PHpTSstCJVEwBvcAMJBIpp45QvObRyMwBEZSEgFSAHb /S7Mc2QEy5wR1sBBYX97Tl9NiNiZX2XUYx0SoBjqlt+pPuuxFwK1n6TujvD1lq3ERYkh o57DOyKYZs15i0Pu9rG2oV93ZkFo/Akbvse6rw17H5iciHVHvAXyldq2NwmCLwUF0C/4 enJizJ3O2oWvEUkHQvFlcGJDZyi7TdzKdVg0g/HGxnn7bESuTxbnifpN3kXJhw0Br79Q UdJTgIjgzA0NIg9HG1w4qZMSADC8nMN2WphkYS5Phml9oysLwKbg3rUoYhXB1SvRCAg+ oUZQ== X-Gm-Message-State: AGRZ1gJ0r1a2VshVyp38BS7/VkoKeubRqWlwVYqTWs9m6F5GjOgAYt4Z LpH03Y3hPpzdY1llhm6RkFXp3FfLAYdiXdCwnlh8a7h223km MIME-Version: 1.0 X-Received: by 2002:a02:3f22:: with SMTP id d34-v6mr5177610jaa.24.1542411123432; Fri, 16 Nov 2018 15:32:03 -0800 (PST) Date: Fri, 16 Nov 2018 15:32:03 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000001c2b95057ad0935b@google.com> Subject: kernel BUG at arch/x86/mm/physaddr.c:LINE! (2) From: syzbot To: hverkuil@xs4all.nl, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, syzkaller-bugs@googlegroups.com 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: 5929a1f0ff30 Merge tag 'riscv-for-linus-4.20-rc2' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=137766a3400000 kernel config: https://syzkaller.appspot.com/x/.config?x=4a0a89f12ca9b0f5 dashboard link: https://syzkaller.appspot.com/bug?extid=6c0effb5877f6b0344e2 compiler: gcc (GCC) 8.0.1 20180413 (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+6c0effb5877f6b0344e2@syzkaller.appspotmail.com ------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8479 Comm: syz-executor1 Not tainted 4.20.0-rc2+ #113 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0xb5/0x120 arch/x86/mm/physaddr.c:27 Code: 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 b4 bb 45 00 48 85 db 75 0f e8 7a ba 45 00 4c 89 e0 5b 41 5c 41 5d 5d c3 e8 6b ba 45 00 <0f> 0b e8 64 ba 45 00 48 c7 c7 10 20 47 89 48 b8 00 00 00 00 00 fc RSP: 0018:ffff88815771f410 EFLAGS: 00010016 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000fc04000 RDX: 0000000000000119 RSI: ffffffff8139cd75 RDI: 0000000000000007 RBP: ffff88815771f428 R08: ffff888157a101c0 R09: ffffed103b5c5b67 R10: ffffed103b5c5b67 R11: ffff8881dae2db3b R12: 000040801396c000 R13: 0000000000000000 R14: 0000000000000010 R15: ffff88815771fab8 FS: 00007f52131d8700(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000720f9c CR3: 00000001b5073000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: virt_to_head_page include/linux/mm.h:658 [inline] virt_to_cache mm/slab.c:399 [inline] kfree+0x7b/0x230 mm/slab.c:3813 vivid_vid_cap_s_selection+0x2c31/0x38e0 drivers/media/platform/vivid/vivid-vid-cap.c:1006 vidioc_s_selection+0xa4/0xc0 drivers/media/platform/vivid/vivid-core.c:352 v4l_s_selection+0xba/0x140 drivers/media/v4l2-core/v4l2-ioctl.c:2197 __video_do_ioctl+0x8b1/0x1050 drivers/media/v4l2-core/v4l2-ioctl.c:2853 video_usercopy+0x5c1/0x1760 drivers/media/v4l2-core/v4l2-ioctl.c:3035 video_ioctl2+0x2c/0x33 drivers/media/v4l2-core/v4l2-ioctl.c:3079 v4l2_ioctl+0x154/0x1b0 drivers/media/v4l2-core/v4l2-dev.c:364 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x1de/0x1790 fs/ioctl.c:696 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 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 b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f52131d7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000020000000 RSI: 00000000c040565f RDI: 0000000000000003 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f52131d86d4 R13: 00000000004c1f77 R14: 00000000004d3090 R15: 00000000ffffffff Modules linked in: ---[ end trace df884aa85ab852c0 ]--- RIP: 0010:__phys_addr+0xb5/0x120 arch/x86/mm/physaddr.c:27 Code: 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 b4 bb 45 00 48 85 db 75 0f e8 7a ba 45 00 4c 89 e0 5b 41 5c 41 5d 5d c3 e8 6b ba 45 00 <0f> 0b e8 64 ba 45 00 48 c7 c7 10 20 47 89 48 b8 00 00 00 00 00 fc RSP: 0018:ffff88815771f410 EFLAGS: 00010016 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000fc04000 RDX: 0000000000000119 RSI: ffffffff8139cd75 RDI: 0000000000000007 RBP: ffff88815771f428 R08: ffff888157a101c0 R09: ffffed103b5c5b67 R10: ffffed103b5c5b67 R11: ffff8881dae2db3b R12: 000040801396c000 R13: 0000000000000000 R14: 0000000000000010 R15: ffff88815771fab8 FS: 00007f52131d8700(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000720f9c CR3: 00000001b5073000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 --- 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.