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 C8F77108B8ED for ; Fri, 20 Mar 2026 10:34:18 +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=ZBOW9qkPDebChg5sT1a17rl382beE28XCvnAK2+eJeg=; b=YwWq0YA8TCuU4VaToigYq48QgF yxPaDFUKOB5pNKQTogcabsIgAyt29Ex922QZAq0M7qAmoDVxDT3lE4wsulgXP0nTUkdSFaKhoYfpA VNaOenk/imZr9AVLZV9fq4m816WnqLjvoqyGPao3dI1Bsvv68glQ4C/4AdaXMnYCZYds=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1w3XBH-0006kR-Kl; Fri, 20 Mar 2026 10:34:15 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <3miK9aQkbACkXdePFQQJWFUUNI.LTTLQJZXJWHTSYJSY.HTR@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com>) id 1w3XBF-0006kI-Rd for linux-f2fs-devel@lists.sourceforge.net; Fri, 20 Mar 2026 10:34: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=PyurhFL0srbaHFfNujAbyanPsO6WBW5rLYYsYSOSV7A=; b=HI02O/i2+D8+hYrjN4edfR0Tm5 XuFhb9i/CuKLOgxznRS/VX6QQnWeyiKQpX+lrZXUOu/z8h/CA4dddgI4J8eyYfDfRWbLMCrj8UaNr qeTkz99Qe36hUNIqTe36jHk44tSlhyiLiaPZx0R9wwSTJBJBcd4ajwTel/++F41UNzgE=; 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=PyurhFL0srbaHFfNujAbyanPsO6WBW5rLYYsYSOSV7A=; b=I pMNT6Zgmv2BPbWuzptMCoXoIrG/rxocw/dSOF/6n7zl3G8J4/jeF4zPaJ/efdDanDmNu1ltM9jLTT QX3hyh1kO3iAsG7fR7B67tbu8ON0ZqArplCHjOkPK50N/DqQHkwqvgRByOu/eOo6HJ2+z8ah/DImd D69pQoCVXAuH7LLc=; Received: from mail-ot1-f69.google.com ([209.85.210.69]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.95) id 1w3XBE-0006Ke-RQ for linux-f2fs-devel@lists.sourceforge.net; Fri, 20 Mar 2026 10:34:13 +0000 Received: by mail-ot1-f69.google.com with SMTP id 46e09a7af769-7d7c848c866so1737966a34.0 for ; Fri, 20 Mar 2026 03:34:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774002842; x=1774607642; 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=PyurhFL0srbaHFfNujAbyanPsO6WBW5rLYYsYSOSV7A=; b=jfxpXMYnEqyGqdQLAmlHbMnE7Yg2MvZ3RUabiXjIsX0UW6ITUr1DgM1dUpy31jPEYC X639GQXAMSl+H4oECXhhtUCR+WD9RhRvtKV470YfIp5OwOApr3LiOFAvCOimhmOZjswT i9fDj5Z/pXcSz0GVZM2UIwtz+x32jYiMVC9tpXiZ1fhr6hcPTtm3OAUsHfLIy/U+oDzY 31Na6Fmohm+c184h4W4gQhk/nYAZ46lrQfHzS4ikls3uIG0ZiyRMP2zh6fWO5bZtEH5K rOzgSPO/yNyvofHBI+GXlAh9MkG2veT7UtTErXFmqsuxUS3ncLi+j/14lOXgFb6xZExS +KAA== X-Forwarded-Encrypted: i=1; AJvYcCX6fqOHkhtnVABPgcEwneamea53iRPyPKEFPlthxwH6IVZEIqTwBwbBKXu5mq2Wy8+p2C79PGzyrVItqAe17I/m@lists.sourceforge.net X-Gm-Message-State: AOJu0Yyl2DOCFgKDFqGncpIxApCbsLkWe8Mfpb2aCl+hTvCartTejYyR AJngFtDlZpsX7XiUvQXplmc4vR/BvQLED4e82PrAxJf5QPfbnunh5Jcm6zcm6hYKmIzsFY3Y+GH Bsf6yTbHmYwQ30U8p3SoV10t6K5ok6/bKgarFzI3waDTsOZ7K56cquhWvJ1I= MIME-Version: 1.0 X-Received: by 2002:a05:6820:818b:b0:67b:e3cf:a416 with SMTP id 006d021491bc7-67c22ec467emr1960545eaf.25.1774002842204; Fri, 20 Mar 2026 03:34:02 -0700 (PDT) Date: Fri, 20 Mar 2026 03:34:02 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69bd229a.050a0220.3bf4de.001c.GAE@google.com> From: syzbot To: akpm@linux-foundation.org, chao@kernel.org, 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@suse.cz X-Headers-End: 1w3XBE-0006Ke-RQ 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): 60 bd 2a 2f 81 88 ff ff 30 ba ad 81 ff ff ff ff `.*/....0....... 00 12 04 00 81 88 ff ff 3c 00 00 00 00 00 00 00 ........<....... backtrace (crc 81834c79): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4543 [inline] slab_alloc_node mm/slub.c:4866 [inline] __do_kmalloc_node mm/slub.c:5259 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5272 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2764 alloc_empty_sheaf mm/slub.c:2779 [inline] alloc_full_sheaf mm/slub.c:2829 [inline] __pcs_replace_empty_main+0x1e0/0x2f0 mm/slub.c:4626 alloc_from_pcs mm/slub.c:4717 [inline] slab_alloc_node mm/slub.c:4851 [inline] __kmalloc_cache_noprof+0x3ac/0x480 mm/slub.c:5375 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 4294937342 hex dump (first 32 bytes): d0 16 c9 29 81 88 ff ff 30 ba ad 81 ff ff ff ff ...)....0....... 00 12 04 00 81 88 ff ff 3c 00 00 00 00 00 00 00 ........<....... backtrace (crc 38b48d73): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4543 [inline] slab_alloc_node mm/slub.c:4866 [inline] __do_kmalloc_node mm/slub.c:5259 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5272 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2764 alloc_empty_sheaf mm/slub.c:2779 [inline] alloc_full_sheaf mm/slub.c:2829 [inline] __pcs_replace_empty_main+0x1e0/0x2f0 mm/slub.c:4626 alloc_from_pcs mm/slub.c:4717 [inline] slab_alloc_node mm/slub.c:4851 [inline] __kmalloc_cache_node_noprof+0x3ef/0x4e0 mm/slub.c:5388 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:2653 kernel_thread+0x80/0xb0 kernel/fork.c:2714 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 0xffff888102011400 (size 512): comm "kworker/u8:1", pid 274, jiffies 4294937433 hex dump (first 32 bytes): 28 f6 7b 31 81 88 ff ff 30 ba ad 81 ff ff ff ff (.{1....0....... 00 12 04 00 81 88 ff ff 3c 00 00 00 00 00 00 00 ........<....... backtrace (crc c5ce2dfb): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4543 [inline] slab_alloc_node mm/slub.c:4866 [inline] __do_kmalloc_node mm/slub.c:5259 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5272 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2764 alloc_empty_sheaf mm/slub.c:2779 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5722 free_to_pcs mm/slub.c:5775 [inline] slab_free mm/slub.c:6170 [inline] kfree+0x352/0x390 mm/slub.c:6483 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 0xffff888102010600 (size 512): comm "kworker/1:1", pid 41, jiffies 4294937437 hex dump (first 32 bytes): 88 c3 c4 29 81 88 ff ff 30 ba ad 81 ff ff ff ff ...)....0....... 00 12 04 00 81 88 ff ff 3c 00 00 00 00 00 00 00 ........<....... backtrace (crc 5d48f1c0): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4543 [inline] slab_alloc_node mm/slub.c:4866 [inline] __do_kmalloc_node mm/slub.c:5259 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5272 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2764 alloc_empty_sheaf mm/slub.c:2779 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5722 free_to_pcs mm/slub.c:5775 [inline] slab_free mm/slub.c:6170 [inline] kfree+0x352/0x390 mm/slub.c:6483 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+0x277/0x5f0 kernel/workqueue.c:3276 process_scheduled_works kernel/workqueue.c:3359 [inline] worker_thread+0x255/0x4a0 kernel/workqueue.c:3440 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 0xffff888102010400 (size 512): comm "kworker/u8:1", pid 443, jiffies 4294937439 hex dump (first 32 bytes): e8 50 dd 31 81 88 ff ff 30 ba ad 81 ff ff ff ff .P.1....0....... 00 12 04 00 81 88 ff ff 3c 00 00 00 00 00 00 00 ........<....... backtrace (crc 11032afc): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4543 [inline] slab_alloc_node mm/slub.c:4866 [inline] __do_kmalloc_node mm/slub.c:5259 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5272 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2764 alloc_empty_sheaf mm/slub.c:2779 [inline] __pcs_replace_full_main+0xe8/0x300 mm/slub.c:5722 free_to_pcs mm/slub.c:5775 [inline] slab_free mm/slub.c:6170 [inline] kfree+0x352/0x390 mm/slub.c:6483 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 0xffff8881095d5a00 (size 256): comm "swapper/0", pid 1, jiffies 4294937857 hex dump (first 32 bytes): 00 d4 9c 1d 81 88 ff ff 88 fc 04 00 81 88 ff ff ................ 00 1a 04 00 81 88 ff ff 1c 00 00 00 00 00 00 00 ................ backtrace (crc deebd371): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4543 [inline] slab_alloc_node mm/slub.c:4866 [inline] __do_kmalloc_node mm/slub.c:5259 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5272 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] __alloc_empty_sheaf+0x35/0x50 mm/slub.c:2764 alloc_empty_sheaf mm/slub.c:2779 [inline] alloc_full_sheaf mm/slub.c:2829 [inline] __pcs_replace_empty_main+0x1e0/0x2f0 mm/slub.c:4626 alloc_from_pcs mm/slub.c:4717 [inline] slab_alloc_node mm/slub.c:4851 [inline] __kmalloc_cache_noprof+0x3ac/0x480 mm/slub.c:5375 kmalloc_noprof include/linux/slab.h:950 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] init_srcu_struct_fields+0x29d/0x320 kernel/rcu/srcutree.c:241 rtnl_link_register+0x81/0x1c0 net/core/rtnetlink.c:615 ipgre_init+0x10d/0x1a0 net/ipv4/ip_gre.c:1828 do_one_initcall+0x79/0x4c0 init/main.c:1382 do_initcall_level init/main.c:1444 [inline] do_initcalls init/main.c:1460 [inline] do_basic_setup init/main.c:1479 [inline] kernel_init_freeable+0x2a4/0x340 init/main.c:1692 kernel_init+0x1b/0x1d0 init/main.c:1582 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: 0e4f8f1a Merge tag 'parisc-for-7.0-rc5' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13b18cba580000 kernel config: https://syzkaller.appspot.com/x/.config?x=e2bba615ee79faa5 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=12608cba580000 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel