Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3157991rwb; Sat, 8 Oct 2022 23:20:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6LKvr2pC+XVVGLryMJJ//CnsW6Qz2frac2FT3T84WjonaiQ7iwIz5CeIquSEj0q9CR3+Nr X-Received: by 2002:a17:902:d512:b0:181:f1f4:fcb4 with SMTP id b18-20020a170902d51200b00181f1f4fcb4mr1522141plg.102.1665296449817; Sat, 08 Oct 2022 23:20:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665296449; cv=none; d=google.com; s=arc-20160816; b=B42H2Fmi7O7YgFtz3+Znj/oTYOvX1NuetRuBM0LWgOTbxy5lawcewsSI5OET3/3CEz RRatYsayOYgJ6EOxcr8Q0zhvRpfZ4BdFBifE+TXODiufFRYKqJcM9DOFHzOt9MQxVEFF 0wk99+p6lHeRvhgjpiahDHIqlya7HN9wScBmKpc5tcck/sV75/unWdzkc6oaSx2vySU9 t4tmWKpUBK0Fs+N2jS6b05n3Zb7yLyxNuXVZskPfWNVgXBSuVDiwwVTQF3/UaJs9UFHf ohYoKTehZrGehrOxzSJY90PskErzmFl7i8jlbDXIsox3qLhrK/GF4UzBqwVU/LCo5zEc tAnw== 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=1e49F6pdV+AWMuuc3KbRnlfX9XsIRyk9pFi0eLPFLzI=; b=SaQJ3Fjsi4PVfZAroZkFgozJxRyQq09M94wYO9Kpqrs8C4LYWgBb32IQTYuRj6HWms jovBPXMsCY61EUkFUpI0TUa+xtou1JgTSnOtH9TasBHkITqYnbW8qI2pMi7N8bPja/U7 8Yn51LO3phiu195YNWwW4izPSEfO4OK/mmKUzJWobckgQVPVL+mCYJAx/r1wrMx/C0Gg xpSnUgYrJRZv8ERBNuHtUl534ZOvzwHXPEhIPH/prhTz3H3R9vT44cWdeU9DqfZDOHDP ja+rT9x9RGACTP4ynuN0/fq4HF67Yc300/NauqPf1153+Emkrfcdgfa9bXSEA8KVewkb w2NQ== 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 nl8-20020a17090b384800b0020adba9ec02si14544287pjb.82.2022.10.08.23.20.37; Sat, 08 Oct 2022 23:20:49 -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 S229843AbiJIFzn (ORCPT + 99 others); Sun, 9 Oct 2022 01:55:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbiJIFzk (ORCPT ); Sun, 9 Oct 2022 01:55:40 -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 69CA12F02E for ; Sat, 8 Oct 2022 22:55:35 -0700 (PDT) Received: by mail-il1-f198.google.com with SMTP id l18-20020a056e02067200b002f6af976994so6674386ilt.16 for ; Sat, 08 Oct 2022 22:55:35 -0700 (PDT) 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=1e49F6pdV+AWMuuc3KbRnlfX9XsIRyk9pFi0eLPFLzI=; b=EaiIQHnHLyfQiT4DUT5UJiYxaaio/OLZPBJee2F1sVoj0/wxb+7CQG2lyJZkM1fjFV iHUWJGlSPA7FJRkInhkcuSCm2JjeffcjFiTAAK1jluT0l107YmpVl5uDVFzKO8HMi+26 pETPksdkqHorU3eRGniOmVTCpgctJaKkGo9FQumagmIFHRkEwRZchzGYNG4clGgefIXq Uw/JPP+CRDMP0GbZZZo3ax42zfQbM8WAwwx0eab3cDa0hSjkjHXBAz1aBarLiyZku6rB cZj0JNKRn17ydB3U83wu9fKHb6dUdwVJxyAnCroFyFH9DB6PC06jDLtlEBL4WoCGY6hf D25w== X-Gm-Message-State: ACrzQf3Gl8rEhoqO1bHI1nXTPKZTGXFkGNqoKThPXrI5FF5iQXVWedSZ CqQlFIZljN9KMyNDwYTQvuVFA9RwsC+Lk2A13iU+iV6Kfn99 MIME-Version: 1.0 X-Received: by 2002:a05:6602:1592:b0:6a2:1feb:4809 with SMTP id e18-20020a056602159200b006a21feb4809mr5943533iow.214.1665294934647; Sat, 08 Oct 2022 22:55:34 -0700 (PDT) Date: Sat, 08 Oct 2022 22:55:34 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000006aa2405ea93b166@google.com> Subject: [syzbot] BUG: scheduling while atomic in exit_to_user_mode_loop From: syzbot To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk 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: 0326074ff465 Merge tag 'net-next-6.1' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15b1382a880000 kernel config: https://syzkaller.appspot.com/x/.config?x=d323d85b1f8a4ed7 dashboard link: https://syzkaller.appspot.com/bug?extid=cceb1394467dba9c62d9 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1755e8b2880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/c40d70ae7512/disk-0326074f.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/3603ce065271/vmlinux-0326074f.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/738016e3c6ba/mount_1.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+cceb1394467dba9c62d9@syzkaller.appspotmail.com ntfs3: loop2: Different NTFS' sector size (1024) and media sector size (512) BUG: scheduling while atomic: syz-executor.2/9901/0x00000002 2 locks held by syz-executor.2/9901: #0: ffff888075f880e0 (&type->s_umount_key#47/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 #1: ffff8880678e78f0 (&sb->s_type->i_lock_key#33){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline] #1: ffff8880678e78f0 (&sb->s_type->i_lock_key#33){+.+.}-{2:2}, at: _atomic_dec_and_lock+0x9d/0x110 lib/dec_and_lock.c:28 Modules linked in: Preemption disabled at: [<0000000000000000>] 0x0 Kernel panic - not syncing: scheduling while atomic CPU: 1 PID: 9901 Comm: syz-executor.2 Not tainted 6.0.0-syzkaller-02734-g0326074ff465 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 panic+0x2d6/0x715 kernel/panic.c:274 __schedule_bug+0x1ff/0x250 kernel/sched/core.c:5725 schedule_debug+0x1d3/0x3c0 kernel/sched/core.c:5754 __schedule+0xfb/0xdf0 kernel/sched/core.c:6389 schedule+0xcb/0x190 kernel/sched/core.c:6571 exit_to_user_mode_loop+0xe5/0x150 kernel/entry/common.c:157 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:201 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:307 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 000f:lock_acquire+0x1e1/0x3c0 RSP: 0018:ffffc9000563f900 EFLAGS: 00000206 RAX: 1ffff92000ac7f28 RBX: 0000000000000001 RCX: ffff8880753be2f0 RDX: dffffc0000000000 RSI: ffffffff8a8d9060 RDI: ffffffff8aecb5e0 RBP: ffffc9000563fa28 R08: dffffc0000000000 R09: fffffbfff1fc4229 R10: fffffbfff1fc4229 R11: 1ffffffff1fc4228 R12: dffffc0000000000 R13: 1ffff92000ac7f24 R14: ffffc9000563f940 R15: 0000000000000246 Kernel Offset: disabled Rebooting in 86400 seconds.. --- 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