Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp420599lqb; Sat, 16 Mar 2024 09:29:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSDKKEEBSYu8pZM7w1M5jqyCvoPICY3H+TMfikz8Rak5f8sQJ/WeK8YOcC2NNUgKFPd4ipxaRfHqSItOxxpaZnILiR9mQKJgTC9LT8Aw== X-Google-Smtp-Source: AGHT+IGxAerjk3JtdRKnU/HQMc7ZozIgk5p63Wd1G6uSWzkrYuQbsdSgaAB95QscT737AtPcHlxw X-Received: by 2002:a17:906:d92b:b0:a46:a3df:6a9e with SMTP id rn11-20020a170906d92b00b00a46a3df6a9emr1194363ejb.18.1710606552905; Sat, 16 Mar 2024 09:29:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710606552; cv=pass; d=google.com; s=arc-20160816; b=cdNU3255JXe5C/9t/RPp05E/1hfu6+vuM2M25F/YfFZESwTM89gQwzavflVsFavct8 41dYSC8vX6ydvXYCAGtENJeVBTxKW/fk65fxc2+erfcwCNW2T95HFeVZoBVziNKK283L JCGfIF/neVIdcciBh+I5W3duzHbXyd4ZVEUi/JyRr2HrBy+gCQ9Vbtos6usTzyS1mNTU 03p7lPr+8vZsm/KV84AipEpaXZYfYAIbgZZLBW52q6sQiPDm1iaYz5617yC4cbxZDU+B Nf237c7Qu/ePTWcjJut9zFE+7K2yudHbW/c/fJPhCLa8ocDXGy+VOWqVzvxSRPdQl57x 4XsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=JKegllEXc4OdWtS04GQ5DNgtrIzoudxXYDeDXhOiLCA=; fh=r76TqL5S5mLYMpEYUO2QYgltZ6InE8WHUwGl6rtOQ0Y=; b=zEoqNRb3wydqof5w4Y7qq79drk+RDKMkPf4foJ1cj9jlGhVE/3gQaCLAaTEv9I6Q0E YgwpidFrQkqjC9XPySDR/0wha8eedUz3pEAMEy+38ZaHP0IhaTq3dpCC+tRDl9Hq8e9r OHZyxlA4fr/uiFGdmNHv0k9kpdf32szhqCbvxy+sGHC1dq7BdajQQryqHB8Y0bG9p6kw LaZiSGYrHCnVFOE0H1W/q0B3TbKJzIkSUEgngZVcGUG7IqvP1gKjkHO52COnbp1detgA FIGEDd0V93eEkRyx+AD2rbsCkPqS2t0RUAET0tVVvdWCIlXnnqmMstmvmV14LLgPbuqO jS8w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-105230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gq25-20020a170906e25900b00a45feec5654si2701171ejb.113.2024.03.16.09.29.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Mar 2024 09:29:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-105230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105230-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9FB5F1F2249C for ; Sat, 16 Mar 2024 16:29:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 057CE1BC4E; Sat, 16 Mar 2024 16:29:05 +0000 (UTC) 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 124151BC20 for ; Sat, 16 Mar 2024 16:29:02 +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=1710606544; cv=none; b=Hg8xkrcvRpotR5aY89VSqeWPNfTxf7jBwYMw4E6HTXAEKzjnS4PD8ew52kVJImho9SrL92M81/1ouc9toBkjx7uZZT/ze1aHfZNOr7O3+JDixpf5HF6asRXWmaxUMu1O1l3AENlNT3NkCHKOpGRgo48c+mPtfWMk4EU+aOxXY6Y= 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.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-366a7e3099bso11702525ab.0 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=pmndI8/kO+yEyYGwe+icdr1GovcdPR0nOeFL65vCnRNZQqjjsS1mJRoEzIp6oKlNSc pXionzOofzr1v9PCl7noaqZmZX9IvrIQly95AGYcKt+Ls0r+mAm5JRRYoGOL2x7oETOh LGEKwMa5LdWMtQWOnoaNnUs+wduuccuVrtT6avS3PlhB+QIr/j81u2VeEZm5XMi0Oa28 gDvA7U1EFf9pxctgeHiKDv8Q3aHtg2WDPr5zWNcPECPG3eeBImuGj6l1Mo2l3O09bi7L PJNBDhKkhUSAgWfyfnD4VvgA0/5/iMLIECdfDWKqPYQCrIx9GdZNphZzlGA4ZNVwb5pY EcoA== X-Forwarded-Encrypted: i=1; AJvYcCUIoTurtbYEv080UMuSo2XPhO0fZU9eKtFr2VMawN6HR3JotSezfcRg/rZMZos6wnaLQe31S8Phy7TslYKKN/QlW54EQQjQDCg4Cd0O X-Gm-Message-State: AOJu0YxZvhtkcvVizvPtIE70X3yk721l7BD1lxTwLRD5e7wMdrG1v+0c Wv0/AQLCtSuIoESQLSVSKT8VHXfDolaGQp5PYp1UEd+jmsAP1crO3B2I8bOX5FmME4BlIF3qYMr uFYe7dWZl2pHiQI0RkIrct/83+i/AXvlbqArF4CdPJz3gCeaiyVOxZrM= 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: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.