From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 640CEC54EE9 for ; Tue, 20 Sep 2022 10:26:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C0396940009; Tue, 20 Sep 2022 06:26:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BB3A4940007; Tue, 20 Sep 2022 06:26:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AA1DB940009; Tue, 20 Sep 2022 06:26:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 9BA3E940007 for ; Tue, 20 Sep 2022 06:26:40 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 74207801A1 for ; Tue, 20 Sep 2022 10:26:40 +0000 (UTC) X-FDA: 79932084960.27.1824C09 Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by imf06.hostedemail.com (Postfix) with ESMTP id 1FAE0180026 for ; Tue, 20 Sep 2022 10:26:39 +0000 (UTC) Received: by mail-io1-f71.google.com with SMTP id y1-20020a056602200100b006893cd97da9so1188127iod.1 for ; Tue, 20 Sep 2022 03:26:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=+7GYa/bfu8He9Neu0dv/rAd1cD9cFE948uqmZB8ev0E=; b=Xrwdn9kxhPzWLS/FrCmcpy+p1KLgG//vRTU2rBECffQdWOSWKX4NmCLuMpudbxfMBB 1z+Z/TmlkDPjDvsB9xY6dDAllYSCNvS3H2CLLYcZkgdAWKLULhJmHUGAoqTcV6Tkd/lt K8HWEP9Fbm33FvLhjb8Q3cvUbKwH08BeLO2H2asbuT4Iuu9Tw8cyPSdW3VEXcPFFYiaI VyIUWGoQMB2GOEf30ZvED4dNtVaMaagWWJWNdcVi9K/WZVy4IARffNOcI8oA9epFDOji WFXZJn4mqVM0FrFQO35epJbeeh5om7wFCr2Q+Eq/g4+NoL9fxmzGTVxH/vc4A/HM9loh 3jpg== X-Gm-Message-State: ACrzQf1WrU5PpMuWp89ZD2pp9VDUONQgrhZxSs5Q4K3/cExnd0omjAUl xUP9fYtKz37RVTg1iCCK/Ies3PfoBF3kMGwkQrRJUa1/6zCA X-Google-Smtp-Source: AMsMyM46YkZcgiL35+Q16+pirzky0DfEkO6SBesqD1GfcPUVhZXdytVW/g5sqG8tN7OXwbf3PwG474P1DQmPozw24yQrh1XBjRLe MIME-Version: 1.0 X-Received: by 2002:a92:c543:0:b0:2f5:ae52:a023 with SMTP id a3-20020a92c543000000b002f5ae52a023mr4289358ilj.118.1663669599322; Tue, 20 Sep 2022 03:26:39 -0700 (PDT) Date: Tue, 20 Sep 2022 03:26:39 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000007dcc0b05e91943c2@google.com> Subject: [syzbot] KMSAN: uninit-value in ondemand_readahead From: syzbot To: akpm@linux-foundation.org, glider@google.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com, willy@infradead.org Content-Type: text/plain; charset="UTF-8" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663669600; a=rsa-sha256; cv=none; b=2Nhj8dM7iQRVfEEH9d3/fYQ3/t7eDlpf72n1jPDB5gS8Xg4nXmcDVpjWD/wRddllP1TTic wpP3DkY+XyygRz1gkNeMqg8/WtZAc/EzhxVR4ATftlY1gN6XAsbiCt6azd2uWeTHQ5rzJ6 GZx6cnuiKJczajPrJfD/px9BppQpJwc= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=none; spf=pass (imf06.hostedemail.com: domain of 3X5UpYwkbAFAAGH2s33w9s770v.y66y3wCAw9u65Bw5B.u64@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com designates 209.85.166.71 as permitted sender) smtp.mailfrom=3X5UpYwkbAFAAGH2s33w9s770v.y66y3wCAw9u65Bw5B.u64@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=appspotmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663669600; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references; bh=+7GYa/bfu8He9Neu0dv/rAd1cD9cFE948uqmZB8ev0E=; b=PaFrvL41ZEk0IexAJ1S3h1p/X0WT9g4dEXsWLTF6/Kn6OKKHbhT0KtOcSm2CpXUyyxM3hQ 0JjXDhIUysEYj3JgJWRYwygIgHqMro9NMfnIWHVftTBZbP6AWD3b8uP0132amRZUsstDea qhlZM0EsmXGiScZe4X1+zqBa5zSTvU4= X-Rspamd-Server: rspam06 X-Rspam-User: X-Stat-Signature: mxxgfrp1gxx3po6gw936q8wjfpt3qky6 X-Rspamd-Queue-Id: 1FAE0180026 Authentication-Results: imf06.hostedemail.com; dkim=none; spf=pass (imf06.hostedemail.com: domain of 3X5UpYwkbAFAAGH2s33w9s770v.y66y3wCAw9u65Bw5B.u64@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com designates 209.85.166.71 as permitted sender) smtp.mailfrom=3X5UpYwkbAFAAGH2s33w9s770v.y66y3wCAw9u65Bw5B.u64@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=appspotmail.com (policy=none) X-HE-Tag: 1663669599-575356 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hello, syzbot found the following issue on: HEAD commit: 8f4ae27df775 Revert "Revert "crypto: kmsan: disable accele.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=10b5e0f8880000 kernel config: https://syzkaller.appspot.com/x/.config?x=121c7ef28ec597bd dashboard link: https://syzkaller.appspot.com/bug?extid=8ce7f8308d91e6b8bbe2 compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project.git 610139d2d9ce6746b3c617fb3e2f7886272d26ff), GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: i386 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/4cf4e5a58eb8/disk-8f4ae27d.raw.xz vmlinux: https://storage.googleapis.com/82e5fbbe1600/vmlinux-8f4ae27d.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+8ce7f8308d91e6b8bbe2@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in ondemand_readahead+0x9de/0x1930 mm/readahead.c:586 ondemand_readahead+0x9de/0x1930 mm/readahead.c:586 page_cache_sync_ra+0x733/0x770 mm/readahead.c:699 page_cache_sync_readahead include/linux/pagemap.h:1215 [inline] cramfs_blkdev_read+0x5fb/0x12b0 fs/cramfs/inode.c:217 cramfs_read fs/cramfs/inode.c:278 [inline] cramfs_read_folio+0x21e/0x11e0 fs/cramfs/inode.c:827 read_pages+0x1217/0x16b0 mm/readahead.c:178 page_cache_ra_unbounded+0x7bf/0x880 mm/readahead.c:263 do_page_cache_ra mm/readahead.c:293 [inline] page_cache_ra_order+0xf50/0x1000 mm/readahead.c:550 ondemand_readahead+0x10f3/0x1930 mm/readahead.c:672 page_cache_sync_ra+0x733/0x770 mm/readahead.c:699 page_cache_sync_readahead include/linux/pagemap.h:1215 [inline] filemap_get_pages mm/filemap.c:2566 [inline] filemap_read+0xa07/0x3f80 mm/filemap.c:2660 generic_file_read_iter+0x128/0xaa0 mm/filemap.c:2806 __kernel_read+0x3c1/0xaa0 fs/read_write.c:428 integrity_kernel_read+0x80/0xb0 security/integrity/iint.c:199 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0x18b6/0x3e30 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x42f/0xb50 security/integrity/ima/ima_api.c:292 process_measurement+0x208a/0x3680 security/integrity/ima/ima_main.c:337 ima_file_check+0xbc/0x120 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x497c/0x5600 fs/namei.c:3691 do_filp_open+0x249/0x660 fs/namei.c:3718 do_sys_openat2+0x1f0/0x910 fs/open.c:1311 do_sys_open fs/open.c:1327 [inline] __do_compat_sys_openat fs/open.c:1387 [inline] __se_compat_sys_openat fs/open.c:1385 [inline] __ia32_compat_sys_openat+0x2a7/0x330 fs/open.c:1385 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Local variable ra created at: cramfs_blkdev_read+0xbe/0x12b0 fs/cramfs/inode.c:186 cramfs_read fs/cramfs/inode.c:278 [inline] cramfs_read_folio+0x21e/0x11e0 fs/cramfs/inode.c:827 CPU: 0 PID: 4115 Comm: syz-executor.2 Not tainted 6.0.0-rc5-syzkaller-48538-g8f4ae27df775 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 ===================================================== --- 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.