Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1451435lqo; Sat, 18 May 2024 04:00:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX26jVKmXVxqcXFxaWi3Azv341pb/Xk5Lz4SmlelLZhSRqiQu5LUGfPy6eDaKfyfTJiGc/Uq9LqgaJqmLrf6ucPOkfKT6AGSGbh7+7O1A== X-Google-Smtp-Source: AGHT+IGWsWCuj//rC74GHp2C05zV+De8mLUX+P69VNjySjfPSVN/hlGu6M6JqZvIJtdHncmNu5cT X-Received: by 2002:a05:6a21:27a9:b0:1af:cdc5:dfbe with SMTP id adf61e73a8af0-1afde0b735amr28148559637.15.1716030054589; Sat, 18 May 2024 04:00:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716030054; cv=pass; d=google.com; s=arc-20160816; b=pDsxolMhWsQqqkCcTJ+khYY92vGB/ZosMDTe2kFcuZmhT//CFgYWCbEKq5ZALVNzQT D6BtaUaOOpI42ws+lYifS8LXeIkmIT+VGSga7ZRxl6dINI3R3bvJ6IYxoThypTlOtsqj lcFhxpxUDQ30mlKB/8y+bZRnjgJfAggqN0DX+jM0fXjltgQ/gjgC+HOsWQF7cU3iPPta +zET9l6KjvZXJ68wG85MYBk3IiaAykiHE+NaOyiuSybg1D8QK3mb87zbHIBB1FeW5eu+ Hl+bXNjmoJ6Oz+VyzpoAkGOVWXgvJU2RPCHbmCA7WqH+SBGuMJhvOpJOr0cmdPsOpHZw 4K9g== 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=c7VRjhcyzcSvtEIoOWjsOxVgYE5qtyU969WvVg3AWFM=; fh=ksAIG3FgQLPvW9KEw+/GwMRIkJkrs1dD0FcsmQLGSy4=; b=yFIhCiMG9jJnyT6Kmko0Yvx3T/ySFLD6jzxsH7seidpc3ZSP40d5BOulZ73gKG4yJL Uca4ekXhyzbUFN6RYI8xKdl2gQRFfDrj3QZJJEVT04voCwjFgihSryKDJumdVdfL+qgB rumuqodatpvM+ulHIHUpK0Rle+R4q9gT5rGTAxA4/uCGGwtJzD3eaN4QuoOD1mr7egpF qIR7k5hfs/oNjIdp5dzPGytkYj4j7wbj4+JPJIPPN42AxAEMXl9MddF5kQvpwU8ATXmE 3adnUvLERLqqB2EF82Q3O3ZCk0bzjnoqTxYnh8Zow7tiSye27rt4+xNugr98KWymdo0t 5vEA==; 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-182822-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182822-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e824e6si53909a12.9.2024.05.18.04.00.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 04:00:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182822-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::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-182822-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182822-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 27D1628273D for ; Sat, 18 May 2024 11:00:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 397DE28373; Sat, 18 May 2024 11:00:47 +0000 (UTC) Received: from mail-io1-f79.google.com (mail-io1-f79.google.com [209.85.166.79]) (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 1F3B618E1A for ; Sat, 18 May 2024 11:00:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.79 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716030046; cv=none; b=fWkN7wgexqAP4gg1pwiyyrzNcsfTnyJirDndk31m4mReM0mIxyPPk0Zbba1BRs7UBAjLg3nHz3243YGBzaZ511dGH/+a1dfATfqDiM7gjfMYnVWsQOMO331u1nOiyKJ3hn1ehxXLjo49UObj5y5mUysY0AV4LI70hlnk8ckdZ+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716030046; c=relaxed/simple; bh=01QUKvrdwJTuoYK+gwIGlmtvVCFNyjDaVEgOgqt4fkE=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=XQaimpHO7DXLQY2pDHILiPsNHW/KVQyLgyu5OBElJIK29u+Ov8F9+pgLRhGvYazRiZYntQ7Q3WZ3cHzQpSPp9ngr7DRk7V/1TrqRTJyynXzRozQwHmjsBNwqd+JB15P9kWtWrlRDVwh7JSU6up9lx8T05pCeOCmxLxRqLHMIwlQ= 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.79 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-f79.google.com with SMTP id ca18e2360f4ac-7deb999eea4so1040741939f.3 for ; Sat, 18 May 2024 04:00:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716030044; x=1716634844; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=c7VRjhcyzcSvtEIoOWjsOxVgYE5qtyU969WvVg3AWFM=; b=SNeWKZp+Tkw2cd2KB3T4biy2bq1QyI30tODxOrsHwkB+h6plFIWB/jHzt7kwv8xYf0 hrT5mbX9X5ld0xFTT1FwEk/q9ZtBw0qNyLnObxKOa2RyZ8bAIsj2MekzpzbtO8bW6Vre xxPQKEcHbMzg4vvIbrC5VDjyHp+z8AKvkv5R9ry3kFgiQMS75yHGmdtyzfVE1QQoQDHC gvuazEydMyVOLZN8I9nAHuxEAf331pzyH+18z0Ax40PnwBmym4dV/cStZET2zkwjXtda 5dITae050fcjtQoF4Lsa+qstGNk/MrWGTGpN5s48SLa0dAumZhiPQHs2l30KztjTUmar yZiA== X-Forwarded-Encrypted: i=1; AJvYcCV3ltp02WmpqwL8Wf/EcG69m+llG44jwtfwH1WbrjZgWfACsREKfaNjC3ZaO8k1e46WIF6LTX5fNYIX+uRz+uXkhzDb6M/SmY6RkABq X-Gm-Message-State: AOJu0Yzs8LfwdHrSS9SS0SrLQhGbJvOhEPCj5I5k1ZagP8/Z6+L62zak ETHIamXQPJQeS+8Bva9vhSLb56+RgSJU/2LLssehgHmwkMXmV8gL/B2gfYkWOl4w4eh8jXPJ3ju ImkBLpz9nX987nVcEQWNOLYdyU756DZQescNVdSjUaHoIZD3tNwtjWCo= 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:6638:248e:b0:488:7f72:b3ac with SMTP id 8926c6da1cb9f-489585764d4mr1405056173.2.1716030044397; Sat, 18 May 2024 04:00:44 -0700 (PDT) Date: Sat, 18 May 2024 04:00:44 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000003870370618b861cc@google.com> Subject: [syzbot] [io-uring?] KMSAN: uninit-value in io_req_cqe_overflow (2) 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: a5131c3fdf26 Merge tag 'x86-shstk-2024-05-13' of git://git.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=156ebcf4980000 kernel config: https://syzkaller.appspot.com/x/.config?x=64e100d74625a6a5 dashboard link: https://syzkaller.appspot.com/bug?extid=97d8b31fbab9db1efe55 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1124b5b8980000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=155aa55c980000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/81edac548743/disk-a5131c3f.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/42f67aa888e5/vmlinux-a5131c3f.xz kernel image: https://storage.googleapis.com/syzbot-assets/2e5cf5b3704d/bzImage-a5131c3f.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+97d8b31fbab9db1efe55@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in io_req_cqe_overflow+0x193/0x1c0 io_uring/io_uring.c:810 io_req_cqe_overflow+0x193/0x1c0 io_uring/io_uring.c:810 __io_submit_flush_completions+0x7eb/0x1be0 io_uring/io_uring.c:1464 io_submit_flush_completions io_uring/io_uring.h:148 [inline] io_submit_state_end io_uring/io_uring.c:2234 [inline] io_submit_sqes+0x2b30/0x2f10 io_uring/io_uring.c:2350 __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 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_queue_sqe io_uring/io_uring.c:1965 [inline] io_submit_sqe io_uring/io_uring.c:2220 [inline] io_submit_sqes+0x1266/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 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: 5042 Comm: syz-executor135 Not tainted 6.9.0-syzkaller-01768-ga5131c3fdf26 #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 syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. 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