Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp3258088rdd; Sun, 14 Jan 2024 02:14:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEEMbz5ZAzKdxjKvb8JdnPBd3TN8QEBd0ileLwgh6yscLN1fXMERgNOLENZTeFZcC0Knwn5 X-Received: by 2002:a17:902:f80c:b0:1d5:8a8d:83c6 with SMTP id ix12-20020a170902f80c00b001d58a8d83c6mr4222151plb.46.1705227273779; Sun, 14 Jan 2024 02:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705227273; cv=none; d=google.com; s=arc-20160816; b=GJZKzngkti62QwXjliaNhp8TKBEsl/TY2k40d8Ex1xWE2zNG3aduwAZK8Tmt4xk4fR sTzPrn6Jb3Bq2ghECaC6yIyBFn8SNRkCENejrTFrbxx5o6v1uBc2Z7KFzMauczq3w7PY cFYirBZs5wDNPQoUJHHSn786ZoWNZzVz/NIZ6AbM8x+5CM54Nzo6A1nfb4Qt7d/Jz3hj mCivpdg2QhC7ijEvKcPTqUmW9NQU0D3VhWvzIpVOftMLerIO8C2mGq1reTUIXGDr5aSy IlurCgOjnoKXdMAiHe1w9nXmgWpMx/fdjcuLznOSZSxbBNHX8tTq2l4f7WSPOFzuo3Nn i9ow== ARC-Message-Signature: i=1; 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=++zUQFlQO1jJCn2oGGjsjqpi/zbkWdKQOFSazaQqWLM=; fh=XOb7Rm5sWn9Hswyo9JV+QX2PRflxUu2jPuyK3tDa2SY=; b=Ycvkehsf0rGFQmk/Fh0pjEcg7YBAZTaj/TBS1iT3hJXUrf7VEuQQ5xqLWz6rUjRoD1 v8VJY4wpkwsYTwtgXRIEXSN24SEO6aCdHr1GKpFz60aJ3dhzqhFvVcLsxy+9ZMG2mgGQ pV78GOtUDCPsX3pvrcxRS9Q4k8W3y+Y45zfDSkjdUKnnnPDECfFSRGbR8RXZtEn2tHZ2 P0zgURdu1LSBOPfDZso2PNUZyTwraOI/JOO/P9JO/H6kFp2YQoMe2RhoB3OhT67WR2S/ MVFotZNQGswRqXS1PWFD29CUg7QIrnOGpSt/lN9LfCxbI72EdT5Kd29ELqIVko86PyRK s9Yg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-25435-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25435-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 ks6-20020a170903084600b001d5bc2d8ca7si2044352plb.99.2024.01.14.02.14.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 02:14:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25435-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; spf=pass (google.com: domain of linux-kernel+bounces-25435-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25435-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 75E522822D0 for ; Sun, 14 Jan 2024 10:14:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 177F323BC; Sun, 14 Jan 2024 10:14:19 +0000 (UTC) Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (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 234FD1C3E for ; Sun, 14 Jan 2024 10:14:16 +0000 (UTC) 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-f200.google.com with SMTP id e9e14a558f8ab-35fffb6fe5bso76130425ab.2 for ; Sun, 14 Jan 2024 02:14:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705227256; x=1705832056; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=++zUQFlQO1jJCn2oGGjsjqpi/zbkWdKQOFSazaQqWLM=; b=k6Ll1L63Kpsp8lKcdW24RudzdK7fS4A5Q6JuWN/sSw7Y5zMFyTb9Mr6YeOVj3Y2SA7 N84+YnJRHIskgyPDuFAAOTKt8FuwjSKNBfaZGq1PbLo3ZIZ6W2ashg1pT0Zoe/RqDHQV spWgkcjeSD2v+NpUqJ3OzQzvVVB6l4+I+KzfsuTCNDf/TBxiaRZ9mq8y8GCVhNw7L8ym eabPl47eIysUXQ5A9GhiS5l80/CcvfYHbsiALamL9qsqj3ygj7IAVFdoRFgjGfjsZqO6 ikcC6h2SlN5e2Z2/3pqmzE60XPh/o/sBeRftO//G1eVnjC87d4wP2FFOfVsc7bLUYja5 X/MA== X-Gm-Message-State: AOJu0Yxx61bPBdpGbIUg1ANGy5viEBMbiIccdf5gc83OKOYSD+g6m/oA 6h4XYO9ko3UUl/WRY3rlTFcLr7Baprf6SQJg9qstVMaa3KtH 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:194a:b0:360:620a:24eb with SMTP id x10-20020a056e02194a00b00360620a24ebmr560177ilu.4.1705227256357; Sun, 14 Jan 2024 02:14:16 -0800 (PST) Date: Sun, 14 Jan 2024 02:14:16 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000e06949060ee528f1@google.com> Subject: [syzbot] [io-uring?] KMSAN: uninit-value in io_rw_fail From: syzbot To: asml.silence@gmail.com, axboe@kernel.dk, io-uring@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: 99d99825fc07 Merge tag 'nfs-for-6.6-1' of git://git.linux-.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=10c292a8680000 kernel config: https://syzkaller.appspot.com/x/.config?x=e9fadcd263e8d242 dashboard link: https://syzkaller.appspot.com/bug?extid=8d9c06e026c513a69f2f 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=1358d7dfa80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14c99d9fa80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/7e9fa7fad7d0/disk-99d99825.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/424ca21fc443/vmlinux-99d99825.xz kernel image: https://storage.googleapis.com/syzbot-assets/d4de08b26e5b/bzImage-99d99825.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+8d9c06e026c513a69f2f@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in io_fixup_rw_res io_uring/rw.c:273 [inline] BUG: KMSAN: uninit-value in io_rw_fail+0x1a7/0x1b0 io_uring/rw.c:996 io_fixup_rw_res io_uring/rw.c:273 [inline] io_rw_fail+0x1a7/0x1b0 io_uring/rw.c:996 io_req_defer_failed+0x217/0x3e0 io_uring/io_uring.c:1030 io_queue_sqe_fallback+0x1f4/0x260 io_uring/io_uring.c:2063 io_submit_state_end io_uring/io_uring.c:2308 [inline] io_submit_sqes+0x2b83/0x2ff0 io_uring/io_uring.c:2426 __do_sys_io_uring_enter io_uring/io_uring.c:3620 [inline] __se_sys_io_uring_enter+0x491/0x43f0 io_uring/io_uring.c:3554 __x64_sys_io_uring_enter+0x11b/0x1a0 io_uring/io_uring.c:3554 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Uninit was created at: slab_post_alloc_hook+0x12f/0xb70 mm/slab.h:767 slab_alloc_node mm/slub.c:3478 [inline] __kmem_cache_alloc_node+0x536/0x8d0 mm/slub.c:3517 __do_kmalloc_node mm/slab_common.c:1022 [inline] __kmalloc+0x121/0x3c0 mm/slab_common.c:1036 kmalloc include/linux/slab.h:603 [inline] io_alloc_async_data io_uring/io_uring.c:1745 [inline] io_req_prep_async+0x384/0x5a0 io_uring/io_uring.c:1766 io_queue_sqe_fallback+0x95/0x260 io_uring/io_uring.c:2060 io_submit_state_end io_uring/io_uring.c:2308 [inline] io_submit_sqes+0x2b83/0x2ff0 io_uring/io_uring.c:2426 __do_sys_io_uring_enter io_uring/io_uring.c:3620 [inline] __se_sys_io_uring_enter+0x491/0x43f0 io_uring/io_uring.c:3554 __x64_sys_io_uring_enter+0x11b/0x1a0 io_uring/io_uring.c:3554 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd CPU: 0 PID: 4988 Comm: syz-executor352 Not tainted 6.5.0-syzkaller-09276-g99d99825fc07 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ===================================================== --- 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