From mboxrd@z Thu Jan 1 00:00:00 1970 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 B277C1B7E9 for ; Fri, 9 Feb 2024 22:10:32 +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=1707516634; cv=none; b=TBHodeyQJQDN+gdDK8mlVzgnbA4ucqq4xKNDURhUN6RvtTf895JpHC3yU2TunOtN8BsuQ9gG1OB+LJqdmLor3t5uOKBVIg93H3vWaWipXbmL0DFNx//UQgRF46hfyJfsy88unPu7Hhow8/YFOjBboMCNn4vkCJ0StnrcBOU1E58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707516634; c=relaxed/simple; bh=FbPrgaVYVx/Y2b65Tnm0kYD6DQGnYXAIo43/KnRZdXA=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=mdNSPFYQ1p2bR4N2PFIaGZp/Ku5Jgl+ojHzV4g7i2+5b3NWCsNTnsK++UWseevaxnx73Vjamgv7Dy+8auOnYWfD5Ed+lcM5dewwTCAlzNBXoAhd64HPn1UpgP9cmoJCiiFY71kVQkxWrmJpj9SlmT+Cys6kbYdFGnKY23V2RpjU= 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-363c5157034so12574065ab.2 for ; Fri, 09 Feb 2024 14:10:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707516632; x=1708121432; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kYMKdXEgEYoOzbuN4s8Mp96TJ3NrCTFqEoQiv1HCOb0=; b=qCOY0UnCIBYyw4Bt2k7cuVdmyqqUafrutY650REYjuuovcmXTFk11R1syThcROInIT kXkTXwJJyW0yIag6d7x5OQ8M1EPDErnKSi+GSJjkUc/KQq+kvZZzVJnHWppB4HMIrfva 7N/GafovRuKDIw1uoHiqIkcZulmYyRT3vG2MzCg0IfjLJXv5hG4aOKht9s0s0/pJCPvJ qH+YuVWWg1kguNSQ1TeoNbrjoz14xSHDLF84S7tlMSVjxgYhC9UPojmfuz4QSQ2REEmy NifNADfOM/VG0gMiYOB6XZNXl5w2iEAhgqC4Frjvm33lmR0FsvI9/izXBBkRQTLvH/39 qPqw== X-Gm-Message-State: AOJu0YxISCTVasfyBnXBWKmVor7pSYEU+Dqc8xLvAJTWfGeIneB2Boxq 8Niyqr9CACWrQTNvg8QvtYzVmYn5UE2gnP2/0JH/rf81I6pXNyfkdx2eVIB05vf693Ic/mLauiQ smAtwhoxquksbuuO34iqSZpGHGSiOKgcz6x4BKyiUZp9Bx5YkeVLZpEc= X-Google-Smtp-Source: AGHT+IEwoDlrwJtfpvZJDJ+cxkRbuTG9pkve1xAHBaqzCAa+6mIDt9nNVnbKQiHG5ZVW0pcL14OEXsM34+5Pc6wxxnQEh/S8HCtU Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a92:c24a:0:b0:363:c576:d6c5 with SMTP id k10-20020a92c24a000000b00363c576d6c5mr27774ilo.3.1707516631914; Fri, 09 Feb 2024 14:10:31 -0800 (PST) Date: Fri, 09 Feb 2024 14:10:31 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000004b1fa70610fa3230@google.com> Subject: [syzbot] [io-uring?] KMSAN: uninit-value in io_rw_fail (2) 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: 9f8413c4a66f Merge tag 'cgroup-for-6.8' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1743d3e4180000 kernel config: https://syzkaller.appspot.com/x/.config?x=656820e61b758b15 dashboard link: https://syzkaller.appspot.com/bug?extid=0198afa90d8c29ef9557 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/79d9f2f4b065/disk-9f8413c4.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/cbc68430d9c6/vmlinux-9f8413c4.xz kernel image: https://storage.googleapis.com/syzbot-assets/9740ad9fc172/bzImage-9f8413c4.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+0198afa90d8c29ef9557@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in io_fixup_rw_res io_uring/rw.c:311 [inline] BUG: KMSAN: uninit-value in io_rw_fail+0x1a7/0x1b0 io_uring/rw.c:1099 io_fixup_rw_res io_uring/rw.c:311 [inline] io_rw_fail+0x1a7/0x1b0 io_uring/rw.c:1099 io_req_defer_failed+0x217/0x3e0 io_uring/io_uring.c:1065 io_queue_sqe_fallback+0x1f4/0x260 io_uring/io_uring.c:2100 io_submit_state_end io_uring/io_uring.c:2345 [inline] io_submit_sqes+0x2b85/0x2ff0 io_uring/io_uring.c:2463 __do_sys_io_uring_enter io_uring/io_uring.c:3712 [inline] __se_sys_io_uring_enter+0x40c/0x42d0 io_uring/io_uring.c:3647 __x64_sys_io_uring_enter+0x11b/0x1a0 io_uring/io_uring.c:3647 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was created at: slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768 slab_alloc_node mm/slub.c:3478 [inline] __kmem_cache_alloc_node+0x5c9/0x970 mm/slub.c:3517 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc+0x121/0x3c0 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] io_alloc_async_data io_uring/io_uring.c:1780 [inline] io_req_prep_async+0x384/0x5a0 io_uring/io_uring.c:1801 io_queue_sqe_fallback+0x95/0x260 io_uring/io_uring.c:2097 io_submit_state_end io_uring/io_uring.c:2345 [inline] io_submit_sqes+0x2b85/0x2ff0 io_uring/io_uring.c:2463 __do_sys_io_uring_enter io_uring/io_uring.c:3712 [inline] __se_sys_io_uring_enter+0x40c/0x42d0 io_uring/io_uring.c:3647 __x64_sys_io_uring_enter+0x11b/0x1a0 io_uring/io_uring.c:3647 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 0 PID: 5401 Comm: syz-executor.4 Not tainted 6.7.0-syzkaller-00562-g9f8413c4a66f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/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 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