From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) (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 15F1218C08 for ; Sat, 16 Mar 2024 13:37:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710596225; cv=none; b=JUWOBjySjHunqCaboFRO1N9cUZMNw+O80koSqEKRyVpt/wVPJVyeks+5Yq7rTHfqTiYtUrJ/azGkwJvldkXzozoSxKefS6XNo4Jqk0blrKGoiquKeoyWjt4/xy+hj5mm63mwzfjWRjzfLC6hZLLCxgfQBMJMp+rLaZAIT6Bb208= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710596225; c=relaxed/simple; bh=Mhpu59xZgowwIwUTjJY/1f/xvIuQiNd67W3gnE58C6Q=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=bdH9GbP8TfP2WKj2wr/BoFEUgXi5MBjUsT8qq5oQa0Qd1JXKaIqgaQ3xDoeEK+Ksl8zpUDW0E+wLPvA7xcDNrxl6dPGcbPhP8RxiNNquJ5k48GRXaboeOCUj0+pdxo2ctI9KBsBFGyWCaECqgtpxmsTuZw5DZxQNsShlvK1IB9s= 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.69 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-io1-f69.google.com with SMTP id ca18e2360f4ac-7cbffd468acso113724039f.0 for ; Sat, 16 Mar 2024 06:37:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710596223; x=1711201023; 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=f2eMB14kyCcI2k4DTY1kMN6ecp75HepgrKrxW4tAY7Q=; b=liWX5l3LZa1ZnoTrwpj605GRAtA76g62OI6is60jH1/+ylQuzp3A/6G8S9l8M1gIgC 6EgcpkAoeZfFUkxNUNzwVLPCTPAiruSnTnrjcgiS0uY6OUsLc3H4d0M3vBD4TiNuabrN /O3heSyZrO8B08lJeJvCHHvtFK8i/9OuGAeA15I/9Dc9FBCACOXKEc0Zcgr+lJXa0EKk 2UF27nwqhIBGBmFlDPiou97SIh3zYwsCOnefVcuV4F4EXPS0W4NyCOD0BhPWtJbQFi50 KA/3QQA//6Sz2tf0HIhbvwl3W8rhKo0NOsGCL3O0mGMZaugybRR18wNYDm7ntQtco7Ke eEPQ== X-Forwarded-Encrypted: i=1; AJvYcCVLiNNSvvE4iN+LaeqmijyN9efUlDLJYHIFuJEtFiiSL9pILz508abUjIcVA93kOG9YGfUPzUn/DhZj/+cZqxcfzZI2ZGoWW8A= X-Gm-Message-State: AOJu0YyWik23f4hz1orCQycdzMzgesCwzOiIcUe1b+AkR1j5UIaBwTcM whMXDEmlBqG1sMO4CwqNOMw2jMOxfTtmCbuK7Hk55twFcFvgjzRwpbAMki1fhIBiyHy2lu4mCP5 h3hO6LIm+f0p41NIf7Z/W2FT4oznES45jW87+DKieQpEG9tcrNFnulaQ= X-Google-Smtp-Source: AGHT+IEd/ZZ8j4C7jdDR/4rCLZP4lHEFBEDZVz3tKDOKV/a7LhGGgArnWbHXgMJUUl/GuEqBKVOTn+0Q7/46kFfowo3iZO4OFdWl 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:218b:b0:366:2f1c:2b94 with SMTP id j11-20020a056e02218b00b003662f1c2b94mr288664ila.5.1710596223292; Sat, 16 Mar 2024 06:37:03 -0700 (PDT) Date: Sat, 16 Mar 2024 06:37:03 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000003e6b710613c738d4@google.com> Subject: Re: [syzbot] [io-uring?] KMSAN: uninit-value in io_sendrecv_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 has tested the proposed patch but the reproducer is still triggering an issue: KMSAN: uninit-value in io_sendrecv_fail ===================================================== BUG: KMSAN: uninit-value in io_sendrecv_fail+0x91/0x1e0 io_uring/net.c:1341 io_sendrecv_fail+0x91/0x1e0 io_uring/net.c:1341 io_req_defer_failed+0x3bd/0x610 io_uring/io_uring.c:1050 io_queue_sqe_fallback+0x1e3/0x280 io_uring/io_uring.c:2126 io_submit_fail_init+0x4e1/0x790 io_uring/io_uring.c:2304 io_submit_sqes+0x19cd/0x2fb0 io_uring/io_uring.c:2480 __do_sys_io_uring_enter io_uring/io_uring.c:3656 [inline] __se_sys_io_uring_enter+0x409/0x4390 io_uring/io_uring.c:3591 __x64_sys_io_uring_enter+0x11b/0x1a0 io_uring/io_uring.c:3591 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was created at: __alloc_pages+0x9a6/0xe00 mm/page_alloc.c:4592 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page mm/slub.c:2190 [inline] allocate_slab mm/slub.c:2354 [inline] new_slab+0x2d7/0x1400 mm/slub.c:2407 ___slab_alloc+0x16b5/0x3970 mm/slub.c:3540 __kmem_cache_alloc_bulk mm/slub.c:4574 [inline] kmem_cache_alloc_bulk+0x52a/0x1440 mm/slub.c:4648 __io_alloc_req_refill+0x248/0x780 io_uring/io_uring.c:1101 io_alloc_req io_uring/io_uring.h:405 [inline] io_submit_sqes+0xaa1/0x2fb0 io_uring/io_uring.c:2469 __do_sys_io_uring_enter io_uring/io_uring.c:3656 [inline] __se_sys_io_uring_enter+0x409/0x4390 io_uring/io_uring.c:3591 __x64_sys_io_uring_enter+0x11b/0x1a0 io_uring/io_uring.c:3591 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 0 PID: 5482 Comm: syz-executor.0 Not tainted 6.8.0-syzkaller-00721-g6c677dd4eac2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ===================================================== Tested on: commit: 6c677dd4 io_uring/net: ensure async prep handlers alwa.. git tree: git://git.kernel.dk/linux.git io_uring-6.9 console output: https://syzkaller.appspot.com/x/log.txt?x=17f26711180000 kernel config: https://syzkaller.appspot.com/x/.config?x=a271c5dca0ff14df dashboard link: https://syzkaller.appspot.com/bug?extid=f8e9a371388aa62ecab4 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Note: no patches were applied.