Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1838294lqe; Tue, 9 Apr 2024 01:38:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV2ruSYMNQyjWtgtBhd9GeccWKYlYhdT8bRetumEAfOPExtu6v77pJsVf3v5fD8z38uwy5CD4Yh5vKVabqgfnUk5es5XxYMIfKiq2vRfw== X-Google-Smtp-Source: AGHT+IH5BTdbbwnV6/KRx9GPkznEVGfxCTxF6bPddPi0PrKJUmkTgqFAom+VplSaOx+6UignuICx X-Received: by 2002:a05:6358:5d8e:b0:186:1f36:63f1 with SMTP id s14-20020a0563585d8e00b001861f3663f1mr4782844rwm.17.1712651923344; Tue, 09 Apr 2024 01:38:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712651923; cv=pass; d=google.com; s=arc-20160816; b=XaU+7hZufDeLSqsMz9RRry50GrJZp6CuRmyNDZ6Zn/9tmAZZxC9RQAkEeZMlcs59P5 KloBLCYzTQBIsz5kgkXt0HsIoL/FdhVbs7b9921SwZwWuV2dH0kXdgPGhfGCfJwMXMkQ V0IS3pv32BFTkjTpfuv/sdw9ooCkRzvthHOn3/5/YWgGYMq84kK3jsFyTxgJKzcZfxgS I/fLBGPM5hKUjdzQ3TAnsrlThX/a4zvgo437tbv2r+0r2j5Nv6UtYPjhIQMmP+V0X3R9 dsJ1lcPPj24vtb/1Oikfz+XwkVP3UfWqWDQkQFm7Yl0NAsSCz7aPRiaJmVyXa7vJOnLL Du8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=JcGKM4YCl59TPh5E0Hi3BGbO70QQph4kXRIDBwCS8SA=; fh=nyhu9NPKEC5d77ngPjGjytJxyH9V5LZZf/Avlsjf96Y=; b=HqljzCUh2pL+i82ywqzp9nHrZ0ahYrqPLNfj9rVIjgt5LTFLe5G64eY3WKGqLtE+de dXLz8qBIN+KALjji62EneU3DG7cCmcMsCjPu6XwLozTYY9DXcnRDl2BSOjmnkLuaRFIq b/KxBj2hikEAPvLFI5cGsx8wT4ehVFMo3s44e8/bUpTDfkl509t1E0gSb0PvJ2DaI/N9 lJLo//MS8Nwi47x33Ll45QKVNF0O5JMu8ol4vB16RpYRcaTuscMH1rldqBAhdbQtyi0J 1G58E5b1/k5yLq/lxiu2bMN8jwAUxQQeb3UItf8KC+KAMVjJImIUFhsOZoW15aSCQyxL IIAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-136486-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136486-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 75-20020a63004e000000b005dc8ccd36d9si8174073pga.250.2024.04.09.01.38.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 01:38:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136486-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-136486-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136486-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0173F2834D0 for ; Tue, 9 Apr 2024 08:38:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 388EE85951; Tue, 9 Apr 2024 08:31:21 +0000 (UTC) Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) (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 3468375811 for ; Tue, 9 Apr 2024 08:31:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712651480; cv=none; b=gtspyDFfS9cpzbl6/I9UlGvOmOlNTSX+2fyw1Bs6e4U4Q3QIfgfXPMrOcco3IfaIDrqCnQva19MfBeamf72b/JTzdJugPxE0psQwwwvOMufhZIKppb33OJckr9v3cZPupeJe9oDcx46Wa8/jvhchPCrt9/gq37tiigkscRAv7qE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712651480; c=relaxed/simple; bh=0mZxuIDQSzRSza17q/ZWihKXaW6gfz61Dd5U4XNqUNU=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=kCjNcrYq/WQDgCB1f03IiKPbgF5oqZNPGv0hKGrClBwthcxZAO0xGdCr8hXOQwzjVDmXVS0ZSokcWlEx3AZK/tBz47geQ9ny+PRRV2UnSirm7LbnmD5SUraN38/Ys0vp79YfQb1YekcGocV3kL4nY7ZHU0PHJPiRwcWdXdjA0YU= 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.198 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-f198.google.com with SMTP id e9e14a558f8ab-36a0f6b6348so32390495ab.3 for ; Tue, 09 Apr 2024 01:31:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712651478; x=1713256278; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JcGKM4YCl59TPh5E0Hi3BGbO70QQph4kXRIDBwCS8SA=; b=r2BjyGukymalp90Fv+hg28CinXxNjtGue2zetCwdoc6ewC7FhaFNzeZtGxBEneq0GW wM5e4/1UlEYsAZjBxDQFKRHr5gL65167MzP/MJsr3VZkYqTXCqeADIYkyZBYBxBMmpMH pmbCKiooAflFpMXEKeQwmPot8qkWupI74Kr+xQoUnnviYq1tQh2tFuMLZ50oRrW99h2Y CU4ZUvF3GR0gbV3O2AnqIf8jc/B0j+hk/YYq2ikjA6kDhkJ1bYUlaf1owoiFkuD6/nvt IjLyDbP+F+yGhiyTPeUTvjCLvNLyqfQnRI9l3xFx3++fj2yZeqwoDC4ZpIcZAE/ps76e fzug== X-Forwarded-Encrypted: i=1; AJvYcCVhccUJiSDSOciPU7bWbD4aSZfKOuhWVbLqCL9VjBwQid5mYKbneQYr2nqa2MXlF/HgQn6ZRMSCqgUAsZWoYrKCJgLcEOD5d/N+6FYG X-Gm-Message-State: AOJu0YwNHwaBpu6ZoiYMI417L/djOYaZ1zQD4HLBrH9ZJdUkAuis7uJi OYCG8mpnitWUfMq6Ghd289meCcSemI+r2Fb+x5Lqz9+sOe/QEbjc+jMA2m2axyJSFBPw0fpEz5e UiqU4s3yldtm7VoPhfjXdkce3Cf5WMWrcCq5ZcvWLCZabYZLf32nSr5c= 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:1386:b0:369:aa95:a632 with SMTP id d6-20020a056e02138600b00369aa95a632mr879757ilo.2.1712651478427; Tue, 09 Apr 2024 01:31:18 -0700 (PDT) Date: Tue, 09 Apr 2024 01:31:18 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000fefd040615a5bef6@google.com> Subject: [syzbot] [hfs?] KMSAN: uninit-value in hfsplus_listxattr (2) From: syzbot To: linux-fsdevel@vger.kernel.org, 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: fec50db7033e Linux 6.9-rc3 git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=1467098d180000 kernel config: https://syzkaller.appspot.com/x/.config?x=13e7da432565d94c dashboard link: https://syzkaller.appspot.com/bug?extid=01ade747b16e9c8030e0 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=138f4d8d180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15763da9180000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/901017b36ccc/disk-fec50db7.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/16bfcf5618d3/vmlinux-fec50db7.xz kernel image: https://storage.googleapis.com/syzbot-assets/dc9c5a1e7d02/bzImage-fec50db7.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/4dff8cc527ea/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+01ade747b16e9c8030e0@syzkaller.appspotmail.com loop0: detected capacity change from 0 to 1024 ===================================================== BUG: KMSAN: uninit-value in strncmp+0x11e/0x180 lib/string.c:291 strncmp+0x11e/0x180 lib/string.c:291 hfsplus_listxattr+0x97d/0x1a60 vfs_listxattr fs/xattr.c:493 [inline] listxattr+0x1f3/0x6b0 fs/xattr.c:840 path_listxattr fs/xattr.c:864 [inline] __do_sys_listxattr fs/xattr.c:876 [inline] __se_sys_listxattr fs/xattr.c:873 [inline] __x64_sys_listxattr+0x16b/0x2f0 fs/xattr.c:873 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x72/0x7a Uninit was created at: slab_post_alloc_hook mm/slub.c:3804 [inline] slab_alloc_node mm/slub.c:3845 [inline] kmalloc_trace+0x578/0xba0 mm/slub.c:3992 kmalloc include/linux/slab.h:628 [inline] hfsplus_listxattr+0x4cc/0x1a60 fs/hfsplus/xattr.c:701 vfs_listxattr fs/xattr.c:493 [inline] listxattr+0x1f3/0x6b0 fs/xattr.c:840 path_listxattr fs/xattr.c:864 [inline] __do_sys_listxattr fs/xattr.c:876 [inline] __se_sys_listxattr fs/xattr.c:873 [inline] __x64_sys_listxattr+0x16b/0x2f0 fs/xattr.c:873 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x72/0x7a CPU: 0 PID: 5019 Comm: syz-executor940 Not tainted 6.9.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 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