From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) (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 8353C81723 for ; Sat, 12 Oct 2024 07:48:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728719325; cv=none; b=mFgFp404S+hSCGWaHj5Sd3RaTXxju8ulm+Aae3vpop2hdYFABQZEey4MMCMADsIw3LTLfjc9wweBfsmwnsbLjj37Zz8VK7N1IwpD9B79zqyo/T+4LZZZ4N7ZvvPYB4r08W4MKswX2bmikUWNktlQ8rTMYKWUqOb9h8Cog+WyI2M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728719325; c=relaxed/simple; bh=KQQd8yT6HDxi9Fk4sxNPnpyEXY4EMbOKwc8GvW67HJk=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=dS1fohnxn5MpGEs9BWa/E3+Pqn72Kg0B5WTHhSIk4YNon8Rp6+R9SZ9Wcc+/c88WrUynZYxodgd3qNCHTwR+Pf44YSjvZckhfETAT93agIHRgXjwOwhr0Jk3GdX4U9lFrKTV5qFJpCr+j8SeCv5JxYsUHV9m2kSpsSeGRQ2inow= 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.199 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-f199.google.com with SMTP id e9e14a558f8ab-3a388c0e4b9so20844395ab.3 for ; Sat, 12 Oct 2024 00:48:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728719322; x=1729324122; h=content-transfer-encoding:to:from:subject:message-id:in-reply-to :date:mime-version:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6qGu1JcMHYytQ3xu/99rcKMvWGOBBrKQ8YVva+gREmE=; b=RFU+jp9gSw7YqtD478Rv42q/pBSoIcrv0baPI64raYE/HvDrZzvk+aHlDszUpan3Na xEIFquM6CNLjDDoCPH9WzY9udsGHOCzCI7SAq7dm58ksc/h/SGQNnQbh4edGHq/GiV+A 2zlKFePDp/zrmr+XEeR3uGoW2IK650qnB37diiBx9jr5vKqTkTfjQ91LQ+x6pvjkY+ja nCXIonI1Tk6ZA5i1TtY2D6bLMY7bgWjq7bJ5koTR5e21/zJFA1wkWg6YBMdgiU+1VCrw yfeHuW1iKU2Iu5Ee9V4NixFVSTlHd/DcznbcxwbaBA75L/yZFFutLBq9mD133osvS73/ m6Aw== X-Gm-Message-State: AOJu0YwTajchoBKE78EHxMIpE+GshOTpy/bRE6vtT1ivspiZW9f94HvJ Nq9L+nEFAGeAzZ6EyeKHUHyNgeM2kgoz05igDNWpc3ZvYbCZ70BQq6qJeK8GOg/PFZg9A2pR3xN xgmolKtOkyeHbdEOMobn9ycOHR//Uaw8QpW7ysQEx7F4B+Cbys6gc6Xo= X-Google-Smtp-Source: AGHT+IGLNVfgOncu4AwX0CMJpMg9ny6Rt+uxEClxE4lLAh+tXC2OuEqElgnSsxFzM80IbIreJWbJHvbvv6uDCsR3hpnGxtQLwKug 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:12cc:b0:3a3:983a:872f with SMTP id e9e14a558f8ab-3a3b5fce83bmr44450215ab.24.1728719322673; Sat, 12 Oct 2024 00:48:42 -0700 (PDT) Date: Sat, 12 Oct 2024 00:48:42 -0700 In-Reply-To: <67014df7.050a0220.49194.04c0.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <670a29da.050a0220.4cbc0.001d.GAE@google.com> Subject: Re: [syzbot] Re: [syzbot] [exfat?] KMSAN: uninit-value in __exfat_get_dentry_set From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com. *** Subject: Re: [syzbot] [exfat?] KMSAN: uninit-value in __exfat_get_dentry_se= t Author: surajsonawane0215@gmail.com #syz test On Sat, Oct 5, 2024 at 8:02=E2=80=AFPM syzbot < syzbot+01218003be74b5e1213a@syzkaller.appspotmail.com> wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: e32cde8d2bd7 Merge tag 'sched_ext-for-6.12-rc1-fixes-1' > of.. > git tree: upstream > console+strace: https://syzkaller.appspot.com/x/log.txt?x=3D16cf7dd058000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3Db1fd45f2013d8= 12f > dashboard link: > https://syzkaller.appspot.com/bug?extid=3D01218003be74b5e1213a > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for > Debian) 2.40 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D11cf7dd0580= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D11d0658058000= 0 > > Downloadable assets: > disk image: > https://storage.googleapis.com/syzbot-assets/16d4da549bf4/disk-e32cde8d.r= aw.xz > vmlinux: > https://storage.googleapis.com/syzbot-assets/a01bc9a0e174/vmlinux-e32cde8= d.xz > kernel image: > https://storage.googleapis.com/syzbot-assets/93f4dfad6909/bzImage-e32cde8= d.xz > mounted in repro: > https://storage.googleapis.com/syzbot-assets/433ba0700154/mount_0.gz > > IMPORTANT: if you fix the issue, please add the following tag to the > commit: > Reported-by: syzbot+01218003be74b5e1213a@syzkaller.appspotmail.com > > exFAT-fs (loop0): failed to load upcase table (idx : 0x00010000, chksum : > 0x726052d3, utbl_chksum : 0xe619d30d) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > BUG: KMSAN: uninit-value in __exfat_get_dentry_set+0x10ca/0x14d0 > fs/exfat/dir.c:804 > __exfat_get_dentry_set+0x10ca/0x14d0 fs/exfat/dir.c:804 > exfat_get_dentry_set+0x58/0xec0 fs/exfat/dir.c:859 > __exfat_write_inode+0x3c1/0xe30 fs/exfat/inode.c:46 > __exfat_truncate+0x7f3/0xbb0 fs/exfat/file.c:211 > exfat_truncate+0xee/0x2a0 fs/exfat/file.c:257 > exfat_write_failed fs/exfat/inode.c:421 [inline] > exfat_direct_IO+0x5a3/0x900 fs/exfat/inode.c:485 > generic_file_direct_write+0x275/0x6a0 mm/filemap.c:3977 > __generic_file_write_iter+0x242/0x460 mm/filemap.c:4141 > exfat_file_write_iter+0x894/0xfb0 fs/exfat/file.c:598 > do_iter_readv_writev+0x88a/0xa30 > vfs_writev+0x56a/0x14f0 fs/read_write.c:1064 > do_pwritev fs/read_write.c:1165 [inline] > __do_sys_pwritev2 fs/read_write.c:1224 [inline] > __se_sys_pwritev2+0x280/0x470 fs/read_write.c:1215 > __x64_sys_pwritev2+0x11f/0x1a0 fs/read_write.c:1215 > x64_sys_call+0x2edb/0x3ba0 > arch/x86/include/generated/asm/syscalls_64.h:329 > do_syscall_x64 arch/x86/entry/common.c:52 [inline] > do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 > entry_SYSCALL_64_after_hwframe+0x77/0x7f > > Uninit was stored to memory at: > memcpy_to_iter lib/iov_iter.c:65 [inline] > iterate_bvec include/linux/iov_iter.h:123 [inline] > iterate_and_advance2 include/linux/iov_iter.h:304 [inline] > iterate_and_advance include/linux/iov_iter.h:328 [inline] > _copy_to_iter+0xe53/0x2b30 lib/iov_iter.c:185 > copy_page_to_iter+0x419/0x880 lib/iov_iter.c:362 > shmem_file_read_iter+0xa09/0x12b0 mm/shmem.c:3167 > do_iter_readv_writev+0x88a/0xa30 > vfs_iter_read+0x278/0x760 fs/read_write.c:923 > lo_read_simple drivers/block/loop.c:283 [inline] > do_req_filebacked drivers/block/loop.c:516 [inline] > loop_handle_cmd drivers/block/loop.c:1910 [inline] > loop_process_work+0x20fc/0x3750 drivers/block/loop.c:1945 > loop_rootcg_workfn+0x2b/0x40 drivers/block/loop.c:1976 > process_one_work kernel/workqueue.c:3229 [inline] > process_scheduled_works+0xae0/0x1c40 kernel/workqueue.c:3310 > worker_thread+0xea7/0x14f0 kernel/workqueue.c:3391 > kthread+0x3e2/0x540 kernel/kthread.c:389 > ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147 > ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 > > Uninit was stored to memory at: > memcpy_from_iter lib/iov_iter.c:73 [inline] > iterate_bvec include/linux/iov_iter.h:123 [inline] > iterate_and_advance2 include/linux/iov_iter.h:304 [inline] > iterate_and_advance include/linux/iov_iter.h:328 [inline] > __copy_from_iter lib/iov_iter.c:249 [inline] > copy_page_from_iter_atomic+0x12b7/0x3100 lib/iov_iter.c:481 > copy_folio_from_iter_atomic include/linux/uio.h:201 [inline] > generic_perform_write+0x8d1/0x1080 mm/filemap.c:4066 > shmem_file_write_iter+0x2ba/0x2f0 mm/shmem.c:3221 > do_iter_readv_writev+0x88a/0xa30 > vfs_iter_write+0x44d/0xd40 fs/read_write.c:988 > lo_write_bvec drivers/block/loop.c:243 [inline] > lo_write_simple drivers/block/loop.c:264 [inline] > do_req_filebacked drivers/block/loop.c:511 [inline] > loop_handle_cmd drivers/block/loop.c:1910 [inline] > loop_process_work+0x15e6/0x3750 drivers/block/loop.c:1945 > loop_rootcg_workfn+0x2b/0x40 drivers/block/loop.c:1976 > process_one_work kernel/workqueue.c:3229 [inline] > process_scheduled_works+0xae0/0x1c40 kernel/workqueue.c:3310 > worker_thread+0xea7/0x14f0 kernel/workqueue.c:3391 > kthread+0x3e2/0x540 kernel/kthread.c:389 > ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147 > ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 > > Uninit was created at: > __alloc_pages_noprof+0x9d6/0xe70 mm/page_alloc.c:4756 > alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2265 > alloc_pages_noprof mm/mempolicy.c:2345 [inline] > folio_alloc_noprof+0x1db/0x310 mm/mempolicy.c:2352 > filemap_alloc_folio_noprof+0xa6/0x440 mm/filemap.c:1010 > __filemap_get_folio+0xac4/0x1550 mm/filemap.c:1952 > block_write_begin+0x6e/0x2b0 fs/buffer.c:2226 > exfat_write_begin+0xfb/0x400 fs/exfat/inode.c:434 > exfat_extend_valid_size fs/exfat/file.c:553 [inline] > exfat_file_write_iter+0x474/0xfb0 fs/exfat/file.c:588 > do_iter_readv_writev+0x88a/0xa30 > vfs_writev+0x56a/0x14f0 fs/read_write.c:1064 > do_pwritev fs/read_write.c:1165 [inline] > __do_sys_pwritev2 fs/read_write.c:1224 [inline] > __se_sys_pwritev2+0x280/0x470 fs/read_write.c:1215 > __x64_sys_pwritev2+0x11f/0x1a0 fs/read_write.c:1215 > x64_sys_call+0x2edb/0x3ba0 > arch/x86/include/generated/asm/syscalls_64.h:329 > do_syscall_x64 arch/x86/entry/common.c:52 [inline] > do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 > entry_SYSCALL_64_after_hwframe+0x77/0x7f > > CPU: 0 UID: 0 PID: 5188 Comm: syz-executor221 Not tainted > 6.12.0-rc1-syzkaller-00031-ge32cde8d2bd7 #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 09/13/2024 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > > --- > 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 syzbot to run the reproducer, reply with: > #syz test: git://repo/address.git branch-or-commit-hash > If you attach or paste a git patch, syzbot will apply it before testing. > > 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 > > -- > You received this message because you are subscribed to the Google Groups > "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/syzkaller-bugs/67014df7.050a0220.49194.= 04c0.GAE%40google.com > . >