Received: by 10.213.65.68 with SMTP id h4csp3750353imn; Tue, 3 Apr 2018 10:02:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+a1qarXloYppso0Q19JjKOjqwCaM/VNE6nUyTQ5pNd5gb6TeT3v8XQyyjvSGAc5t6E5lqz X-Received: by 10.98.225.20 with SMTP id q20mr11202600pfh.142.1522774972663; Tue, 03 Apr 2018 10:02:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522774972; cv=none; d=google.com; s=arc-20160816; b=gE4Z2+MagWzWYFHd2HVQO1okhVGvwBCZKQ9/JQj/mxIWASpR+wcIXDjQ3gi4TImrKd C+Eb3EROPsSBTj4DX/PjL5M36R+D1Be+sCykUYZdJDEN5HwJ7KbeR12FmXQ3XkQ14H17 aYQfRHjp+EjE3J0JZS/AhUxDBUJAFdAsaI6aTPbOP6ZWzAfoUL7vyuwU7IrDDWTvohtI T4CrsJR4ogDABhiZW8NtjWJ1VM0Ex61wOAc0h/OMgF2SbmBy6z2VzJll5L1EM10E2FRN fCIrkN+gUpf1g7iyW/WL9QpESYAicnDIkqNb1IVatI+WRV1uXAPRhPdIXtvG/i8m260k WaVg== 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=FsOKP1Ag1S2T5geDn54BD7n5bJfKaYDOOiRP86zDsnY=; b=uAy9zXIlplw9yr83grH6KZWPZu9rZhmGR40D6xsVlDkfHFQ+v8kh4l8oeKip1M2Wfa bSRTPz16mWgYErUyL+ny3X0FCRA4Amv7Dq5XCQ2y9jlym/Rncawr7DvRJTstpkkKk+FO HkIzCDJJxyuqQSxOPnxNHZBUpXBgCvQAjdnvU4oI8S7JrKMJgFOHYipOAjZ/hG9jPfRT BZ2nuzrwNbkn7FaWaR8Nyq0V16CFW/tjw9wXANprpvSjXxdv8ZYPgcX1FWzyx75g75JA t5+Ke8C2l66rkgF+axn3PnTvCJnynSSV0oy/RnS7ZxcaZWvSPlWjIOuYPbuuiQXA5vNi yIUQ== 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 2-v6si927066pla.436.2018.04.03.10.02.37; Tue, 03 Apr 2018 10:02:52 -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 S1752894AbeDCRBG (ORCPT + 99 others); Tue, 3 Apr 2018 13:01:06 -0400 Received: from mail-io0-f197.google.com ([209.85.223.197]:46618 "EHLO mail-io0-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501AbeDCRBC (ORCPT ); Tue, 3 Apr 2018 13:01:02 -0400 Received: by mail-io0-f197.google.com with SMTP id n7so17207037ioc.13 for ; Tue, 03 Apr 2018 10:01: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=FsOKP1Ag1S2T5geDn54BD7n5bJfKaYDOOiRP86zDsnY=; b=hS+K1w77vG9+bXeAZQ4/uHTMh3kgrb8gyPTeqhwZeLa1Hpr+Q/8blM4nB9zbcjMjcK r9tS8So7OC0obSeOXASVl5ObvvhZxsslnrSgWlzesf56RYYB2AC//0J7D1d/pmAT8LUg 5VuVmJvjp3Ci1zxnGh5J7NRwgDa8PEwxiXyqj/SGt/9csM4RFFdsaua2Fe6zPqq3CNtf R2kOk0D1aLsbn5nfbPzLrx51Puqu0dymg2/oQTelXURzzbuwMulYUDhX6jld5QepJsIT YSkU2JVKfeRQxwCzmqrmeYIqTXA4LIvt4b2J1M58izpMrXr47ZvF5X9RnjQnMsrrWEEY I6qA== X-Gm-Message-State: ALQs6tA+ANdMjqIPi/AXCFyW7oYNGX9KsULlbysz2Q5m/hMYqJeSCx5F L3GhPDPvTMkVEOZySnC1CODzf9ubihBAyMtadd9PMXETQAVV MIME-Version: 1.0 X-Received: by 2002:a24:70c5:: with SMTP id f188-v6mr2630072itc.27.1522774861843; Tue, 03 Apr 2018 10:01:01 -0700 (PDT) Date: Tue, 03 Apr 2018 10:01:01 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000b696800568f4a6c6@google.com> Subject: KASAN: global-out-of-bounds Write in string From: syzbot To: dhowells@redhat.com, linux-kernel@vger.kernel.org, reiserfs-devel@vger.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 hit the following crash on upstream commit 642e7fd23353e22290e3d51719fcb658dc252342 (Tue Apr 3 04:22:12 2018 +0000) Merge branch 'syscalls-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=b890b3335a4d8c608963 syzkaller reproducer: https://syzkaller.appspot.com/x/repro.syz?id=4698588919627776 Raw console output: https://syzkaller.appspot.com/x/log.txt?id=5456053378482176 Kernel config: https://syzkaller.appspot.com/x/.config?id=-6874493495260513980 compiler: gcc (GCC) 7.1.1 20170620 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+b890b3335a4d8c608963@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. IPVS: ftp: loaded support on port[0] = 21 REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 syz-executor0 (4503) used greatest stack depth: 15560 bytes left REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 ================================================================== BUG: KASAN: global-out-of-bounds in string+0x1cb/0x200 lib/vsprintf.c:598 Write of size 1 at addr ffffffff89e166a0 by task syz-executor0/4522 CPU: 1 PID: 4522 Comm: syz-executor0 Not tainted 4.16.0+ #12 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1a7/0x27d lib/dump_stack.c:53 print_address_description+0x178/0x250 mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report+0x23c/0x360 mm/kasan/report.c:412 __asan_report_store1_noabort+0x17/0x20 mm/kasan/report.c:435 string+0x1cb/0x200 lib/vsprintf.c:598 vsnprintf+0x863/0x1900 lib/vsprintf.c:2282 vsprintf+0x2a/0x40 lib/vsprintf.c:2462 prepare_error_buf+0x1d2/0x1820 fs/reiserfs/prints.c:240 __reiserfs_warning+0xc8/0x1a0 fs/reiserfs/prints.c:267 reiserfs_getopt fs/reiserfs/super.c:1044 [inline] reiserfs_parse_options+0x11e5/0x24e0 fs/reiserfs/super.c:1194 reiserfs_fill_super+0x520/0x33a0 fs/reiserfs/super.c:1946 mount_bdev+0x2b7/0x370 fs/super.c:1119 get_super_block+0x34/0x40 fs/reiserfs/super.c:2605 mount_fs+0x66/0x2d0 fs/super.c:1222 vfs_kern_mount.part.26+0xc6/0x4a0 fs/namespace.c:1037 vfs_kern_mount fs/namespace.c:2514 [inline] do_new_mount fs/namespace.c:2517 [inline] do_mount+0xea4/0x2b90 fs/namespace.c:2847 ksys_mount+0xab/0x120 fs/namespace.c:3063 SYSC_mount fs/namespace.c:3077 [inline] SyS_mount+0x39/0x50 fs/namespace.c:3074 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457d0a RSP: 002b:00007f0655cddbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000457d0a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f0655cddc00 RBP: 0000000000000004 R08: 0000000020013f00 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 R13: 000000000000066d R14: 00000000006fcad8 R15: 0000000000000001 The buggy address belongs to the variable: error_buf+0x400/0x420 Memory state around the buggy address: ffffffff89e16580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff89e16600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ffffffff89e16680: 00 00 00 00 fa fa fa fa 04 fa fa fa fa fa fa fa ^ ffffffff89e16700: 00 fa fa fa fa fa fa fa 00 fa fa fa fa fa fa fa ffffffff89e16780: 00 fa fa fa fa fa fa fa 00 fa fa fa fa fa fa fa ================================================================== --- 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.