Received: by 10.213.65.68 with SMTP id h4csp2298944imn; Mon, 9 Apr 2018 00:43:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/iseu+NUR+VEu0GRqz2PEx3vp+ragecB5qTk27yYdwKGzByiRGlycKysJYwUT8s0JcW4A8 X-Received: by 10.99.123.70 with SMTP id k6mr24226135pgn.292.1523259835389; Mon, 09 Apr 2018 00:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523259835; cv=none; d=google.com; s=arc-20160816; b=FbXxrSmQ29GHjEjG3aKBUGdZJ3msf4yEdnFKapkdB/PFTRDPP1XKw6CA+8bfZioQuJ h5a8woMpGVIGrGae6Egtjx6/y45bnCQCgNKtMOI7xED6rW9X5BKgVe1x0t7QXQdo7smQ D3bS2BwygyfbHRRXW/HE1qrQ1GFzq5QLeDmUwrrch1fF0gPZ1W2mnn1cKHVDh/0W8Bx4 dhy/TwXCxrTUyFz7OptDBZcGbjD+BcE7DsLTWE2sTcMFne8j3ItBnmjxSouA2Cht+UOy 9c4avo42sojRiz3s4VOORyMttN6GGpYhezsUWEvUEdNdQMsDHEWd64O5D1ieq1Kelzcj F35Q== 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:arc-authentication-results; bh=X+8p04uV7mUdoRBm7MXFWcVx/i3pB54glf6gqtsGDf8=; b=R8s6U062x86rN5RrUw9Enplbg0s2iLLT7A/M5dSRTWnl2qOWkeWUof6kDa3Dm87l9e apzCc1jA3eMU7Y8dFMp5NefgMAnwUOfpJVZgYLLxdXv7t/auco4GlmlOxqoJxGwOd3AA s3G/aOmIPGi5LjVdEpuGweehv66xugxzu9vGhTBLRmMe87uPtOZdrNa03i1ADbXEJBEB VdB/afW8lqwUyVK77UkLYDDgSBr6K+nd/mFWFU9t4AMIGjzSpv06osmFS9o/7DnDGt8w NPP4i56iAELhkCxZkhgetpLKefnWVKbJruys4RnRMGaAujRNce0V2qdAKRAVgcIYsPDG FfvQ== 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 z15si11376685pfe.416.2018.04.09.00.43.18; Mon, 09 Apr 2018 00:43:55 -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 S1752196AbeDIHkE (ORCPT + 99 others); Mon, 9 Apr 2018 03:40:04 -0400 Received: from mail-it0-f70.google.com ([209.85.214.70]:54788 "EHLO mail-it0-f70.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751549AbeDIHkC (ORCPT ); Mon, 9 Apr 2018 03:40:02 -0400 Received: by mail-it0-f70.google.com with SMTP id c3-v6so6284649itc.4 for ; Mon, 09 Apr 2018 00:40:02 -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=X+8p04uV7mUdoRBm7MXFWcVx/i3pB54glf6gqtsGDf8=; b=SyZ6m+oP3ih2rahqhBIxCoO8/hm78vgf7FfRbUFBEn89C6gUoZ7F6JQ3p89GodaLRw JXtPCmBYs+gcMXYEEMd9zcts5Wy7j8F1C0iYTREiYegnrHIrCk1DyGYoIEUmDkC3yi73 L4qz61TVVzkJiNcrnSWaSN2Fz9T8vycZMDuZNOV7ZCF84D/uldCBos/oIm7ZtHCXrtSp S61ZdCwGjPk9ps0gwucgPlQ2SJQvf6CxkwHvNZ1A1jez7oBGke+geR/5PEFkfyLKif2z 58mwjdI6A3WqPTevjskn9uO146Z+VuyKMeos6G/qxYvOLwF496aHKh2FezRTzaFGAV4r ZZ2A== X-Gm-Message-State: AElRT7GrS4Hi9aoWGCEky/2flqGBLpwsy+D3xLE7tz73NgZDUZ3AsmAe 8ZKn3wYsiUY5zLv99pNhTN2iwiNpmT4CBKjpyhVEITilXUEO MIME-Version: 1.0 X-Received: by 10.107.20.136 with SMTP id 130mr17001585iou.110.1523259601667; Mon, 09 Apr 2018 00:40:01 -0700 (PDT) Date: Mon, 09 Apr 2018 00:40:01 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <94eb2c0ce3aa7551d30569658325@google.com> Subject: WARNING in notify_change 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 hit the following crash on upstream commit 3fd14cdcc05a682b03743683ce3a726898b20555 (Fri Apr 6 19:15:41 2018 +0000) Merge tag 'mtd/for-4.17' of git://git.infradead.org/linux-mtd syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=2b74da47f048a5046135 So far this crash happened 3 times on upstream. C reproducer: https://syzkaller.appspot.com/x/repro.c?id=5084712116682752 syzkaller reproducer: https://syzkaller.appspot.com/x/repro.syz?id=6394049002995712 Raw console output: https://syzkaller.appspot.com/x/log.txt?id=4711531803574272 Kernel config: https://syzkaller.appspot.com/x/.config?id=-5813481738265533882 compiler: gcc (GCC) 8.0.1 20180301 (experimental) IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+2b74da47f048a5046135@syzkaller.appspotmail.com It will help syzbot understand when the bug is fixed. See footer for details. If you forward the report, please keep this part and the footer. WARNING: CPU: 1 PID: 4470 at fs/attr.c:213 notify_change+0xd94/0x10c0 fs/attr.c:213 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 4470 Comm: syzkaller570118 Not tainted 4.16.0+ #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b9/0x294 lib/dump_stack.c:113 panic+0x22f/0x4de kernel/panic.c:183 __warn.cold.8+0x163/0x1a3 kernel/panic.c:547 report_bug+0x252/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:991 RIP: 0010:notify_change+0xd94/0x10c0 fs/attr.c:213 RSP: 0018:ffff8801ad76f860 EFLAGS: 00010293 RAX: ffff8801d9f66680 RBX: ffff8801d32d4630 RCX: ffffffff81c36578 RDX: 0000000000000000 RSI: ffffffff81c371b4 RDI: 0000000000000007 RBP: ffff8801ad76f930 R08: ffff8801d9f66680 R09: ffffed003a65a8e2 R10: ffffed003a65a8e2 R11: ffff8801d32d4717 R12: 0000000000004200 R13: ffff8801ad76f970 R14: ffff8801d5260ce0 R15: 1ffff10035aedf18 __remove_privs fs/inode.c:1813 [inline] file_remove_privs+0x2bf/0x530 fs/inode.c:1835 __generic_file_write_iter+0x169/0x5e0 mm/filemap.c:3209 blkdev_write_iter+0x233/0x420 fs/block_dev.c:1908 call_write_iter include/linux/fs.h:1782 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x5bc/0x880 fs/read_write.c:487 vfs_write+0x1f8/0x560 fs/read_write.c:549 ksys_write+0xf9/0x250 fs/read_write.c:598 SYSC_write fs/read_write.c:610 [inline] SyS_write+0x24/0x30 fs/read_write.c:607 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x445c59 RSP: 002b:00007f76203b7d38 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 0000000000445c59 RDX: 0000000000000050 RSI: 0000000020000400 RDI: 0000000000000008 RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000006dac20 R13: 0000000000000006 R14: 0030656c69662f2e R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds.. --- This bug is generated by a dumb bot. It may contain errors. See https://goo.gl/tpsmEJ for details. Direct all questions to syzkaller@googlegroups.com. syzbot will keep track of this bug report. If you forgot to add the Reported-by tag, once the fix for this bug is merged into any tree, please reply to this email with: #syz fix: exact-commit-title If you want to test a patch for this bug, please reply with: #syz test: git://repo/address.git branch and provide the patch inline or as an attachment. To mark this as a duplicate of another syzbot report, please reply with: #syz dup: exact-subject-of-another-report If it's a one-off invalid bug report, please reply with: #syz invalid Note: if the crash happens again, it will cause creation of a new bug report. Note: all commands must start from beginning of the line in the email body.