Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2048753lqb; Mon, 27 May 2024 06:23:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXTQxSvsD1lXFUpPtFpwL/6BYWmIC/LZjqXhrWaa5nJO02/Ahwe/Fu8UPm32t8us2sxfWhpR4cMJ60pHy6psdIuHGV4mF6yX4zW9W+oA== X-Google-Smtp-Source: AGHT+IEYE0/Yz/jgiYQRL+jq0dthC/sv0qsXoRt9qeasPEFjKXfcEdUVsZKxPp/zpWlCC0VToWgl X-Received: by 2002:a17:906:bb0d:b0:a60:c58e:d323 with SMTP id a640c23a62f3a-a62641c48c0mr594686066b.10.1716816235757; Mon, 27 May 2024 06:23:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716816235; cv=pass; d=google.com; s=arc-20160816; b=VGIYX4Of4Q4ABYoWqmKsyhwgwlHRUgzDJl2gJvoNLgdCIfGbqbM9LE8Xj1edmaEExR mmjbJx6m19GMrgzCBRQSWiozJxasOj1n5lAMkstfem/jRvtkp/zWkJZsFzktFk5OO20I SEVQwcM/zAh5LB/OTj81BSk95f9fhotc5U1eqQoVW4EebF/j58BLTFuZStu8A7/YWbpZ VfpQhshFColojTVj/8xbEtvPGOlkqsoLLiJnYhzDH67LwSFpk1hYGEEUjgegHiRwt7p0 sI1wHXJyH2pPj1quBCVNeNJqwogrewpoaSDclf5Wj1jo+UBSVRSDS1hIu4GZZieSe1+q BZGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=/qhmbTQ4F0jLVtDtoVk681gByJJZtXvPAOYim6+cLZE=; fh=i55uOroacKel+AOEjt6uXCXZ5CRTOpoBQ5KCfw021PM=; b=k99GuDFJg5NqjevWvIKkL50f+VnQozsXTtzRIg9Skdf3pV952y6Uq4w0F9mcb3CPqU 3BLA8t/BxItFHEPdcsZNzO3vvb5hHafa2SGNGGnQOHweuo/JDApqjNm7bBOsAeEhm9bH +p+NVKq/uFM3Hbi3dZ0BHK3dWlXj0RMALvwZl9eCzLg/YXI12UQViEXV0MOyerFud5Y+ I+qSkqYEBVGR4ydNiNNPGlj6nKYDBRqhaQybd7tRE4F2ssRSnp8gRkOmGG4Ox0l8Qe6e aadmySmN9Io/ViGOcztFz2Menx5LGiPrrgZgcx27ugyZw9tlhu3DPOtEcWlKz1ac0vNx Gx1A==; 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-190676-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190676-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 a640c23a62f3a-a626c7feea7si388395266b.46.2024.05.27.06.23.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 06:23:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190676-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-190676-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190676-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 B30F51F21C17 for ; Mon, 27 May 2024 13:22:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63A5E15EFC3; Mon, 27 May 2024 13:22:31 +0000 (UTC) Received: from mail-il1-f205.google.com (mail-il1-f205.google.com [209.85.166.205]) (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 5DEEA15ECFA for ; Mon, 27 May 2024 13:22:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716816150; cv=none; b=YHCs37d+uuKYWVBKdYBUSdZxH+2slJtZ0m1BNGBWUrGFD0vM+IgnE6njmcF63IqxL47mrbFnDIVGC8fi3T5q/MBwmJrAIvTm8nVyKwHJ7CqqV0eSUx5qG4bu+MFwBqr8mDoUsDzvWsaPc4/hLI9+uyhlf7leRJExF2li5+kfvbo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716816150; c=relaxed/simple; bh=l4cYYvTuGJTCQAXcG6jFJSb2OefKYqz1SCBoseZVUns=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=XGUjY6Y0yfz8MBcTXOC/Nj/IuhX2WbDeIyZ5IUzpulhOK5tRfy7SoDUqxV8xdVRySXRFfz5nL4AmBhqhJYR5OREtrFdRwiiZKfmz2Dxp6OasN+o8LiDYf+35wAoOJEkLquzhaE/NZ4DZtb2a3dXOeu4MdyvFHGyh3BKu9cJit5o= 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.205 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-f205.google.com with SMTP id e9e14a558f8ab-3738db5b07dso18518705ab.1 for ; Mon, 27 May 2024 06:22:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716816148; x=1717420948; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/qhmbTQ4F0jLVtDtoVk681gByJJZtXvPAOYim6+cLZE=; b=tfdCyl7LQHDjTreZGXEna7bHqvxgzMArodiLF1HK37xqt5b3QcPg8cn8sW4sXLFkph 1e9f3ypJqF6ayOTsj/yfUsT9CyFVO2vtrCqEuonyV0eDjUDhW+zw9EorLbKShQvZTDUt +CII5GzYDvEOnUC9sh4e5i/hl/eS9Gxixx7K8hcs8z+HUWQ+P1Xq35ioINUViACM9XtC dV4FJ/aLqIubWliW70OhGDGt03Odi3AuCMSUqMh6P6UsPW97mMa624BoQD3WA3oVSpNx fNDjXEOxTX5Np29APsHqhlWwommfz9wbQq89+kgAP2u/UUUh1+q96pEXvMoytC5IMuff ropA== X-Forwarded-Encrypted: i=1; AJvYcCUw/JxdwU+yCoSw2CtNu9WRgQHzP0vhqDEVv+C++WmfVak/lXn7tleKRpAm89h+a0YDUmvJZ0UwFwMqFbCZgX9BKQTsJVaA+q226BnB X-Gm-Message-State: AOJu0YzFKIRe3N61a/gXB1FqAV89y1ButR23Htv4jNdlFJhAAJXv0nvG nvQ4+CmBFqgLDLHO1IAaQBVSqRitl+kTOKE9gH/JT7NafRqQ6QOsx577a3HzYa/RUFfYzyF8Pj6 XcARn6bfSxIKb9jmJFxW1IWkNT1hEk6BB/FYLGp5g8p2y/gxxEaXcVcU= 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:216e:b0:36b:2731:4084 with SMTP id e9e14a558f8ab-3737b2bdafemr5797905ab.2.1716816148564; Mon, 27 May 2024 06:22:28 -0700 (PDT) Date: Mon, 27 May 2024 06:22:28 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000ae186106196f6894@google.com> Subject: [syzbot] [io-uring?] KMSAN: uninit-value in io_issue_sqe 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 found the following issue on: HEAD commit: 614da38e2f7a Merge tag 'hid-for-linus-2024051401' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11b9b972980000 kernel config: https://syzkaller.appspot.com/x/.config?x=f5d2cbf33633f507 dashboard link: https://syzkaller.appspot.com/bug?extid=b1647099e82b3b349fbf compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/89eafb874b71/disk-614da38e.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/356000512ad9/vmlinux-614da38e.xz kernel image: https://storage.googleapis.com/syzbot-assets/839c73939115/bzImage-614da38e.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+b1647099e82b3b349fbf@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in io_req_cqe_overflow io_uring/io_uring.c:810 [inline] BUG: KMSAN: uninit-value in io_req_complete_post io_uring/io_uring.c:937 [inline] BUG: KMSAN: uninit-value in io_issue_sqe+0x1f1b/0x22c0 io_uring/io_uring.c:1763 io_req_cqe_overflow io_uring/io_uring.c:810 [inline] io_req_complete_post io_uring/io_uring.c:937 [inline] io_issue_sqe+0x1f1b/0x22c0 io_uring/io_uring.c:1763 io_wq_submit_work+0xa17/0xeb0 io_uring/io_uring.c:1860 io_worker_handle_work+0xc04/0x2000 io_uring/io-wq.c:597 io_wq_worker+0x447/0x1410 io_uring/io-wq.c:651 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Uninit was stored to memory at: io_req_set_res io_uring/io_uring.h:215 [inline] io_recv_finish+0xf10/0x1560 io_uring/net.c:861 io_recv+0x12ec/0x1ea0 io_uring/net.c:1175 io_issue_sqe+0x429/0x22c0 io_uring/io_uring.c:1751 io_wq_submit_work+0xa17/0xeb0 io_uring/io_uring.c:1860 io_worker_handle_work+0xc04/0x2000 io_uring/io-wq.c:597 io_wq_worker+0x447/0x1410 io_uring/io-wq.c:651 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Uninit was created at: slab_post_alloc_hook mm/slub.c:3877 [inline] slab_alloc_node mm/slub.c:3918 [inline] __do_kmalloc_node mm/slub.c:4038 [inline] __kmalloc+0x6e4/0x1060 mm/slub.c:4052 kmalloc include/linux/slab.h:632 [inline] io_alloc_async_data+0xc0/0x220 io_uring/io_uring.c:1662 io_msg_alloc_async io_uring/net.c:166 [inline] io_recvmsg_prep_setup io_uring/net.c:725 [inline] io_recvmsg_prep+0xbe8/0x1a20 io_uring/net.c:806 io_init_req io_uring/io_uring.c:2135 [inline] io_submit_sqe io_uring/io_uring.c:2182 [inline] io_submit_sqes+0x1135/0x2f10 io_uring/io_uring.c:2335 __do_sys_io_uring_enter io_uring/io_uring.c:3246 [inline] __se_sys_io_uring_enter+0x40f/0x3c80 io_uring/io_uring.c:3183 __x64_sys_io_uring_enter+0x11f/0x1a0 io_uring/io_uring.c:3183 x64_sys_call+0x2c0/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:427 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+0x77/0x7f CPU: 1 PID: 7410 Comm: iou-wrk-7408 Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ===================================================== --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup