From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f208.google.com (mail-il1-f208.google.com [209.85.166.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D749517997 for ; Fri, 31 May 2024 01:23:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.208 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717118610; cv=none; b=sPSPjp1v6CfPR4doYDaqkoEWWR8N0raOXCGZ2mKRK/c6T0qtr8LQb6+eTXqI+gZH8ala9HhdctKqdUMELl7lPEH4H4vTgKTQRAKaTqhZ1TKjRsFUKK77uuv3pqmBfh93h5hlNBAbk6R9oNcVPdqVuDn7qQW5/inCzM2laCOBYOg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717118610; c=relaxed/simple; bh=riGEgFnPnIjsK9v3iNfGsGvzNUMBjZWS5Gn8umdhONQ=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=qvuleZ4hnpRQoJrxD1csLj5pOY5wQJ0VyGa2W2Zd8HDoFrc1GndHGv24TYnk2Cil20/M0AxhRC3wVknTOeXrHbHkCDq9r5cG5sv7wjRXUrFqGk3t7ivBPmwXvdv+wRJur/yiq5Sm/F369uno6Ox+xO9DvqvSOwvxhZ/WSzUcydM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.208 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f208.google.com with SMTP id e9e14a558f8ab-3737b4129deso12538105ab.3 for ; Thu, 30 May 2024 18:23:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717118608; x=1717723408; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XvsKf9GI4GJMckxNw9d7fVJn2/j/rCwGEaSbNej+rGY=; b=sNXyjUCThO4XQ/FH3kJak3bOpaX33psxtY9A4CKrfH6CAZmi7hwq0SYWTioans8ksA fYZG53BjlmiGJuFt9V6t950f4Z6KOixgNxBb2ylsPSnKPTSBhYER4L2iw7+6MdoSxDcu Q09j42n1UIemq9tmU+QlmcKoAxXbqpvrIJj2VfrDYswugxk5g/NOm00s4YyMB47mPHq5 GyYbmL481tvIKR5JNmUlapA3JfkmFMcT4crq333DpDHlGSKupTzrYKbRIFgu1CgX/w+3 s1UefaFTXVPI2jGzaBKE0Q3wg1baBj+/1PCX4wf8hr6jurX+PE8GaLoDZFymtKUcYfcy /fgg== X-Forwarded-Encrypted: i=1; AJvYcCWFy/2V9rYEyWgBxTfsoJM3xqwNFShd9vPm/ljKOPirxV2LX1lLaYr3HEB12CYf+m6XsxV/ziI5s7oVa7AkI8U9+sjEGyroWRtvIjyp X-Gm-Message-State: AOJu0Yx2p+FoqpEJvBvaTXp8oeK4hP+bOvHZtlcgO673dU6lfS3RPVw0 +vhEY1iTBQ76NKQjq+rbHM7TxXb5iIxno08ogUUSwV//ZUVi7RB63UxdTexq8JSyZbXTkBUJaB5 eyb8YzrEmuwA4KfqM4WpX7cYXn0oAs4VnA2t/AT8BNXyKRinJ1hewEpA= X-Google-Smtp-Source: AGHT+IFU84YHQl+crEhCGcVvr1GzXH2sZcC6TtDuiq45haG1lUaOqpHAZjsoZ+5WP/Swfe/RI2uH6Iyt++olPwUUNpbPyz9RBFyF Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:18cb:b0:36c:c4cc:80e2 with SMTP id e9e14a558f8ab-3748b9f7d64mr425195ab.6.1717118607833; Thu, 30 May 2024 18:23:27 -0700 (PDT) Date: Thu, 30 May 2024 18:23:27 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000a857ec0619b5d4a9@google.com> Subject: [syzbot] [gfs2?] KMSAN: uninit-value in gfs2_quota_init From: syzbot To: agruenba@redhat.com, gfs2@lists.linux.dev, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 614da38e2f7a Merge tag 'hid-for-linus-2024051401' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15bf6df0980000 kernel config: https://syzkaller.appspot.com/x/.config?x=f5d2cbf33633f507 dashboard link: https://syzkaller.appspot.com/bug?extid=54a69997acb9eddf144e compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/89eafb874b71/disk-614da38e.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/356000512ad9/vmlinux-614da38e.xz kernel image: https://storage.googleapis.com/syzbot-assets/839c73939115/bzImage-614da38e.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+54a69997acb9eddf144e@syzkaller.appspotmail.com syz-executor.3: attempt to access beyond end of device loop3: rw=12288, sector=402653184, nr_sectors = 8 limit=32768 ===================================================== BUG: KMSAN: uninit-value in gfs2_metatype_check_i fs/gfs2/util.h:125 [inline] BUG: KMSAN: uninit-value in gfs2_quota_init+0x1c1d/0x2150 fs/gfs2/quota.c:1443 gfs2_metatype_check_i fs/gfs2/util.h:125 [inline] gfs2_quota_init+0x1c1d/0x2150 fs/gfs2/quota.c:1443 gfs2_make_fs_rw+0x4cf/0x6a0 fs/gfs2/super.c:155 gfs2_fill_super+0x410e/0x42b0 fs/gfs2/ops_fstype.c:1288 get_tree_bdev+0x681/0x890 fs/super.c:1614 gfs2_get_tree+0x5c/0x340 fs/gfs2/ops_fstype.c:1341 vfs_get_tree+0xa7/0x570 fs/super.c:1779 do_new_mount+0x71f/0x15e0 fs/namespace.c:3352 path_mount+0x742/0x1f20 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x725/0x810 fs/namespace.c:3875 __x64_sys_mount+0xe4/0x150 fs/namespace.c:3875 x64_sys_call+0x2bf4/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_pages+0x9d6/0xe70 mm/page_alloc.c:4598 alloc_pages_mpol+0x299/0x990 mm/mempolicy.c:2264 alloc_pages mm/mempolicy.c:2335 [inline] folio_alloc+0x1d0/0x230 mm/mempolicy.c:2342 filemap_alloc_folio+0xa6/0x440 mm/filemap.c:984 __filemap_get_folio+0xa10/0x14b0 mm/filemap.c:1926 gfs2_getbuf+0x23f/0xcd0 fs/gfs2/meta_io.c:132 gfs2_meta_ra+0x17f/0x7b0 fs/gfs2/meta_io.c:522 gfs2_quota_init+0x784/0x2150 fs/gfs2/quota.c:1440 gfs2_make_fs_rw+0x4cf/0x6a0 fs/gfs2/super.c:155 gfs2_fill_super+0x410e/0x42b0 fs/gfs2/ops_fstype.c:1288 get_tree_bdev+0x681/0x890 fs/super.c:1614 gfs2_get_tree+0x5c/0x340 fs/gfs2/ops_fstype.c:1341 vfs_get_tree+0xa7/0x570 fs/super.c:1779 do_new_mount+0x71f/0x15e0 fs/namespace.c:3352 path_mount+0x742/0x1f20 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x725/0x810 fs/namespace.c:3875 __x64_sys_mount+0xe4/0x150 fs/namespace.c:3875 x64_sys_call+0x2bf4/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 PID: 5867 Comm: syz-executor.3 Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ===================================================== --- This report 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 issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup