From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) (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 A84A915F41D for ; Wed, 24 Jul 2024 18:59:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721847546; cv=none; b=pkhjtLZePPgx2UEmnCdzWSF/o5i+l6Ih57u1ogyl56KSkFJA+giQXLwFmNRH/C9HgSGVtdGGfW2e+quAHKHh6R3QcSGD0jIm2fIVIMle2BjUYM/VI9XIKF8aYL+nsLYcycGxwjRt3HwYU7B2mn7BD+HnU6Y0LrlpH1SaxnZzUCk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721847546; c=relaxed/simple; bh=7f7FtSv7nnQZMtXVfJa0ePVsJHkIWzVFFZA8MEbsHLE=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=lVkhRLhVodVQy3B5CaaPYpY1atbjHPvB1LLofLF3RK5Nc+Ws7u5iLJt+i3oBtIdA2hnkbE4B8fX6iIIGlBZGH0naDXJyMLEqLOg+70wSZ6MfYZkS4OA3cVkSfH1v9cDwWUo0XOi0aXufAR5jWHPE53vSefDGSvvyHypKXvjfrwQ= 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.199 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-f199.google.com with SMTP id e9e14a558f8ab-397052a7bcbso594005ab.2 for ; Wed, 24 Jul 2024 11:59:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721847544; x=1722452344; 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=wfdzvacuDV3CcT26JJD9v7jns+NQq86w7tti0drlXpY=; b=QnrFvaecG4+tem5gziFhl0cAlZUnnoW6wuYvXUZ3RhyrOhTmXXzqLi0GYvVBX0Yezg 5vWWAs155aoERXB1LUZd0YLfL3IVz99VYpC3KHMF6hmTf/obxR4jncX71vyk8IznKy2Z eluOriyJbAB9szM3H++f+1Dn22U3HrZtOIv1dCbYRFUVvIcwivmULrDKBBUaOpknByLE +ldL+Hdug+k9Ajw68xpLg5KnW/QYOb2AqE1l012ewd3kEVmgao8AwcOFfNkT1heLcoA3 vZKvJStzWBJxxjKNx0nArjuXTwKPAoUa3U7wt+w6bzN0aDiQw4UW4QDm7Pkn1VOOR0sO K49A== X-Forwarded-Encrypted: i=1; AJvYcCV8iPfBIO2YmKeLdFYn7GjJBee0m9JQypd73w6oOJOVcOK+HDIZ/JFZ3o38Espk8q3StKPuKhJf95S173sCxM+t7nVBTB+1wxU= X-Gm-Message-State: AOJu0Yzz466Jas0bcuR/11gxH+Sl067aP65RZdKYM9GfHM0a8tRXbLsX sw5mcMYLSF13tkZSGu6iBDm6oFxBYfrBnFNQsHDDJUMwOreNK/Uy8GtvU741p4X3JWGZzOHosgr rMYFXLAV/4l4S0wtEz+yhbSEUdy45kQcod77nAGhokxhd1CDY7J5/svM= X-Google-Smtp-Source: AGHT+IG0R1Og+dysLDHe5d/3/YBqGbJ+pY6Rqqiy5laFYf0wseOpwhzCIZGio6wZe5pmnw8vWceoXY/k+ubnGByr/mg786J2rbX7 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1a2e:b0:397:3e38:eb30 with SMTP id e9e14a558f8ab-39a2182abaemr382345ab.3.1721847543887; Wed, 24 Jul 2024 11:59:03 -0700 (PDT) Date: Wed, 24 Jul 2024 11:59:03 -0700 In-Reply-To: <18c54a21-184c-4cde-811c-48c5c0e34f9b@kernel.dk> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000360ee4061e02dffe@google.com> Subject: Re: [syzbot] [io-uring?] KMSAN: uninit-value in io_req_task_work_add_remote 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 has tested the proposed patch but the reproducer is still triggering an issue: KMSAN: uninit-value in io_req_task_work_add_remote ===================================================== BUG: KMSAN: uninit-value in io_req_local_work_add io_uring/io_uring.c:1193 [inline] BUG: KMSAN: uninit-value in io_req_task_work_add_remote+0x592/0x5e0 io_uring/io_uring.c:1241 io_req_local_work_add io_uring/io_uring.c:1193 [inline] io_req_task_work_add_remote+0x592/0x5e0 io_uring/io_uring.c:1241 io_msg_remote_post io_uring/msg_ring.c:102 [inline] io_msg_data_remote io_uring/msg_ring.c:133 [inline] io_msg_ring_data io_uring/msg_ring.c:152 [inline] io_msg_ring+0x1c38/0x1ef0 io_uring/msg_ring.c:305 io_issue_sqe+0x383/0x22c0 io_uring/io_uring.c:1711 io_queue_sqe io_uring/io_uring.c:1925 [inline] io_submit_sqe io_uring/io_uring.c:2181 [inline] io_submit_sqes+0x1259/0x2f20 io_uring/io_uring.c:2296 __do_sys_io_uring_enter io_uring/io_uring.c:3206 [inline] __se_sys_io_uring_enter+0x40c/0x3ca0 io_uring/io_uring.c:3143 __x64_sys_io_uring_enter+0x11f/0x1a0 io_uring/io_uring.c:3143 x64_sys_call+0x2d82/0x3c10 arch/x86/include/generated/asm/syscalls_64.h:427 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_pages_noprof+0x9d6/0xe70 mm/page_alloc.c:4719 __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] alloc_slab_page mm/slub.c:2321 [inline] allocate_slab+0x203/0x1220 mm/slub.c:2484 new_slab mm/slub.c:2537 [inline] ___slab_alloc+0x12ef/0x35e0 mm/slub.c:3723 __kmem_cache_alloc_bulk mm/slub.c:4759 [inline] kmem_cache_alloc_bulk_noprof+0x486/0x1330 mm/slub.c:4831 __io_alloc_req_refill+0x84/0x560 io_uring/io_uring.c:940 io_alloc_req io_uring/io_uring.h:393 [inline] io_submit_sqes+0x171b/0x2f20 io_uring/io_uring.c:2285 __do_sys_io_uring_enter io_uring/io_uring.c:3206 [inline] __se_sys_io_uring_enter+0x40c/0x3ca0 io_uring/io_uring.c:3143 __x64_sys_io_uring_enter+0x11f/0x1a0 io_uring/io_uring.c:3143 x64_sys_call+0x2d82/0x3c10 arch/x86/include/generated/asm/syscalls_64.h:427 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 5924 Comm: syz.0.16 Not tainted 6.10.0-syzkaller-12268-g7a3fad30fd8b-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ===================================================== Tested on: commit: 7a3fad30 Merge tag 'random-6.11-rc1-for-linus' of git:.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13a6fa19980000 kernel config: https://syzkaller.appspot.com/x/.config?x=f26f43c6f7db5ad2 dashboard link: https://syzkaller.appspot.com/bug?extid=82609b8937a4458106ca compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 patch: https://syzkaller.appspot.com/x/patch.diff?x=178ca779980000