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 03EC929CA for ; Sat, 16 Mar 2024 16:29:02 +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=1710606544; cv=none; b=hnS1wyqRfvSCVAcpg8ydcFzqdt/gXZ2dKEF3HSEt7mV5fMd9EXPcQUdkQi/IyepFqVtrsUDc0qQYcWCClZIVxM8w3xPTeeKXAt0TYj7V/lNu55iF7Np1RVxi/hKBA9gnIIfMjDHjY4MF1GhonjtktGOguJwiPphwobKJHBZGCxA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710606544; c=relaxed/simple; bh=Y0yhbc7ydnQqmzLmsuHCZOKD7hhbhRbIktCPFdDExSo=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=hAs1Fq45aGwqiELnE9G05Upz6zo3bedEJKkMObFV0aUS01UsPI54j6dwhA33CsQf7bFkfjiJtEIw/472782iaRZp186XgwHYH+liHGnmJ4tWsMAEQ1GS/GXaotVKc1GG+ll8f03AN5EzO2zguw4uPGrXjWaVsdszD6H/YSnlmgw= 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-366ba41e0c3so763415ab.3 for ; Sat, 16 Mar 2024 09:29:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710606542; x=1711211342; 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=JKegllEXc4OdWtS04GQ5DNgtrIzoudxXYDeDXhOiLCA=; b=DQyH1jZK3l2UfndKlUF1QRXwKkwdayuVJIFvjhUB1FM5I7Qrs2SSI4/WiHc9yHW35a TmiK0K1V0EFLaXl0uRsNN5OzJudQlYkYJwCDrMJ5IvYTa7V4wUzNONw7NAF+fPzUKLFQ 4zwPlswnH0ETcP2xBdkSrTwSPVmoegPdrZDJgLHusuPsto2d+tRoBgIbkJz15UDhOIyY rBdLi7XhygLb9pxxUCVcHRV8ZznGOCtciGOprAoUgCba3BSxZ2eRopT3I6Nii+RRkt1r SnNqjdS2sqgafmMp44Me8ryphKsBnWU8MsekXt8BnaLsdLEWT/GPVOon0CGwSGuCLhcs 9qxA== X-Forwarded-Encrypted: i=1; AJvYcCUWqJffbpkuGVZPhgS9446Pkt1Hp7O6WnoY7QfeRbl/7iai9n54+9K9g/L3XVysweGauySDp9lLh+JdxoMVCxSh9qooo13iw30= X-Gm-Message-State: AOJu0YzHa8laCJLJ/Da+hx/uBEQzPDsXxQt1ekNT0GxyWAX/P2xaFkvs hY8bNDS7JN5vjyvCl5NNQfno7NsvTVypWVJ3SYaZ0r0dHpxjC0Mq9mv7uoMTfQIJ21ccxtk0IFl 50CLlqqfKld3BRHp7ZB1lABLAqRPWL7CufSbdNOaKMCSMb4n+LX2PQ9M= X-Google-Smtp-Source: AGHT+IEoK+zNLWyJJmOEUTNpKE4dYQelUBa9p8rbSTAXYJ9sL6fs50GcdeMzNy5Q/oqRlPX9chbmssw0v+uvfVRMRYAJgM8FI8D5 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:1d86:b0:366:b7d7:9734 with SMTP id h6-20020a056e021d8600b00366b7d79734mr48661ila.3.1710606542282; Sat, 16 Mar 2024 09:29:02 -0700 (PDT) Date: Sat, 16 Mar 2024 09:29:02 -0700 In-Reply-To: <6e00b097-99db-44dc-a87b-08925c1f044d@kernel.dk> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000004db6840613c99fc6@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:1334 io_sendrecv_fail+0x91/0x1e0 io_uring/net.c:1334 io_req_defer_failed+0x456/0x6d0 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:2310 io_submit_sqes+0x1a60/0x3030 io_uring/io_uring.c:2486 __do_sys_io_uring_enter io_uring/io_uring.c:3662 [inline] __se_sys_io_uring_enter+0x409/0x4390 io_uring/io_uring.c:3597 __x64_sys_io_uring_enter+0x11b/0x1a0 io_uring/io_uring.c:3597 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+0xaa2/0x3030 io_uring/io_uring.c:2475 __do_sys_io_uring_enter io_uring/io_uring.c:3662 [inline] __se_sys_io_uring_enter+0x409/0x4390 io_uring/io_uring.c:3597 __x64_sys_io_uring_enter+0x11b/0x1a0 io_uring/io_uring.c:3597 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: 5478 Comm: syz-executor.0 Not tainted 6.8.0-syzkaller-00721-g3fdefe13e0a9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ===================================================== Tested on: commit: 3fdefe13 io_uring: explicitly flag early request failure git tree: git://git.kernel.dk/linux.git io_uring-6.9 console output: https://syzkaller.appspot.com/x/log.txt?x=15c58006180000 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.