From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f72.google.com (mail-oo1-f72.google.com [209.85.161.72]) (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 541CA23EA99 for ; Sat, 24 Jan 2026 10:25:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769250305; cv=none; b=MPeEc4tQ6elhs7j2hED28EEonsHW/hIZeYpEWu7d7wTw4uEPZTvTP4gCnMpBTytYaEVjW6yST/ngFCSC9IhuKcoDuOur+m38brxpKWrmBtjuU+f+ZMGTcAawtWmS7Rt+NoIs9VT4GOrigJQqdWgsGeUNgVBnZYfn5LbfqxmBLyk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769250305; c=relaxed/simple; bh=Bp81hfGxKPrDh+w3eSz5eGcpqiA8t2CFMInm2HR1Xhg=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=OgKZnTfCXD6vbSSrYMfTK7ZmUKsqocUrabU7bSl8h1Hyg1yMO9jgWT2R3Q/zUrGjDMfoA0wmuitiI6Hg7uqflOnzdbohkTiEX8Mszor5KpIajMBQcSzOBo9hgdaIVOF964UuFAY+s8MjWIGp+ax+gYGHZPgt3XOqbC8J0wUwGdU= 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.161.72 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-oo1-f72.google.com with SMTP id 006d021491bc7-662b9af3a01so5772221eaf.2 for ; Sat, 24 Jan 2026 02:25:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769250303; x=1769855103; h=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=10bwb0WuilCJMgsw2RgwyY6i7QH1mALslPgvo4oDqzM=; b=PhCmOML51kzsQfiXLzt0SRrdhFyv3V//oF5FWQToduVUaAvHVb9NlEE8nbOkNiOs+3 JlAwMJwNR1fK29JTWFU7/pIRldk7idINPKjBwRJVRrtU+Q9wuKFMyGrzfBFPLoyMiwmx H5Hte3ExYpbaAsPjc+laX8ZDgLyCDHO4cAt8UqVrpKVQkerUVIWsc9jTObEw7Ei6GrJ/ PerDfzVdpX8dW233dAhPEBUDLOVrlJklfuPBG0cHVziODl2TgB3nqrFhJjte+EhJVM4I sAFsbqTYrjkJJV64flt0XmrlSYc4HZ7kyqXa19t4yhQ0uB16c8qA5a62DRATraMBF/mB gqqg== X-Forwarded-Encrypted: i=1; AJvYcCXCNTuSFiirMonCr85pL/1w18IpP6N/VUo+d6r/kF30019mqp43DOPCPmPlyHpz2rlx1bvATjY2h+UtZ8o=@vger.kernel.org X-Gm-Message-State: AOJu0Yw+QPekgIDCArX5svGhuRa78AjtbOcTYFgKca94I5JJPiYcsC6B geyYiajtfdhupZJjoHiAN4wB2Isq8EQoq/iuyytiIfYYW57QZxi6ZskIXAvdlhqX5AlqwppXzsN y9WIyLYstS4js1pZxVm9fKFPE4Vi6s1YdNKrzbN6IAp6GvZVZ3Xbokaf34Ro= 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:6820:810c:b0:662:ca3c:a99a with SMTP id 006d021491bc7-662cab4335emr2740308eaf.53.1769250303169; Sat, 24 Jan 2026 02:25:03 -0800 (PST) Date: Sat, 24 Jan 2026 02:25:03 -0800 In-Reply-To: <20260124090709.617302-1-kartikey406@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69749dff.a00a0220.33ccc7.0004.GAE@google.com> Subject: Re: [syzbot] [iommu?] KMSAN: uninit-value in pfn_reader_next From: syzbot To: kartikey406@gmail.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: KMSAN: uninit-value in batch_from_domain ===================================================== BUG: KMSAN: uninit-value in batch_add_pfn_num drivers/iommu/iommufd/pages.c:365 [inline] BUG: KMSAN: uninit-value in batch_add_pfn drivers/iommu/iommufd/pages.c:398 [inline] BUG: KMSAN: uninit-value in batch_from_domain+0xe8c/0x1010 drivers/iommu/iommufd/pages.c:425 batch_add_pfn_num drivers/iommu/iommufd/pages.c:365 [inline] batch_add_pfn drivers/iommu/iommufd/pages.c:398 [inline] batch_from_domain+0xe8c/0x1010 drivers/iommu/iommufd/pages.c:425 iopt_area_unpin_domain drivers/iommu/iommufd/pages.c:1687 [inline] __iopt_area_unfill_domain+0xccf/0x1b90 drivers/iommu/iommufd/pages.c:1773 iopt_area_unfill_domain+0x100/0x140 drivers/iommu/iommufd/pages.c:1828 iopt_unfill_domain drivers/iommu/iommufd/io_pagetable.c:1025 [inline] iopt_table_remove_domain+0xada/0x1010 drivers/iommu/iommufd/io_pagetable.c:1269 iommufd_hwpt_paging_destroy+0x21e/0x540 drivers/iommu/iommufd/hw_pagetable.c:30 iommufd_object_remove+0x4c8/0x6c0 drivers/iommu/iommufd/main.c:273 iommufd_object_put_and_try_destroy drivers/iommu/iommufd/iommufd_private.h:268 [inline] iommufd_hw_pagetable_put drivers/iommu/iommufd/iommufd_private.h:461 [inline] iommufd_hw_pagetable_detach+0x6e3/0xa10 drivers/iommu/iommufd/device.c:714 iommufd_device_detach+0x38/0xe0 drivers/iommu/iommufd/device.c:1059 iommufd_selftest_destroy+0x9e/0x100 drivers/iommu/iommufd/selftest.c:1951 iommufd_fops_release+0x1e0/0x5f0 drivers/iommu/iommufd/main.c:361 __fput+0x60e/0x1050 fs/file_table.c:468 ____fput+0x25/0x30 fs/file_table.c:496 task_work_run+0x208/0x2b0 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:44 [inline] exit_to_user_mode_loop+0x2ff/0x1b20 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x1d7/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f Local variable batch created at: __iopt_area_unfill_domain+0xa8/0x1b90 drivers/iommu/iommufd/pages.c:1738 iopt_area_unfill_domain+0x100/0x140 drivers/iommu/iommufd/pages.c:1828 CPU: 0 UID: 0 PID: 6581 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026 ===================================================== Tested on: commit: 62085877 Merge tag 'kbuild-fixes-6.19-2' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1642c452580000 kernel config: https://syzkaller.appspot.com/x/.config?x=8bf02b9e495b9fcd dashboard link: https://syzkaller.appspot.com/bug?extid=df28076a30d726933015 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 patch: https://syzkaller.appspot.com/x/patch.diff?x=158cc452580000