Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4547888ioo; Tue, 31 May 2022 06:52:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyep4/nFe4b8+AqBObR6hbKpvLSvcVfwolQNkBRFcW1h9wyTlkIWDtgh4j2gBhnNAmPGS1C X-Received: by 2002:a05:6402:2714:b0:42a:ec89:ca72 with SMTP id y20-20020a056402271400b0042aec89ca72mr64012577edd.243.1654005178633; Tue, 31 May 2022 06:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654005178; cv=none; d=google.com; s=arc-20160816; b=sITc5Tzx39RTmm1hL5okDlQaDtkGZDNveHNQLwxs5RqLybWriQpbIQvIObnSqqB2xz 7WLGKE2LP+1zKq6TIS5HSgrf8JA/skG4xxJZXN0AYxsTH8YA9gwifhrr1hZeIJl4Xi5x uCUwGlsBDcoBdxeU5ZAIhfFjkmNf7F1GjPBDvmaXoPCVkjmDrqXVKqWVLnDCEl9bMO+E jCOizpFg1edEv81CaPRLBSgT6nNPSOxcCBfPttX56Xr+CgjDwbQR7rn35ePrB+b874fv bmkP8G/TWQDf1KunrAJzwJok1HzKb3Gz5XD3w2zRZqRy78QN90KdteUtLl8rLDfp8TBU aM+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=cxpiXnK1IciwR0g2vIgtdnT2h0baAIafVhqTkrZDzaE=; b=Cp0GnX3uEUNFq1qpn8smtWM9wUmvKjv+MwNefPOPVHW2urwoD11pvh3fbPn1OTbj1n tPCE684pPd3/bKDYilF6PuKn3Me24/wdnnQpJpZ7P47E+X7PGk8XFM9mLsADRQiWh0LK 0Zt1KvSN5FTKglB1jVkDB/7wxv8/14am7HoXxY4Oe+b3KMnxaiUggxddtgFrXG2zAbx2 IWSh0Pts4NoygrMKO+17t+jBwSgsORIuDrqN+KADuDxd1JEyOe3BWKmyqjquFyd3oTWF dV8PbkfLfIx3V1SO8RFb0LUPqi18NXEmGEsnti7FP7rTAE61Fa7qMtPrdBFBRXkVYlz0 06iQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr4-20020a170907720400b006fef8395a98si14269415ejc.209.2022.05.31.06.52.29; Tue, 31 May 2022 06:52:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244638AbiEaHzi (ORCPT + 99 others); Tue, 31 May 2022 03:55:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242444AbiEaHzf (ORCPT ); Tue, 31 May 2022 03:55:35 -0400 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0053694B3 for ; Tue, 31 May 2022 00:55:34 -0700 (PDT) Received: by mail-il1-f198.google.com with SMTP id x3-20020a056e021bc300b002d1b0ccfca6so9790929ilv.11 for ; Tue, 31 May 2022 00:55:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=cxpiXnK1IciwR0g2vIgtdnT2h0baAIafVhqTkrZDzaE=; b=32aRInsSRPJcde/50J52C/3ucxghQ+RWxZmf9WgeJurhv01ibJtLSf1yGlrrSNrx4f 4sMW28uQ+URuRPHiuHsfgg6b4exH131/9mFoIQL06RLgl3HAyeF6ZO9ItyJ7dVlHEYb1 rPA3kY1disKv1TycNlJSN3F8l3DQJ3gUcUPnpA0HmhO69IORCdW6bNRUrSIpMgmyJjoI OT671AGD5XECcWjZahoY3wDJsg+f4gnGawsvIo/2qWEucwslg5eXfDmafFrhxjA8W4jT SXdcknidyahdOcPwVgwWqJPcgtHqPnucRm7t+0N7lkaa0RZGw6RjYtTIfUlYqNxgSf2K CHog== X-Gm-Message-State: AOAM530kFWZNEAWFWqvPtvtNwKYM1n+ndx7MVL8QqDDRoa5FwXExtJoV 9rfpKCIcqR8aKHVaQRAK6UeSuCsTkM9uzwn6htYR2DxVIkgA MIME-Version: 1.0 X-Received: by 2002:a05:6638:265:b0:32e:7811:af92 with SMTP id x5-20020a056638026500b0032e7811af92mr29831212jaq.169.1653983734180; Tue, 31 May 2022 00:55:34 -0700 (PDT) Date: Tue, 31 May 2022 00:55:34 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000f0b26205e04a183b@google.com> Subject: [syzbot] UBSAN: array-index-out-of-bounds in io_submit_sqes 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" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 3b46e4e44180 Add linux-next specific files for 20220531 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16e151f5f00000 kernel config: https://syzkaller.appspot.com/x/.config?x=ccb8d66fc9489ef dashboard link: https://syzkaller.appspot.com/bug?extid=b6c9b65b6753d333d833 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+b6c9b65b6753d333d833@syzkaller.appspotmail.com ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in fs/io_uring.c:8860:19 index 75 is out of range for type 'io_op_def [47]' CPU: 0 PID: 10377 Comm: syz-executor.4 Not tainted 5.18.0-next-20220531-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 ubsan_epilogue+0xb/0x50 lib/ubsan.c:151 __ubsan_handle_out_of_bounds.cold+0x62/0x6c lib/ubsan.c:283 io_init_req fs/io_uring.c:8860 [inline] io_submit_sqe fs/io_uring.c:8987 [inline] io_submit_sqes+0x6f0e/0x8020 fs/io_uring.c:9143 __do_sys_io_uring_enter+0x1112/0x2300 fs/io_uring.c:12077 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fd28ac89109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd28be25168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fd28ad9bf60 RCX: 00007fd28ac89109 RDX: 0000000000000000 RSI: 00000000000001b9 RDI: 0000000000000003 RBP: 00007fd28ace308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe7683a70f R14: 00007fd28be25300 R15: 0000000000022000 ================================================================================ --- 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.