Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp225230imu; Tue, 27 Nov 2018 11:25:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/WGITbevvaOI7B2CMPdneAB4jzOf0umKGdVmprGAkuIREnFu7ujiySu3Qv5HEG/2BT7AanY X-Received: by 2002:a62:e90a:: with SMTP id j10-v6mr15152988pfh.228.1543346718376; Tue, 27 Nov 2018 11:25:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543346718; cv=none; d=google.com; s=arc-20160816; b=JSME/TI5Fjon2/bH6SdrEPhcVW+0iq94jFaiBBXxfvDVNc1kzL6wrQisDYf04RgsQa emj+NVQv2Tj8Yb1TUoHi33Z5G7TlC66wOc8PGn/LaGq6bf/ZwTQoI63rQf9FN2QYBZ82 O6njoWW9waDJ+nJqH2cr76tVXHCA29qYIfsx5Pjc58stCsfcYl7WUVPS4tOKMvHO53M0 aldSfTR3pTf+72gFUIk/BcKE7l7QXQ5QkAargKRg7LaIUQ1h1jSbv9lAKj6QR3v3JHjO ezxGWIWrHVbh1hSnHuJ/GR/MJHhUfb7uTTYf5hm4nEa5iNYMdrUF/QH7VkDJnUgPUzaX u91Q== 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=6fEJ8Exqcxr8f7oZ6Defb32ruLXvnGIJ5tnReXjq9ws=; b=q+xxWcwpUnlHs1VJiUjfYRNQYWDEGNy67Mzkl1XOsm6cEx1HHbOzuLpb0XqJ+SR7wn SiZ0/Z8pOLycJ3fCPROukJy4KjmuEaI2FZaFPtvupoPUh+x+oic/QXrleytOpVH17CRd bw8Uj5dZK23HwTg+VDO1OjrkmC3WHqM0zo3cSar3T3YQAMEC+LbWGS72yU6kvafsSTkK /s1OfSaSLs+JQiD+NBUweZPS8k3W0ozuC29FM39XG1iH54V4ebfMmaQydlRZGQlg8r10 nCIhri6qD0b7EWt5HxVfpRzL+7DuoIpkpUczqEm0ClKHFUYsI52iDI6+fEZMEHDk8tbU sc6Q== 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 h3si4396842pgi.391.2018.11.27.11.25.03; Tue, 27 Nov 2018 11:25:18 -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 S1730115AbeK1CuY (ORCPT + 99 others); Tue, 27 Nov 2018 21:50:24 -0500 Received: from mail-io1-f72.google.com ([209.85.166.72]:52691 "EHLO mail-io1-f72.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729553AbeK1CuY (ORCPT ); Tue, 27 Nov 2018 21:50:24 -0500 Received: by mail-io1-f72.google.com with SMTP id h7so22611319iof.19 for ; Tue, 27 Nov 2018 07:52:04 -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=6fEJ8Exqcxr8f7oZ6Defb32ruLXvnGIJ5tnReXjq9ws=; b=bi6IXNHNZxLUqCyYzH4gQmRy+1XaTsHaTn157nEYuCr+QJ0Ec/+qvD6Frj0AEwOvO8 jkYGcaqSpjWDlFSqkOkRDfP037hER62ljhPVzVF2VNsVvehrmUwY1Ex6oT3ZSeMe6U8Q 8Lmt0ch3OMfrDpm3VClnGYQlU5ueJgl58fl2/MKCayX21g0YKbyhobFSMUwbxDNpJd6F HSRsC4O1VeRTSAi1Ec00faJ2n1uydMGQikim43tqhFRlbA2SfVbwTgykKZfv89nFYava F9wn59PUAgSUYmsUIBA9Fm1l9/ErAuUs9HPObYcXjmITfBRJ5b0t7wDTy/AAORaWpI5+ p7Cw== X-Gm-Message-State: AA+aEWaBnGzPVSClLNv8OpMoXLgUQLQoQQGlJ/7GctfS4y9nhEhzAukO l5yMEwHMHExDN8SU+0zUQ4k6gVWd0quaJpO0RhJIhcz3t9oT MIME-Version: 1.0 X-Received: by 2002:a6b:e603:: with SMTP id g3mr798275ioh.27.1543333923955; Tue, 27 Nov 2018 07:52:03 -0800 (PST) Date: Tue, 27 Nov 2018 07:52:03 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000004eade9057ba76eae@google.com> Subject: BUG: corrupted list in freeary From: syzbot To: akpm@linux-foundation.org, arnd@arndb.de, dave@stgolabs.net, ebiederm@xmission.com, linux-kernel@vger.kernel.org, linux@dominikbrodowski.net, manfred@colorfullife.com, 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: e195ca6cb6f2 Merge branch 'for-linus' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10d3e6a3400000 kernel config: https://syzkaller.appspot.com/x/.config?x=73e2bc0cb6463446 dashboard link: https://syzkaller.appspot.com/bug?extid=c92d3646e35bc5d1a909 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+c92d3646e35bc5d1a909@syzkaller.appspotmail.com input: syz1 as /devices/virtual/input/input670 input: syz1 as /devices/virtual/input/input671 list_del corruption. prev->next should be ffff8881dae2cdb8, but was 0000000000100000 ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:53! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6194 Comm: syz-executor5 Not tainted 4.20.0-rc3+ #348 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid.cold.1+0x48/0x4a lib/list_debug.c:51 Code: d0 60 88 e8 b2 31 d2 fd 0f 0b 48 89 de 48 c7 c7 00 d2 60 88 e8 a1 31 d2 fd 0f 0b 48 89 de 48 c7 c7 a0 d1 60 88 e8 90 31 d2 fd <0f> 0b 48 89 d9 48 c7 c7 60 d2 60 88 e8 7f 31 d2 fd 0f 0b 48 89 f1 RSP: 0018:ffff8881848fee80 EFLAGS: 00010286 RAX: 0000000000000054 RBX: ffff8881dae2cdb8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8165eaf5 RDI: 0000000000000005 RBP: ffff8881848fee98 R08: ffff8881848f26c0 R09: 0000000000000006 R10: 0000000000000000 R11: ffff8881848f26c0 R12: ffff8881c3173a00 R13: ffff8881be118118 R14: ffff8881848ff280 R15: dffffc0000000000 FS: 00000000020b2940(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 00000001c10d3000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:117 [inline] list_del include/linux/list.h:125 [inline] unlink_queue ipc/sem.c:786 [inline] freeary+0xbd1/0x1a40 ipc/sem.c:1160 free_ipcs+0x9f/0x1c0 ipc/namespace.c:112 sem_exit_ns+0x20/0x40 ipc/sem.c:237 free_ipc_ns ipc/namespace.c:120 [inline] put_ipc_ns+0x66/0x180 ipc/namespace.c:152 free_nsproxy+0xcf/0x220 kernel/nsproxy.c:180 switch_task_namespaces+0xb3/0xd0 kernel/nsproxy.c:229 exit_task_namespaces+0x17/0x20 kernel/nsproxy.c:234 do_exit+0x1ad1/0x26d0 kernel/exit.c:866 do_group_exit+0x177/0x440 kernel/exit.c:970 get_signal+0x8b0/0x1980 kernel/signal.c:2517 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x2e5/0x380 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x410fa0 Code: 24 48 8b 4c 24 28 48 89 4c 24 08 88 44 24 10 c6 44 24 11 01 0f b6 44 24 50 88 44 24 12 e8 18 15 01 00 48 8b 44 24 18 48 85 c0 <74> 59 48 89 44 24 30 48 8b 48 18 48 8b 54 24 48 48 01 d1 48 89 88 RSP: 002b:00007fff19ab9c48 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffe00 RBX: 0000000000000000 RCX: 0000000000410fa0 RDX: 0000000000000038 RSI: 0000000000728020 RDI: 00000000000000f9 RBP: 0000000000000003 R08: 0000000000006000 R09: 0000000000004000 R10: 00007fff19ab95e0 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000008f53b R14: 00000000000002f8 R15: 0000000000000005 Modules linked in: ---[ end trace 9573c75ddafce7e3 ]--- RIP: 0010:__list_del_entry_valid.cold.1+0x48/0x4a lib/list_debug.c:51 Code: d0 60 88 e8 b2 31 d2 fd 0f 0b 48 89 de 48 c7 c7 00 d2 60 88 e8 a1 31 d2 fd 0f 0b 48 89 de 48 c7 c7 a0 d1 60 88 e8 90 31 d2 fd <0f> 0b 48 89 d9 48 c7 c7 60 d2 60 88 e8 7f 31 d2 fd 0f 0b 48 89 f1 RSP: 0018:ffff8881848fee80 EFLAGS: 00010286 RAX: 0000000000000054 RBX: ffff8881dae2cdb8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8165eaf5 RDI: 0000000000000005 RBP: ffff8881848fee98 R08: ffff8881848f26c0 R09: 0000000000000006 R10: 0000000000000000 R11: ffff8881848f26c0 R12: ffff8881c3173a00 R13: ffff8881be118118 R14: ffff8881848ff280 R15: dffffc0000000000 FS: 00000000020b2940(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 00000001c10d3000 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#bug-status-tracking for how to communicate with syzbot.