Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp344327lqb; Sat, 16 Mar 2024 06:37:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXFYa55DrOzEZQkmBM1yB8z+wWUITiJ5zLYX45oFWKqb1n+8JUqsvKnoj53pLDamu82NO3ZDR/kWjwqK7sOGFW/EuWUUZ0SNIubOYpHcQ== X-Google-Smtp-Source: AGHT+IGF38Oi8iAWHv1FfmRekX4thbE7wbqPUnkta0SPjGZdmrL+9s34P4Yy1UFJQ8tpBO4WSgFv X-Received: by 2002:a05:6870:344a:b0:221:45a1:b802 with SMTP id i10-20020a056870344a00b0022145a1b802mr7805203oah.24.1710596243202; Sat, 16 Mar 2024 06:37:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710596243; cv=pass; d=google.com; s=arc-20160816; b=ZI2GAssE2AR6G0WiktPxKBnlZaG8riqzMgZdSiALq4hDiMLmDyqTYVXXOAfuYJzTmW U2MMvhNlrctYalJ6P5SH2yor1xzSbkiCMRWSN75nasnjA7g6yHmzUO7YwVrSGdPPxRYM Bwk5aXooql90gGeQqtGAYfUakkjguNhnsN1c/9AxBsBu1wz3fQoizHUB5zxlByAGakt3 wuS3y3b7Ov/64gxOQD8EJ3GC/iHoxAOGNJOjeLE0KdE/3pEBHeCY8EadR/+EEtWK0SnY fsGdRQivYNGuS3L1uDG6Hh8LxkToXgWvwwgPfHvfRQcisndU9txpbCWcQjikLC4+DMRN wogQ== 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=f2eMB14kyCcI2k4DTY1kMN6ecp75HepgrKrxW4tAY7Q=; fh=Jd2DqsYtQGPfIqijOX2alWXZXkBij7ZcJ4sqyJ2vCwQ=; b=rXY932aHVd2Rdfb1MtsVz06u0zHbZmQEhwN4CBxlWORUh8O0hst4jElY9b8iyiqeRn n8zYquQAxpKJxoUKtQC3rPw5shz3Rt7TAdg01gw0Db+IvhMhmqbpNgKx0ts8l5InUmkJ iWUBcyOTaxb26Iu/7RdmgRk/w5aFJIhr+bJtDjWSTfBpSB8ggFY+O+g8PyDtUvZxNh+C oxAloB62VbY9FI1tSrVSHYtbMziUb/63eJv3S6hKFxAnCTLzDCzI8w61VgfmEuGVlS9h n+jm6cGQXq/tH3ezAAcBMRgNDVKH2a6QWzbZClpYBV5t7jHjN1xR+tj0Xci3vZlhYHdG wnHw==; 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-105188-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105188-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u12-20020a63f64c000000b005e438e96c48si4393819pgj.164.2024.03.16.06.37.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Mar 2024 06:37:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105188-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; 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-105188-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105188-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7F246B2135A for ; Sat, 16 Mar 2024 13:37:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 031BB18C08; Sat, 16 Mar 2024 13:37:06 +0000 (UTC) Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) (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 0B67018C38 for ; Sat, 16 Mar 2024 13:37:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710596225; cv=none; b=CuVOnRCxsdSD/VrfRbj8RON+jFZL52y1809Gk2uI6x1CfLw/kUOZbVIkCt5tWIFWy/E/qcJPz0AOhnWMX3zbS1DH0jwx/1qkxra3ZL1KWSRtTk5CrFZTLB3LdzLSNMEhNR2sb826rHkjw2D2sjxTVLluBEl+CZTL1itKLeSz07g= 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.70 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-f70.google.com with SMTP id ca18e2360f4ac-7c846da7ad2so238824139f.3 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=fjej7H7IIZ7MD9gj3w2mtYl5Azl/9hnAlNJB4OVirphvk+hUjH1ZpitHokgX/urtqt 6cHzdcs4VlKB5ENk9vHf+s0RdwoZRB5ELWaztHtJw37SAOyh4uGTpMEK9PWpFQA0DnjY Ary2Ote0oSs3GcgeZzxDAFGE+0ZFlvg0GmVU8B+K2wud/gbLWLGX6rM7lw1HgJXBYe1r 6LnS9PS4XPi0NCIc834Ergo8ktEobiLGDkZ5dTqivH7jFLWoydvaAWmgEGrynIm3qBsS SpAs0cFZECeqgD1M7kjO9VPEkic/oQ90taW/y/y53i1bSRwDMKf8+mMyKud1I38UxhC0 p++Q== X-Forwarded-Encrypted: i=1; AJvYcCU6SPM5/HwdSzRh6F7wgqRV3CIgFebCXcb9fcIhbYvQnh77Pw2HQK/oK7b9cr4oj7F+Yf/TNu+nwf9B0MPTdFG/gd+Zk+BxcQ4dFUjJ X-Gm-Message-State: AOJu0YzTpGcFujkq+XXKByfmSb9KCl5t+lgLmkdX2ndjnRcrOvRjUdcw fDCB/MK4IyMHkMWHo6VSwO11Zax/nhpUxwJ2b9CmlK9x1ds6x9eMLetHVhjrsZcNRkcoklSL2Cc 7jtHHaPWNDLfuSMgaPgeGYo82TI6N4z0XFG6QxkJFp0/7G3b0vWxe6u8= 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: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.