Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp213949lfu; Wed, 30 Mar 2022 21:17:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6Si9L58xdN+AzTLyr2SYnSjhVEuBPBdoqhlWgRppxltdsiCMaZE0t4nW+4071sORhx4AF X-Received: by 2002:a17:90b:33cd:b0:1c6:5db5:5ff9 with SMTP id lk13-20020a17090b33cd00b001c65db55ff9mr3825136pjb.197.1648700239363; Wed, 30 Mar 2022 21:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648700239; cv=none; d=google.com; s=arc-20160816; b=vweBUZWW42syIUtNgw/LwIHWuW5nz5wN8+UlgpGzOJUdn7prypfmK0EB+lVe3vNyAH dEhIr1QIYaWaNEPweKhR0vzCQ91u65gJzbN3PiLzzs5UzmBHKxNg0WNwDcy9OJ6ptn7Z /1RGBM6/Rj6k9vonUkOacTuVGuUH/2Ue1YkPjk0ayIVM9Ljt0BdAvoBRT3YOHjv9ViA7 Fxk7oizO0uA1h6M+2iPmXIdMECa83Kia9RklYJ8UN9aYI2EXUM/MIRoT6jBftQAwrfEV Gce4uqQrevTy0lyA2l1iAkfb7qwX/TtVQMDcXiTIh6tBBvXjC8dCJDVBnIwPiDo2Rtq7 H7wQ== 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=PH06CLYLNtDuJaUnGCG4ZMntweeLF8hwfojOH0wrh9c=; b=D+Muhl2tdF4YXA8wgJuHFK4mRbAzPw6xtfhPsSEtX7/OvP1acrw7SQF8i014S2dG6C NOJ8Ue+fVwKoDwLHQUebQoV1iYp3YyEk+rz3XxVOANgf5nrBVXo7aL+p27QvRCXzWRDZ lUtSGmpEqHCQXG0ROCSUbg/Wp1gJrbfh1vqZ4xKbtX0VcwyWNecEX+CgFncNiGFHPnsy gZ6lK7eG0RTwTMSgNuD86K1EJN5ct5gbEfKurM+jakkFxm2AgsoU3XcLoU7v8FwoDD2U kQyPuUoqK5zeBx8Xx5NZYst+OJnCXHdkUPYjYY6H7t11xRpXifr34Z5XLqhTp+VTTBYS RBlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d3-20020a170902cec300b00153c1012914si24165943plg.181.2022.03.30.21.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 21:17:19 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 53E4ED4C9A; Wed, 30 Mar 2022 20:13:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349372AbiC3RjK (ORCPT + 99 others); Wed, 30 Mar 2022 13:39:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241526AbiC3RjI (ORCPT ); Wed, 30 Mar 2022 13:39:08 -0400 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0022C6837 for ; Wed, 30 Mar 2022 10:37:22 -0700 (PDT) Received: by mail-io1-f72.google.com with SMTP id z16-20020a05660217d000b006461c7cbee3so14842905iox.21 for ; Wed, 30 Mar 2022 10:37:22 -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=PH06CLYLNtDuJaUnGCG4ZMntweeLF8hwfojOH0wrh9c=; b=YKeClPRUzGBH4jl/QF+vSI6Ptx6GO9w48tVXIjqsdYN1V8GkiAXlP4bP/w7vvK4RZE fYEful42SPI6vukGpfYXLiahReZCRA+rYWsKyyubtsGHr+NP/yAjhVIgsP3lhoUMt/JC ZjrW/+FEmpJ0OKeYKLoOEzpjlS1VzSnJ9iSShBMIskX56IBNPy9H1ceAWoC/3V5+ZcBA zPkDzS7XogHQ7OEXLOu/hdLuLwWDnV91M0LXhOFfEIM7SMT36DRwSdDPZr0LEDiDBXXV sxGA66JsAQBqk+St0ieuMQJ7zqZKuVnHpb7femoPwZYqtPvX9Q+9TjsswOLAYA9mBy5x R1sQ== X-Gm-Message-State: AOAM533P0nKwYkywLjr/2c9PYPyzdpSp2NYmMxh+3TyrevbY5Rn2Ewlx QxCnlJIIDL2rb9N2emfbffc5FmE94HG3m4elSsFXMSjuj7LV MIME-Version: 1.0 X-Received: by 2002:a05:6602:2c4e:b0:648:c654:fb0c with SMTP id x14-20020a0566022c4e00b00648c654fb0cmr12553577iov.137.1648661842190; Wed, 30 Mar 2022 10:37:22 -0700 (PDT) Date: Wed, 30 Mar 2022 10:37:22 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000007564ac05db72ff58@google.com> Subject: [syzbot] BUG: scheduling while atomic in simple_recursive_removal 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.9 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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: d888c83fcec7 fs: fix fd table size alignment properly git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=103e7b53700000 kernel config: https://syzkaller.appspot.com/x/.config?x=cadd7063134e07bc dashboard link: https://syzkaller.appspot.com/bug?extid=2778a29e60b4982065a0 compiler: aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 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+2778a29e60b4982065a0@syzkaller.appspotmail.com BUG: scheduling while atomic: syz-executor.0/2197/0x00000101 Modules linked in: CPU: 0 PID: 2197 Comm: syz-executor.0 Not tainted 5.17.0-syzkaller-13034-gd888c83fcec7 #0 Hardware name: linux,dummy-virt (DT) Call trace: dump_backtrace.part.0+0xcc/0xe0 arch/arm64/kernel/stacktrace.c:184 dump_backtrace arch/arm64/kernel/stacktrace.c:190 [inline] show_stack+0x18/0x6c arch/arm64/kernel/stacktrace.c:191 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x68/0x84 lib/dump_stack.c:106 dump_stack+0x18/0x34 lib/dump_stack.c:113 __schedule_bug+0x60/0x80 kernel/sched/core.c:5617 schedule_debug kernel/sched/core.c:5644 [inline] __schedule+0x74c/0x7f0 kernel/sched/core.c:6273 schedule+0x54/0xd0 kernel/sched/core.c:6454 rwsem_down_write_slowpath+0x29c/0x5a0 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write_common kernel/locking/rwsem.c:1256 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x58/0x64 kernel/locking/rwsem.c:1515 inode_lock include/linux/fs.h:777 [inline] simple_recursive_removal+0x124/0x270 fs/libfs.c:288 debugfs_remove fs/debugfs/inode.c:742 [inline] debugfs_remove+0x5c/0x80 fs/debugfs/inode.c:736 blk_release_queue+0x7c/0xf0 block/blk-sysfs.c:784 kobject_cleanup lib/kobject.c:705 [inline] kobject_release lib/kobject.c:736 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x98/0x114 lib/kobject.c:753 blk_put_queue+0x14/0x20 block/blk-core.c:270 blkg_free.part.0+0x54/0x80 block/blk-cgroup.c:86 blkg_free block/blk-cgroup.c:78 [inline] __blkg_release+0x44/0x70 block/blk-cgroup.c:102 rcu_do_batch kernel/rcu/tree.c:2535 [inline] rcu_core+0x324/0x590 kernel/rcu/tree.c:2786 rcu_core_si+0x10/0x20 kernel/rcu/tree.c:2803 _stext+0x124/0x2a0 do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] invoke_softirq kernel/softirq.c:439 [inline] __irq_exit_rcu+0xe4/0x100 kernel/softirq.c:637 irq_exit_rcu+0x10/0x1c kernel/softirq.c:649 __el1_irq arch/arm64/kernel/entry-common.c:459 [inline] el1_interrupt+0x38/0x64 arch/arm64/kernel/entry-common.c:473 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:478 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577 walk_stackframe arch/arm64/kernel/stacktrace.c:153 [inline] arch_stack_walk+0x68/0x280 arch/arm64/kernel/stacktrace.c:211 stack_trace_save+0x50/0x80 kernel/stacktrace.c:122 kasan_save_stack+0x2c/0x5c mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] ____kasan_kmalloc mm/kasan/common.c:515 [inline] ____kasan_kmalloc mm/kasan/common.c:474 [inline] __kasan_kmalloc+0xb0/0xd0 mm/kasan/common.c:524 kasan_kmalloc include/linux/kasan.h:234 [inline] kmem_cache_alloc_node_trace include/linux/slab.h:488 [inline] kmalloc_node include/linux/slab.h:599 [inline] kzalloc_node include/linux/slab.h:725 [inline] __get_vm_area_node.constprop.0+0xf8/0x224 mm/vmalloc.c:2459 __vmalloc_node_range+0xa4/0x5c0 mm/vmalloc.c:3132 __vmalloc_node mm/vmalloc.c:3237 [inline] vzalloc+0x74/0x90 mm/vmalloc.c:3307 do_ip6t_get_ctl+0x290/0x4d0 net/ipv6/netfilter/ip6_tables.c:817 nf_getsockopt+0x60/0x8c net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x140/0x1c4 net/ipv6/ipv6_sockglue.c:1504 tcp_getsockopt+0x20/0x50 net/ipv4/tcp.c:4295 sock_common_getsockopt+0x1c/0x30 net/core/sock.c:3478 __sys_getsockopt+0xa4/0x214 net/socket.c:2224 __do_sys_getsockopt net/socket.c:2239 [inline] __se_sys_getsockopt net/socket.c:2236 [inline] __arm64_sys_getsockopt+0x28/0x3c net/socket.c:2236 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x48/0x114 arch/arm64/kernel/syscall.c:52 el0_svc_common.constprop.0+0x44/0xec arch/arm64/kernel/syscall.c:142 do_el0_svc+0x6c/0x84 arch/arm64/kernel/syscall.c:181 el0_svc+0x44/0xb0 arch/arm64/kernel/entry-common.c:616 el0t_64_sync_handler+0x1a4/0x1b0 arch/arm64/kernel/entry-common.c:634 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:581 --- 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.