From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B637DC61DA4 for ; Thu, 23 Feb 2023 14:48:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234642AbjBWOsw (ORCPT ); Thu, 23 Feb 2023 09:48:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233571AbjBWOsh (ORCPT ); Thu, 23 Feb 2023 09:48:37 -0500 Received: from mail-io1-f78.google.com (mail-io1-f78.google.com [209.85.166.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E94FB2117 for ; Thu, 23 Feb 2023 06:48:34 -0800 (PST) Received: by mail-io1-f78.google.com with SMTP id y6-20020a056602120600b0074c87f954bfso4733140iot.4 for ; Thu, 23 Feb 2023 06:48:34 -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=COE5VwF/vvKFFOC9oJDqmFgQgL4RUw4zQOyKGtZlhGs=; b=euBqQngfyVFvFslncWxL6hE2wkQa0ZyYGCEAzFoM0qLPI4UNnCBBn3JfumIPjGySkA SacBQsfY+Vkx6g9I7aE9RPfIJ7510oQk8pI3TXwR7TSEA08j4zcgK0MUWbONdZ+lGT+I KW/NxiRLeYrHtpC2Po+3Ig5nwZbMG5vdrzgeRVH+DjwQFPQlYl1I0nWdCEb7WAvJRzbH 3P4ZeqzZP/5/81M6z5RJMmB6PYdV3hZNTjg8QFlr2QUgN8tvFz59IkR012EP2+gA7kG6 xq/yPyapg3jkSNs9e9h5lTRwgePut9gvUGgkR/Xba5Zc4Tto4ABgQkfSoUV3qmbTorLL 5Emw== X-Gm-Message-State: AO0yUKV1fxBzVsRKooH0UIXIioILaN/RLySBuGITBjpkliF976Z0ddw3 Qe1l32LA3MAEJBMHh0MDvpT5MPQrGgLVBCsIyVfO45J3Yn9H X-Google-Smtp-Source: AK7set+cp4vBf5gxEHJljUKC6PZeXjk8NWZOZ5TMcY6Ftg14mLXfwKYV0YCZhraunCEp7iYnXqBCba60JPUBW0xphAepjsQl/b4R MIME-Version: 1.0 X-Received: by 2002:a05:6638:cd0:b0:3c4:88de:524 with SMTP id e16-20020a0566380cd000b003c488de0524mr5019123jak.3.1677163714245; Thu, 23 Feb 2023 06:48:34 -0800 (PST) Date: Thu, 23 Feb 2023 06:48:34 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000006afabd05f55f1b51@google.com> Subject: [syzbot] [alsa?] kernel BUG in __vunmap From: syzbot To: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, perex@perex.cz, syzkaller-bugs@googlegroups.com, tiwai@suse.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: a5541c0811a0 Merge branch 'for-next/core' into for-kernelci git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=12b4018b880000 kernel config: https://syzkaller.appspot.com/x/.config?x=cbd4e584773e9397 dashboard link: https://syzkaller.appspot.com/bug?extid=656c0cde55a9d107a76f compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/4b7702208fb9/disk-a5541c08.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/9ec0153ec051/vmlinux-a5541c08.xz kernel image: https://storage.googleapis.com/syzbot-assets/6f8725ad290a/Image-a5541c08.gz.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+656c0cde55a9d107a76f@syzkaller.appspotmail.com ------------[ cut here ]------------ kernel BUG at mm/vmalloc.c:2707! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 9210 Comm: syz-executor.0 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __vunmap+0x488/0x4cc mm/vmalloc.c:2707 lr : __vunmap+0x488/0x4cc mm/vmalloc.c:2707 sp : ffff800013d73ba0 x29: ffff800013d73bb0 x28: 00000000000c0002 x27: 0000000000002000 x26: ffff0000c5a44d68 x25: ffff0000c6a14080 x24: ffff00012b5ed000 x23: 0000000000000001 x22: 0000000000000200 x21: 0000000000000000 x20: ffff80000cbdd3b4 x19: ffff0001268cfa00 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80000dbe6158 x15: ffff000114e01a40 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: ff808000084b647c x10: 0000000000000000 x9 : ffff8000084b647c x8 : ffff000114e01a40 x7 : ffff8000084bf4d4 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : ffff80000cbaae40 x0 : 0000000000000000 Call trace: __vunmap+0x488/0x4cc mm/vmalloc.c:2707 __vfree mm/vmalloc.c:2761 [inline] vfree+0xb0/0xfc mm/vmalloc.c:2792 snd_dma_vmalloc_free+0x20/0x30 sound/core/memalloc.c:356 snd_dma_free_pages+0x84/0xc0 sound/core/memalloc.c:127 do_free_pages sound/core/pcm_memory.c:65 [inline] snd_pcm_lib_free_pages+0xa0/0x12c sound/core/pcm_memory.c:471 do_hw_free sound/core/pcm_native.c:876 [inline] snd_pcm_release_substream+0x15c/0x1dc sound/core/pcm_native.c:2705 snd_pcm_oss_release_file sound/core/oss/pcm_oss.c:2413 [inline] snd_pcm_oss_release+0x98/0x130 sound/core/oss/pcm_oss.c:2592 __fput+0x198/0x3e4 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x100/0x148 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: 17ffff1f 97f7c16d 17ffff18 97f7c16b (d4210000) ---[ end trace 0000000000000000 ]--- --- 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.