From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C79838D011 for ; Tue, 18 Aug 2026 08:24:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787041499; cv=none; b=JfsiYIaoJjhWHADEvx/JiiUGKtd96cjwLLQS74u4OMB31NwRYmF8aNlnaeSmcxF3qeRZ/RT4iKOpZctK5Cxze3wda1Q2xp42CVPRyU5C+01sIvJPNZnU3DpyOCFr5S8FkAF4VWc/NsP8gmdvY1NGOdtr3jOSOWgQSUpMwyusU7A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787041499; c=relaxed/simple; bh=UMr1CLopxxuJm7wYCh2Fq3SXhAnNT3ZAigk8SIR7qkA=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To:Cc: Content-Type; b=Evlpe4xnhol04+fElT0whK+x8Pco0BY3kNb1uxthyHKC0PlN9ne9SWFixNQK6kbp9Sw+wZy8obqPVKyhGYS79OgIioGl/Z+VvfX3BIhXo6Dx5hMq0eGJIuBbhiIZmfeaFO5NofsuRgpMcsmMPhknc9K2uS4Kp8r0GH8NODAOL64= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.161.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oo1-f69.google.com with SMTP id 006d021491bc7-6a17baa4d18so1773765eaf.1 for ; Tue, 18 Aug 2026 01:24:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787041497; x=1787646297; h=content-type:cc:to:from:subject:message-id:in-reply-to:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=O58fmBB+gdrGTSPuDeyTUQq/CrJ5CHQIBvvW90VjttQ=; b=AhWvIqAEZJyNQuoMutHGMabQ1qZjVMw9LBOFmLbRxhmBCSG5m2eQd3rfsHfEB95ohK AgglK/1EGkUqQ8sW8G94NCjICyfgc23a/jjxPQcgKfLcpv3OXmnEjN9oOp3RErN02Wr3 Gu/LO2vslqwwFwqERc7IHmV0i65t5xU2pgXiNBYnnySaWXeNaffEaIorA/ga4i1Oyuxl PI6Nbp/vIZqygXgTCNUQbL94tR7iRxi68h3lzstnlu/qN4wP0MWS+H/T0Kf94Kb0GrPe pJKBbP1VpONkC9PnPEcLWcpBBKpCpApQKMMOknjBj1t0COnGp78ydVKvRAOyPU61ggY0 vnKg== X-Gm-Message-State: AOJu0YyCyJ1ujaq+EL8ZwYWay5lR5jVMc0PcyGWS9BQqkN3P90DO6xld 0/hUJajFIsBFWDYaS0PXHqbai0lrs8ed9uOgia1fTeoky58yWe0bYgWbJRh55BpcvD5IravBC6x PuVtyogXY3/EPkzR9Kp2FLMIpYWc3Ygil+T+RbY6ETFtwNiTRWnomK4+1+e0= Precedence: bulk X-Mailing-List: syzbot@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:1c8a:b0:6b0:f389:da5a with SMTP id 006d021491bc7-6b11dd3244amr5374544eaf.8.1787041497264; Tue, 18 Aug 2026 01:24:57 -0700 (PDT) Date: Tue, 18 Aug 2026 01:24:57 -0700 In-Reply-To: <20260818023121.100613-1-liuqiqi@kylinos.cn> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a8416d9.f7a79266.2f965f.0033.GAE@google.com> Subject: [syzbot ci] Re: mm/memcontrol: introduce per-tier memory accounting and control From: syzbot ci To: akpm@linux-foundation.org, cgroups@vger.kernel.org, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, liuqiqi@kylinos.cn, mhocko@kernel.org, mkoutny@suse.com, muchun.song@linux.dev, roman.gushchin@linux.dev, shakeel.butt@linux.dev, tj@kernel.org Cc: syzbot@lists.linux.dev, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" syzbot ci has tested the following series [v1] mm/memcontrol: introduce per-tier memory accounting and control https://lore.kernel.org/all/20260818023121.100613-1-liuqiqi@kylinos.cn * [RFC PATCH 1/8] mm/memory-tiers: add node_to_tier_id and tier_id_to_nodemask * [RFC PATCH 2/8] mm/vmscan: add try_to_free_mem_cgroup_pages_nodemask * [RFC PATCH 3/8] mm/memcontrol: add per-tier page counter infrastructure and lifecycle * [RFC PATCH 4/8] mm/memcontrol: add per-tier charge and uncharge * [RFC PATCH 5/8] mm/memcontrol: add per-cpu stock for tier charge/uncharge * [RFC PATCH 6/8] mm/memcontrol: add memory.tier control file * [RFC PATCH 7/8] mm/memcontrol: auto-derive tier high/max from memory.high/max * [RFC PATCH 8/8] cgroup: add memory_tiered_limits cgroup mount option and found the following issue: WARNING in uncharge_folio Full report is available here: https://ci.syzbot.org/series/9db711d8-d389-45d1-b245-7e8b316a8432 *** WARNING in uncharge_folio tree: torvalds URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux base: dcacab904fe78d60840ba947a104993ee9ded887 arch: amd64 compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 config: https://ci.syzbot.org/builds/bf213e6f-1b40-41fa-a938-385807688eec/config ------------[ cut here ]------------ debug_locks && !(rcu_read_lock_held() || lock_is_held(&(&cgroup_mutex)->dep_map)) WARNING: ./include/linux/memcontrol.h:391 at uncharge_folio+0x459/0x5b0, CPU#1: udevd/5681 Modules linked in: CPU: 1 UID: 0 PID: 5681 Comm: udevd Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:uncharge_folio+0x459/0x5b0 Code: c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 8b 3c 24 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d e9 88 79 00 00 90 <0f> 0b 90 e9 c9 fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 49 fc RSP: 0018:ffffc90004ff7210 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc90004ff72a0 RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8e4a6d0d RDI: ffffffff8c4bb280 RBP: ffffc90004ff72a8 R08: ffffea0006e7a7c7 R09: 1ffffd4000dcf4f8 R10: dffffc0000000000 R11: fffff94000dcf4f9 R12: ffffea0006e7a7f8 R13: 1ffffd4000dcf4f8 R14: 0000000000000001 R15: ffffea0006e7a7c0 FS: 00007f1ec7ce0c80(0000) GS:ffff8882a8f6a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0cdf670000 CR3: 000000017358a000 CR4: 00000000000006f0 Call Trace: __mem_cgroup_uncharge_folios+0xfd/0x1d0 folio_batch_move_lru+0x86f/0xa60 lru_add_drain_cpu+0xbc/0x750 lru_add_drain+0x121/0x3e0 __folio_batch_release+0x48/0x90 shmem_undo_range+0x4e6/0x15d0 shmem_evict_inode+0x280/0xa80 evict+0x624/0xb50 dentry_kill+0x1b9/0x880 finish_dput+0x1a/0x260 filename_renameat2+0x61b/0x9a0 __se_sys_rename+0x55/0x2c0 do_syscall_64+0x174/0x580 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1ec789a93b Code: 48 8b 15 f0 64 15 00 83 c8 ff 64 83 3a 15 75 0e 48 8b 7c 24 08 e8 d5 d4 07 00 f7 d8 19 c0 48 83 c4 18 c3 b8 52 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 be 64 15 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffcb336cd08 EFLAGS: 00000202 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1ec789a93b RDX: 0000558c622ea032 RSI: 00007ffcb336cd28 RDI: 00007ffcb336d128 RBP: 000055893abc0910 R08: 0000000000000006 R09: f80f8ce6f311cb22 R10: 00000000000001b6 R11: 0000000000000202 R12: 000055893aba2730 R13: 00007ffcb336cd28 R14: 00007ffcb336d128 R15: 0000558926efb160 *** If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message: Tested-by: syzbot@syzkaller.appspotmail.com --- This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at syzkaller@googlegroups.com. To test a fix for this bug, please reply with `#syz test` (on a separate line) and attach the patch to the email. Notes: - The patch will be applied on top of the tested series (as an incremental fix). - To test a new version of the whole series, please send it directly to syzbot@lists.linux.dev. - Arguments like custom git repos and branches are not supported.