Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2530507rwb; Fri, 11 Nov 2022 10:34:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf7TClbYZb3l31iEYh/2gH1MakzW+HD+K+O1LtcOnffKPW1XtUx0V5CEwcKMwiqbjx8EEZBB X-Received: by 2002:a05:6402:747:b0:459:9dd3:2217 with SMTP id p7-20020a056402074700b004599dd32217mr2620107edy.163.1668191648785; Fri, 11 Nov 2022 10:34:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668191648; cv=none; d=google.com; s=arc-20160816; b=VIbClzvZPIh4TQAhFiHTgkvi35f5WlxUScO0iohvnSOdC6g6RwVDnOhiWn9QV3T1Ep Pb2JD7NGwANn98CDCvirp1kQ9i5CHSkN6EkVfBH/W4C1gPf4z5XF0QdBjn7xzWp+aA70 RVJQsputojC+X8OKbFqj/D8ryzLLlr/a4Jy+B3HQpA3vpTh3rdi17PkMouC/y2i7ycdp cusExkowjPjHTBW75LmUd61lUznZF8iLaF0pcp6CWI+UbriOzVqlJI98g1k70itcuWSP zUhCFialYrPYqSX2Mq9jcp1OrOKeXjaDVPM4brmKwPmyGEO+VYajJuyht4KmDYR73/cD SAyA== 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=kGTnkFXQuCUMTD7CK+5QZtG8OlzqpMe0ZhXCS8Y5mCA=; b=u7TxTyHItDsXMPqJ8J6zXunmGgqbxAoCnyNqMzTvf79Kq4TBhMl/9bj58MAJx/qpTq tfzBTsyCW4Q9+YMmBlYskwGnQFHbFao2V2Y0UL+V+VyZM48txABx9fAs3yOa9T0M3AIH ue9xmhcUuuot4ed4ySwZklUhVSMHsZWsOXLZTeVHx0Sgm2StN6gfLv4il2P/HYOTvqqv swKJLuBfhYbVtrzWqqUe0w5k4V97VznX3vN6pnpmQnsP4iMOqkBP9kl5kyxv2yvwv6d6 ArBSrunZ3oC/V91WicU9KlliG3ohbCK6SYDGi7/ZS+fWa5ynhIG6Bs+G72x/HUwnPbIp epDQ== 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 o15-20020aa7d3cf000000b0046189831142si2607146edr.7.2022.11.11.10.33.47; Fri, 11 Nov 2022 10:34:08 -0800 (PST) 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 S233804AbiKKS0x (ORCPT + 90 others); Fri, 11 Nov 2022 13:26:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232004AbiKKS0u (ORCPT ); Fri, 11 Nov 2022 13:26:50 -0500 Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C67E4C25A for ; Fri, 11 Nov 2022 10:26:50 -0800 (PST) Received: by mail-il1-f197.google.com with SMTP id d19-20020a056e020c1300b00300b5a12c44so4468599ile.15 for ; Fri, 11 Nov 2022 10:26:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kGTnkFXQuCUMTD7CK+5QZtG8OlzqpMe0ZhXCS8Y5mCA=; b=tnVma77nkRkM3s20a+oasrQfDBK3G3geFwlw3PXDpMJsCN2rLx0Rma9xzdytbNtka9 Yj4MfC+hLH2J5IswWCxmHrlNhsU7Aj580Ff+pEnBZqrpMgZE9ofdbw2pzo5q5x/gDqg1 Enjb4VPFlYYiE2EmiQfAoeYAZ9ddkGdI/Ezolgxlp7E55iX4FenUXZQRXfTOZmxU+5rM b+jMwWVFzP68hWAYkwzNqINBPZcri2zPG3YP0ZkEAZqX3IxG9oxs3jGLXTkx2nooEIbL q5gaFXYcT0964s5JbMQfSsSh8s+zMCSiA9QUhSjFS6otjc6Vh9TIqQmX7QDqAd5Crjh+ lxRw== X-Gm-Message-State: ANoB5plNqUm9l4+nMaKoodZEPntIP5tv+y+GFtTrGj7/ArdfGv1LXHc6 1E6I078XxuIXkrV5v4Q7bH0kyZus06Yp/L+ml9IMiv9md/jF MIME-Version: 1.0 X-Received: by 2002:a02:54ca:0:b0:375:7f39:51d9 with SMTP id t193-20020a0254ca000000b003757f3951d9mr1362528jaa.174.1668191209340; Fri, 11 Nov 2022 10:26:49 -0800 (PST) Date: Fri, 11 Nov 2022 10:26:49 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000734a7305ed3608ba@google.com> Subject: [syzbot] WARNING in snd_usbmidi_output_open From: syzbot To: alsa-devel@alsa-project.org, clemens@ladisch.de, linux-kernel@vger.kernel.org, perex@perex.cz, syzkaller-bugs@googlegroups.com, tiwai@suse.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 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 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: f8f60f322f06 Add linux-next specific files for 20221111 git tree: linux-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=12fe828e880000 kernel config: https://syzkaller.appspot.com/x/.config?x=85ba52c07cd97289 dashboard link: https://syzkaller.appspot.com/bug?extid=9abda841d636d86c41da compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=160e91fa880000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=161d3e69880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/6008df424195/disk-f8f60f32.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/394340525f66/vmlinux-f8f60f32.xz kernel image: https://storage.googleapis.com/syzbot-assets/b13604a3343a/bzImage-f8f60f32.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+9abda841d636d86c41da@syzkaller.appspotmail.com ------------[ cut here ]------------ BUG? WARNING: CPU: 0 PID: 5267 at sound/usb/midi.c:1137 snd_usbmidi_output_open+0xd8/0x410 sound/usb/midi.c:1137 Modules linked in: CPU: 0 PID: 5267 Comm: syz-executor895 Not tainted 6.1.0-rc4-next-20221111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:snd_usbmidi_output_open+0xd8/0x410 sound/usb/midi.c:1137 Code: 3c 02 00 0f 85 03 03 00 00 4d 8b be 10 02 00 00 4d 85 ff 0f 85 c8 00 00 00 e8 d4 92 25 fa 48 c7 c7 a0 6e f2 8a e8 02 da 04 02 <0f> 0b 41 bc fa ff ff ff e8 bb 92 25 fa 44 89 e0 48 83 c4 08 5b 5d RSP: 0018:ffffc90003b7f3a0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888146c8d000 RCX: 0000000000000000 RDX: ffff8880245d3a80 RSI: ffffffff81624e68 RDI: fffff5200076fe66 RBP: ffff88801ed9c900 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffff88814017cc00 R13: 0000000000000000 R14: ffff88802b1d5000 R15: 0000000000000000 FS: 00005555574d4300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6ed57c3670 CR3: 0000000076149000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: open_substream+0x41d/0x8c0 sound/core/rawmidi.c:344 rawmidi_open_priv+0x591/0x6f0 sound/core/rawmidi.c:394 snd_rawmidi_kernel_open+0x1b5/0x270 sound/core/rawmidi.c:429 midisynth_use+0xee/0x270 sound/core/seq/seq_midi.c:215 subscribe_port sound/core/seq/seq_ports.c:412 [inline] check_and_subscribe_port+0x89a/0xb80 sound/core/seq/seq_ports.c:495 snd_seq_port_connect+0x382/0x540 sound/core/seq/seq_ports.c:581 snd_seq_ioctl_subscribe_port+0x1fc/0x400 sound/core/seq/seq_clientmgr.c:1490 snd_seq_kernel_client_ctl+0x102/0x1c0 sound/core/seq/seq_clientmgr.c:2367 snd_seq_oss_midi_open+0x582/0x6e0 sound/core/seq/oss/seq_oss_midi.c:361 snd_seq_oss_synth_setup_midi+0x12d/0x530 sound/core/seq/oss/seq_oss_synth.c:269 snd_seq_oss_open+0x8b8/0xa70 sound/core/seq/oss/seq_oss_init.c:260 odev_open+0x6c/0x90 sound/core/seq/oss/seq_oss.c:128 soundcore_open+0x44e/0x620 sound/sound_core.c:593 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x1bbc/0x2a50 fs/namei.c:3713 do_filp_open+0x1b6/0x400 fs/namei.c:3740 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1337 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+0x63/0xcd RIP: 0033:0x7f496367ae39 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc99e01aa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f496367ae39 RDX: 0000000000020983 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000d066 R13: 00007ffc99e01abc R14: 00007ffc99e01ad0 R15: 00007ffc99e01ac0 --- 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. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches