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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51AA6EF5866 for ; Sun, 8 Mar 2026 12:42:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:To:From:Message-ID:In-Reply-To:Date:MIME-Version:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:References:List-Owner; bh=OGV+m3c7UaqixVB72kuOB++9hho7PUU9KEFgxR+m3y4=; b=G4Ff6Vax5QaNuPGo/8uiXs5nXU SqVCv0JLG9d6bSJprRqFNbZ5kE+Kcu54oyFwxdVNwNtcLoh59Lf+Hv0bP4u5np2kaCn37GyaldidR MPks7q7pfDTC6oizack7Gv5ZGQK92nAAUIT8eFbc7RbhQX32lIfCS1BwrjYirJXympRY=; Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vzDSY-0006uH-8C; Sun, 08 Mar 2026 12:42:15 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <3mm6taQkbAIEx34pfqqjwfuuni.lttlqjzxjwhtsyjsy.htr@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com>) id 1vzDSW-0006u3-VQ for linux-f2fs-devel@lists.sourceforge.net; Sun, 08 Mar 2026 12:42:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:From:Subject:Message-ID:In-Reply-To :Date:MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wXpCrHnBOzbrjuCa4snuHa6G2PuKQUzS5Cx3HuD89MU=; b=HMZ1GuSgREIpyqC9hi9KOSKE4c 7c5I94NsgsvjeWrKeSO6XN0MNX73JqznCZ/d5ndrMok78F2NEBktdWOHz3iCOwy1PLHT41PkooWiF MrF38ex9pUwXLrq1zZinPvvqLI+CgXJzUW0wKjo2Zw84dD+BscJJRZnK1Q3gy/W/NKpM=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:To:From:Subject:Message-ID:In-Reply-To:Date:MIME-Version: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=wXpCrHnBOzbrjuCa4snuHa6G2PuKQUzS5Cx3HuD89MU=; b=m Q1+ZPbch4O0M/lGKz/5eME9iz7jEWdhqj5VnKR86vBSdJegZ8C2SPLCR749A/NXt7IK1lkc36WbnN NRdCmtpusXB5x9O/tx7Lwd0q3rmluuBBZStM4ok7xT8Y2/DQCJJVQAAY1FGXSmgoqob7fR7xb5BzH Iyezlsz2BLcIyn/U=; Received: from mail-oa1-f71.google.com ([209.85.160.71]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.95) id 1vzDSX-0007RA-2j for linux-f2fs-devel@lists.sourceforge.net; Sun, 08 Mar 2026 12:42:13 +0000 Received: by mail-oa1-f71.google.com with SMTP id 586e51a60fabf-41701418411so10402856fac.1 for ; Sun, 08 Mar 2026 05:42:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772973722; x=1773578522; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wXpCrHnBOzbrjuCa4snuHa6G2PuKQUzS5Cx3HuD89MU=; b=GZy08LiKesuiFFLTQpL6i32LM/lRDMebZuZ5jkKOy+EwHy8qO9u63wmKxIK9mHtxdV sSJE8TSSsaJOibxft4CF9t6GLF43SEO55Lt6auXzdO+xMU04cVisHV3hWdvNoA3NcTPT tvcSLIv5G3m7btc1erkbVGRer/PIDcNNeS51Qrhpv36+fVCnmrJZZJLRxaR3g5ZovpP6 +/toW/rSxox7y9L313Fza3uCzAO6XGNztPnv0Agy/an9uttNugNgtlHvGwgDKLBZapOg LyXk02lVnRKuLp3PkFKAxmfiiaCWRSwmiuwoAX9dyf9xbGEyUbTDBr5sGlKP126jd5Hd Lm8g== X-Forwarded-Encrypted: i=1; AJvYcCU/24ffotfl2BCAQHMNWOnw+IGvTKVSymcvJ8YP1b4Jy/Lyau36K318Xr6WlIET0W4Jnep9OWNwMELgf07qXPqC@lists.sourceforge.net X-Gm-Message-State: AOJu0Yy2L0YeNNwlHRluS9HvnS0A8HY9s758i2MToZEGOJBMSC+zhlLM kbvNtaq2vRSC3Niy/AoZoP1hU/RpgOo7cqhEzVHdVcHwbYuEKq3XmFGgCnNOgBMC4XmVby9vyIV CL2h2Lh0wQpUhfMRTvCxjUq0XM+fDk+mPMVFa179u+zvNb1evsR7qKBPrLlk= MIME-Version: 1.0 X-Received: by 2002:a05:6820:2188:b0:679:ea08:8fd6 with SMTP id 006d021491bc7-67b9bd22c94mr5375108eaf.46.1772973722411; Sun, 08 Mar 2026 05:42:02 -0700 (PDT) Date: Sun, 08 Mar 2026 05:42:02 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69ad6e9a.050a0220.310d8.000b.GAE@google.com> From: syzbot To: akpm@linux-foundation.org, catalin.marinas@arm.com, chao@kernel.org, hao.li@linux.dev, harry.yoo@oracle.com, jaegeuk@kernel.org, jannh@google.com, liam.howlett@oracle.com, linkinjeon@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, lorenzo.stoakes@oracle.com, pfalcato@suse.de, sj1557.seo@samsung.com, syzkaller-bugs@googlegroups.com, vbabka@kernel.org, vbabka@suse.cz, wangqing7171@gmail.com X-Headers-End: 1vzDSX-0007RA-2j Subject: Re: [f2fs-dev] [syzbot] [mm?] [f2fs?] [exfat?] memory leak in __kfree_rcu_sheaf X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: memory leak in __pcs_replace_empty_main BUG: memory leak unreferenced object 0xffff88810005f800 (size 512): comm "swapper/0", pid 0, jiffies 4294937296 hex dump (first 32 bytes): 00 2a 90 00 81 88 ff ff 00 94 30 29 81 88 ff ff .*........0).... 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc a3e5799): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] alloc_full_sheaf mm/slub.c:2834 [inline] __pcs_replace_empty_main+0x1d2/0x260 mm/slub.c:4629 alloc_from_pcs mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:4854 [inline] __kmalloc_cache_noprof+0x3ac/0x480 mm/slub.c:5378 kmalloc_noprof include/linux/slab.h:950 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __irq_domain_alloc_fwnode+0x37/0x140 kernel/irq/irqdomain.c:95 irq_domain_alloc_named_fwnode include/linux/irqdomain.h:271 [inline] arch_early_irq_init+0x1c/0x70 arch/x86/kernel/apic/vector.c:803 start_kernel+0x931/0xb80 init/main.c:1114 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0xce/0xd0 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x148 BUG: memory leak unreferenced object 0xffff8881008f6c00 (size 512): comm "kthreadd", pid 2, jiffies 4294937344 hex dump (first 32 bytes): 00 94 30 29 81 88 ff ff 00 d6 de 0b 81 88 ff ff ..0)............ 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc 9181eca5): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] alloc_full_sheaf mm/slub.c:2834 [inline] __pcs_replace_empty_main+0x1d2/0x260 mm/slub.c:4629 alloc_from_pcs mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:4854 [inline] __kmalloc_cache_node_noprof+0x3ef/0x4e0 mm/slub.c:5391 kmalloc_node_noprof include/linux/slab.h:1077 [inline] __get_vm_area_node+0xc6/0x1d0 mm/vmalloc.c:3221 __vmalloc_node_range_noprof+0x1d3/0xe50 mm/vmalloc.c:4024 __vmalloc_node_noprof+0x71/0x90 mm/vmalloc.c:4124 alloc_thread_stack_node kernel/fork.c:355 [inline] dup_task_struct kernel/fork.c:924 [inline] copy_process+0x3e5/0x28c0 kernel/fork.c:2050 kernel_clone+0xac/0x6e0 kernel/fork.c:2654 kernel_thread+0x80/0xb0 kernel/fork.c:2715 create_kthread kernel/kthread.c:459 [inline] kthreadd+0x186/0x250 kernel/kthread.c:817 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff8881008fd600 (size 512): comm "kworker/u8:6", pid 223, jiffies 4294937434 hex dump (first 32 bytes): 00 c6 8f 00 81 88 ff ff d8 2c 04 00 81 88 ff ff .........,...... 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc 33698a2f): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5725 free_to_pcs mm/slub.c:5778 [inline] slab_free mm/slub.c:6173 [inline] kfree+0x352/0x390 mm/slub.c:6486 call_usermodehelper_freeinfo kernel/umh.c:43 [inline] umh_complete kernel/umh.c:57 [inline] call_usermodehelper_exec_async+0x1c7/0x1f0 kernel/umh.c:119 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff8881008fc600 (size 512): comm "kworker/0:1", pid 10, jiffies 4294937441 hex dump (first 32 bytes): 00 1a 39 10 81 88 ff ff 00 d6 8f 00 81 88 ff ff ..9............. 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc fca1c70a): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5725 free_to_pcs mm/slub.c:5778 [inline] slab_free mm/slub.c:6173 [inline] kfree+0x352/0x390 mm/slub.c:6486 vfree.part.0+0x1d5/0x4d0 mm/vmalloc.c:3485 vfree mm/vmalloc.c:3456 [inline] delayed_vfree_work+0x5b/0x90 mm/vmalloc.c:3398 process_one_work+0x26c/0x5d0 kernel/workqueue.c:3275 process_scheduled_works kernel/workqueue.c:3358 [inline] worker_thread+0x243/0x490 kernel/workqueue.c:3439 kthread+0x14e/0x1a0 kernel/kthread.c:436 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff888100902a00 (size 512): comm "kworker/0:1", pid 10, jiffies 4294937448 hex dump (first 32 bytes): 00 c4 58 09 81 88 ff ff 00 f8 05 00 81 88 ff ff ..X............. 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc 8a5f0c0d): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5725 free_to_pcs mm/slub.c:5778 [inline] slab_free mm/slub.c:6173 [inline] kfree+0x352/0x390 mm/slub.c:6486 vfree.part.0+0x1d5/0x4d0 mm/vmalloc.c:3485 vfree mm/vmalloc.c:3456 [inline] delayed_vfree_work+0x5b/0x90 mm/vmalloc.c:3398 process_one_work+0x26c/0x5d0 kernel/workqueue.c:3275 process_scheduled_works kernel/workqueue.c:3358 [inline] worker_thread+0x243/0x490 kernel/workqueue.c:3439 kthread+0x14e/0x1a0 kernel/kthread.c:436 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff88810958c400 (size 512): comm "kworker/u8:5", pid 4599, jiffies 4294937964 hex dump (first 32 bytes): 00 4c 6a 12 81 88 ff ff 00 2a 90 00 81 88 ff ff .Lj......*...... 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc 45e572cd): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5725 free_to_pcs mm/slub.c:5778 [inline] slab_free mm/slub.c:6173 [inline] kfree+0x352/0x390 mm/slub.c:6486 call_usermodehelper_freeinfo kernel/umh.c:43 [inline] umh_complete kernel/umh.c:57 [inline] call_usermodehelper_exec_async+0x1c7/0x1f0 kernel/umh.c:119 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF Tested on: commit: c23719ab Merge tag 'x86-urgent-2026-03-08' of git://gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10027054580000 kernel config: https://syzkaller.appspot.com/x/.config?x=2c6ad6fefffa76b1 dashboard link: https://syzkaller.appspot.com/bug?extid=cae7809e9dc1459e4e63 compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 patch: https://syzkaller.appspot.com/x/patch.diff?x=17682a02580000 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel 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 6A10F36EAB4 for ; Sun, 8 Mar 2026 12:42:03 +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=1772973725; cv=none; b=RdvsmS+ph84/sZYX9b2O1H+dAcjg1qJGozEt+ZungbknX0k5lM9jeO10c7sXN2jSaCxMDsLYYcOUm5gLR5R6ll9mxLycGT2ih9ii23JHKTeJazXadFBZJGfmQQZHB6u0/LneYInv0Z0RhDAva2PNdgpJEHf3j0xFqijxUXEEIYw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772973725; c=relaxed/simple; bh=Sqs7NHy+sDrFJgz9QBwbg2J3Wwb6vs/7KRWJDimDz68=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=mjRzdoJlQ0LrdBCuL/2KvGXZj8Q5LMMBiBpaJpJP37l1v4VxH8RLUPSbLINfw0/yTGteeCXz3lZwLpRF4KEVRNGchQRsEEo9aIP0LCKKp7P59kzvomKxrpHSu/fOz/4LveLwC6qRE9r7Ary6yzRX8BMK8dGXWtTT7mrgOqawiI8= 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-672c40f3873so181334211eaf.2 for ; Sun, 08 Mar 2026 05:42:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772973722; x=1773578522; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wXpCrHnBOzbrjuCa4snuHa6G2PuKQUzS5Cx3HuD89MU=; b=nGWVXl2CrU42fvhNQwc+kKg+F5L/W7Z7o0gDf4l8NNmAHoCLPVDr8qRj+Y/fFy0eSt GrLNO9Dp3J/KO5uJTQUOgl512KUrY9sN2VarotVklYs0v/Akem4SKls1cyZCKbpwhzGH uMdOgwwZwcsU1BQyWYhp/HmVHRbNh5nZtadd/XPD1UAWcSLkxiO/z/i4eqCZ2iM3rQgZ ZiwpW7HICE9lV7ccgh4q7dTC2VFnR9EBc1EL59YxKx2qy5SoavhLAnFliPFYLBRDARtU 4TcFui2gXn1cgIpThFI1/AhGRAvt0B9O4FlaVfiXWaVwnp3tnK/3ID76T3bXdMhuV792 0Cmw== X-Forwarded-Encrypted: i=1; AJvYcCVi130kQTN0CPNxVTSDaEX8tAQm9PJ4X/mL9/4Jjvqs93t6JcM0d6yjVw+sSAxDaZFqjukhC5i2MBTRZkWn@vger.kernel.org X-Gm-Message-State: AOJu0Ywd8X8NWOBSgwGBiS0iT4HGDsTBqoEguQYMic8TvDZYtZWxi8Jt 7FMr8y6cP7hDOW5qbMRa6T4qFpJ9uKDA7KRE/F01+OKJoaem99xzWf9vU7YN709EXANAeM6v2FL REXu3JFUeLOeGaoRrEO2USp3d1GJ4+7gOdkE3jCegkW4CWeH3UA4I1YP8qyk= Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:2188:b0:679:ea08:8fd6 with SMTP id 006d021491bc7-67b9bd22c94mr5375108eaf.46.1772973722411; Sun, 08 Mar 2026 05:42:02 -0700 (PDT) Date: Sun, 08 Mar 2026 05:42:02 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69ad6e9a.050a0220.310d8.000b.GAE@google.com> Subject: Re: [syzbot] [mm?] [f2fs?] [exfat?] memory leak in __kfree_rcu_sheaf From: syzbot To: akpm@linux-foundation.org, catalin.marinas@arm.com, chao@kernel.org, hao.li@linux.dev, harry.yoo@oracle.com, jaegeuk@kernel.org, jannh@google.com, liam.howlett@oracle.com, linkinjeon@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, lorenzo.stoakes@oracle.com, pfalcato@suse.de, sj1557.seo@samsung.com, syzkaller-bugs@googlegroups.com, vbabka@kernel.org, vbabka@suse.cz, wangqing7171@gmail.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: memory leak in __pcs_replace_empty_main BUG: memory leak unreferenced object 0xffff88810005f800 (size 512): comm "swapper/0", pid 0, jiffies 4294937296 hex dump (first 32 bytes): 00 2a 90 00 81 88 ff ff 00 94 30 29 81 88 ff ff .*........0).... 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc a3e5799): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] alloc_full_sheaf mm/slub.c:2834 [inline] __pcs_replace_empty_main+0x1d2/0x260 mm/slub.c:4629 alloc_from_pcs mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:4854 [inline] __kmalloc_cache_noprof+0x3ac/0x480 mm/slub.c:5378 kmalloc_noprof include/linux/slab.h:950 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __irq_domain_alloc_fwnode+0x37/0x140 kernel/irq/irqdomain.c:95 irq_domain_alloc_named_fwnode include/linux/irqdomain.h:271 [inline] arch_early_irq_init+0x1c/0x70 arch/x86/kernel/apic/vector.c:803 start_kernel+0x931/0xb80 init/main.c:1114 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0xce/0xd0 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x148 BUG: memory leak unreferenced object 0xffff8881008f6c00 (size 512): comm "kthreadd", pid 2, jiffies 4294937344 hex dump (first 32 bytes): 00 94 30 29 81 88 ff ff 00 d6 de 0b 81 88 ff ff ..0)............ 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc 9181eca5): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] alloc_full_sheaf mm/slub.c:2834 [inline] __pcs_replace_empty_main+0x1d2/0x260 mm/slub.c:4629 alloc_from_pcs mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:4854 [inline] __kmalloc_cache_node_noprof+0x3ef/0x4e0 mm/slub.c:5391 kmalloc_node_noprof include/linux/slab.h:1077 [inline] __get_vm_area_node+0xc6/0x1d0 mm/vmalloc.c:3221 __vmalloc_node_range_noprof+0x1d3/0xe50 mm/vmalloc.c:4024 __vmalloc_node_noprof+0x71/0x90 mm/vmalloc.c:4124 alloc_thread_stack_node kernel/fork.c:355 [inline] dup_task_struct kernel/fork.c:924 [inline] copy_process+0x3e5/0x28c0 kernel/fork.c:2050 kernel_clone+0xac/0x6e0 kernel/fork.c:2654 kernel_thread+0x80/0xb0 kernel/fork.c:2715 create_kthread kernel/kthread.c:459 [inline] kthreadd+0x186/0x250 kernel/kthread.c:817 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff8881008fd600 (size 512): comm "kworker/u8:6", pid 223, jiffies 4294937434 hex dump (first 32 bytes): 00 c6 8f 00 81 88 ff ff d8 2c 04 00 81 88 ff ff .........,...... 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc 33698a2f): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5725 free_to_pcs mm/slub.c:5778 [inline] slab_free mm/slub.c:6173 [inline] kfree+0x352/0x390 mm/slub.c:6486 call_usermodehelper_freeinfo kernel/umh.c:43 [inline] umh_complete kernel/umh.c:57 [inline] call_usermodehelper_exec_async+0x1c7/0x1f0 kernel/umh.c:119 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff8881008fc600 (size 512): comm "kworker/0:1", pid 10, jiffies 4294937441 hex dump (first 32 bytes): 00 1a 39 10 81 88 ff ff 00 d6 8f 00 81 88 ff ff ..9............. 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc fca1c70a): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5725 free_to_pcs mm/slub.c:5778 [inline] slab_free mm/slub.c:6173 [inline] kfree+0x352/0x390 mm/slub.c:6486 vfree.part.0+0x1d5/0x4d0 mm/vmalloc.c:3485 vfree mm/vmalloc.c:3456 [inline] delayed_vfree_work+0x5b/0x90 mm/vmalloc.c:3398 process_one_work+0x26c/0x5d0 kernel/workqueue.c:3275 process_scheduled_works kernel/workqueue.c:3358 [inline] worker_thread+0x243/0x490 kernel/workqueue.c:3439 kthread+0x14e/0x1a0 kernel/kthread.c:436 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff888100902a00 (size 512): comm "kworker/0:1", pid 10, jiffies 4294937448 hex dump (first 32 bytes): 00 c4 58 09 81 88 ff ff 00 f8 05 00 81 88 ff ff ..X............. 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc 8a5f0c0d): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5725 free_to_pcs mm/slub.c:5778 [inline] slab_free mm/slub.c:6173 [inline] kfree+0x352/0x390 mm/slub.c:6486 vfree.part.0+0x1d5/0x4d0 mm/vmalloc.c:3485 vfree mm/vmalloc.c:3456 [inline] delayed_vfree_work+0x5b/0x90 mm/vmalloc.c:3398 process_one_work+0x26c/0x5d0 kernel/workqueue.c:3275 process_scheduled_works kernel/workqueue.c:3358 [inline] worker_thread+0x243/0x490 kernel/workqueue.c:3439 kthread+0x14e/0x1a0 kernel/kthread.c:436 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff88810958c400 (size 512): comm "kworker/u8:5", pid 4599, jiffies 4294937964 hex dump (first 32 bytes): 00 4c 6a 12 81 88 ff ff 00 2a 90 00 81 88 ff ff .Lj......*...... 00 12 04 00 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace (crc 45e572cd): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4547 [inline] slab_alloc_node mm/slub.c:4869 [inline] __do_kmalloc_node mm/slub.c:5262 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5275 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2771 alloc_empty_sheaf mm/slub.c:2786 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5725 free_to_pcs mm/slub.c:5778 [inline] slab_free mm/slub.c:6173 [inline] kfree+0x352/0x390 mm/slub.c:6486 call_usermodehelper_freeinfo kernel/umh.c:43 [inline] umh_complete kernel/umh.c:57 [inline] call_usermodehelper_exec_async+0x1c7/0x1f0 kernel/umh.c:119 ret_from_fork+0x23c/0x4b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF Tested on: commit: c23719ab Merge tag 'x86-urgent-2026-03-08' of git://gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10027054580000 kernel config: https://syzkaller.appspot.com/x/.config?x=2c6ad6fefffa76b1 dashboard link: https://syzkaller.appspot.com/bug?extid=cae7809e9dc1459e4e63 compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 patch: https://syzkaller.appspot.com/x/patch.diff?x=17682a02580000