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 E6FACEDEBFA for ; Tue, 3 Mar 2026 22:25:51 +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:Date:MIME-Version:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=/1REYlbvv7y0XDzyiVwT8StV+tkb9TC/Zrk8kwTUn0o=; b=Q/94FhDu6RXzV7/Nc88MG5mQ4f E/8pDdaFaTv4fAlrYkn56d2wPVAf3yp1bzOQVrR2w26hnhe4I6FskLXtFVSSH0nUeC/LO5A/yH6Lq OFrTd9AJ29JixA/6QubdehTYdhC2jJokCTm046C/45sskUVKAoUS9L2FSG/AD4Q4mD/U=; 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 1vxYBZ-00043Q-HV; Tue, 03 Mar 2026 22:25:49 +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 <34V-naQkbAJIEKL6w770DwBB4z.2AA270GE0DyA9F09F.yA8@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com>) id 1vxYBY-00043K-HP for linux-f2fs-devel@lists.sourceforge.net; Tue, 03 Mar 2026 22:25:48 +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: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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YK8nF5otq6OTnx7MCvL13umCbq/pEEflUxPrfJ/I3zo=; b=ceSGnGTFI61eT1hozbLhG63Hgn 16gMipxwLQ/dlBQQAN+N9qjZF5fSDU+qq3l1HZ37lyQfZe5VwdO9g40DadWk9iVz1TyRWxGX33T30 GBuch1KLP5GVENXA0RlPbcLCQXzl6EldRsSRooa1e36lzFkEcfGztsa+qekomJy/K2CA=; 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: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:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=YK8nF5otq6OTnx7MCvL13umCbq/pEEflUxPrfJ/I3zo=; b=j Zz5A+cwW+VuKM/jt/0Hp5l38C8/KBwUjYz7flNfdzC6j0XXvFV4HzepeMfaBfo9k+KqpB5gQtvKKc BqbZr/n0zu8nXaYJMjbAZ14BxxILixw72tGe+NHyP3uHwh5Qdfu+/jTOFVMmT/nfo66+ErkTCx3PI g89u2/3lB4hcCOH0=; 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 1vxYBY-0004jx-04 for linux-f2fs-devel@lists.sourceforge.net; Tue, 03 Mar 2026 22:25:48 +0000 Received: by mail-ot1-f69.google.com with SMTP id 46e09a7af769-7d19e3a3770so66820750a34.0 for ; Tue, 03 Mar 2026 14:25:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772576737; x=1773181537; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YK8nF5otq6OTnx7MCvL13umCbq/pEEflUxPrfJ/I3zo=; b=amZTC6LNlMKFZHmJQ3gO6YLMzJZy2tp8811VsCg9Gzh8sel+9W4AVheRVoI4gMLeHM 1LwLT26xn8hl1lhLoxjJeqgQLH4FE2gpazjHxR7fVmI3MTpEr0oi01b5scbpjOddDICM gNPm3O5pEe4EjZDmBxH3n8dLijSwNB1/r3RHpdcOvNhmTzaOKro2RK/Wvzu8wRz3Vx9T Egpk6tRQg8o+740IaSX3CJLIhKDhuY4eJQM77ptTZC6dPx5oZV/gG/tY0wsO0BR1Se+U tBSebKI5K+WX+Ch67DWG/wsKhHDgBeq8Zip/lwD1OZ25vqqE6O0FsXwHpnKpzET2PEkJ VpXA== X-Forwarded-Encrypted: i=1; AJvYcCXVmGSDJ4Z663RuzuKrfcr2yyKrvSZsa3v3qcCDI9VWSGG2Lw90n2zpkx2AhFwIgTzTn3fPh/9BMk4fEyDzW1VZ@lists.sourceforge.net X-Gm-Message-State: AOJu0YwHbKDciFvj1wtO19caBR00qn9Yhy8LOI5bpIN9KNVGCL3NVP+u BdaswVqlWQOobWDL3OFOu7WeXubseq3Fx60XqvqSMq2Q/TCWMRnORqFEh7kwMkrEZKI/fcnuXdq 9kBC1HgWO65NrV/5tGJDqsV3kv2E6zbsV8qT8OnzTm4IKiKSrKTlyxvbSdXA= MIME-Version: 1.0 X-Received: by 2002:a05:6820:308c:b0:663:d21:9f0 with SMTP id 006d021491bc7-67b17703df6mr66554eaf.34.1772576737438; Tue, 03 Mar 2026 14:25:37 -0800 (PST) Date: Tue, 03 Mar 2026 14:25:37 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69a75fe1.a70a0220.b118c.0014.GAE@google.com> From: syzbot To: chao@kernel.org, ebiggers@kernel.org, jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fscrypt@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu X-Headers-End: 1vxYBY-0004jx-04 Subject: [f2fs-dev] [syzbot] [fscrypt?] [f2fs?] memory leak in fscrypt_setup_filename 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 found the following issue on: HEAD commit: af4e9ef3d784 uaccess: Fix scoped_user_read_access() for 'p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12506d5a580000 kernel config: https://syzkaller.appspot.com/x/.config?x=2c6ad6fefffa76b1 dashboard link: https://syzkaller.appspot.com/bug?extid=cf7946ab25b21abc4b66 compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=160a18d6580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14e2b0ba580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/70cb2ebe1e6e/disk-af4e9ef3.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/945fea3c8a6d/vmlinux-af4e9ef3.xz kernel image: https://storage.googleapis.com/syzbot-assets/fa6a6a5cbcc8/bzImage-af4e9ef3.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/c12ae92fa9b6/mount_0.gz fsck result: failed (log: https://syzkaller.appspot.com/x/fsck.log?x=10e1d202580000) IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+cf7946ab25b21abc4b66@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff888127f70830 (size 16): comm "syz.0.23", pid 6144, jiffies 4294943712 hex dump (first 16 bytes): 3c af 57 72 5b e6 8f ad 6e 8e fd 33 42 39 03 ff <.Wr[...n..3B9.. backtrace (crc 925f8a80): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4520 [inline] slab_alloc_node mm/slub.c:4844 [inline] __do_kmalloc_node mm/slub.c:5237 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5250 kmalloc_noprof include/linux/slab.h:954 [inline] fscrypt_setup_filename+0x15e/0x3b0 fs/crypto/fname.c:364 f2fs_setup_filename+0x52/0xb0 fs/f2fs/dir.c:143 f2fs_rename+0x159/0xca0 fs/f2fs/namei.c:961 f2fs_rename2+0xd5/0xf20 fs/f2fs/namei.c:1308 vfs_rename+0x7ff/0x1250 fs/namei.c:6026 filename_renameat2+0x4f4/0x660 fs/namei.c:6144 __do_sys_renameat2 fs/namei.c:6173 [inline] __se_sys_renameat2 fs/namei.c:6168 [inline] __x64_sys_renameat2+0x59/0x80 fs/namei.c:6168 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF --- 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. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup _______________________________________________ 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-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72]) (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 52C98382F0A for ; Tue, 3 Mar 2026 22:25:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772576739; cv=none; b=kf000LhbYfVtyV9MO684SAo2ZRIE4Mv17vgXcKDu3XDfNrFudUjuUF1TlDPCJhmyh5vJBP1wPz6dBLd7EqB4ZZ5RXtzztJoqx0pS+VLozdzZjmIBVCjtDV98PHqqMaJ+NUI+mmnbH040RRWDZt1ldmCNG2iAIBI4iBozlHf2ALU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772576739; c=relaxed/simple; bh=R1HAQ8tOaMiEOt5kK9h9/C9h7dlCe1smN0KV5HnTZnU=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=l6H6WT/p/DGyfMnatM+2KNWVmHPQzFZvh3ofi9vhG7y9Y2gUdtgsOomSkTF3eivsbYASzgIoKO9czh2VSnn/0or1KEdBgn8Pp1eeLnkuVbpc5ja/fNvd6i7gRbNFkMAJCkLpM8fotLYBN3ZRTl3d2I1HLPibqq1cu3+VCEB5eUk= 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.210.72 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-ot1-f72.google.com with SMTP id 46e09a7af769-7d1936b8a7cso64953198a34.3 for ; Tue, 03 Mar 2026 14:25:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772576737; x=1773181537; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YK8nF5otq6OTnx7MCvL13umCbq/pEEflUxPrfJ/I3zo=; b=IxibhRthAgHODOF82Za2sxI4UFKRIx68G8CyBHdDwaNY7tW3ghQOC/8Ob6F9UaQmQX IIPnXTcTcc1JL4fWZ0ThFxnD7/7j35IzYcpf4Flpg/7MQMEcVHyrxEtmV0mi9rmLE7NU AGg9Jn1c4apjvjf2UIeXuCOIg2BKqt/vaFwPTT+nuyBxBoJemipzdxKPHpyHjwbO0m/5 keCuHiy4lrQ0pNzkHuZxAxfuSydwvr3e6t1lINuEdFQTgVjAFrd/i1OXvmHRfm9WmMCM Op63eeaZ45+FJ4A4uJ9HZ0aJZ6I+Pt4b0KDlAPrvNjSo5usTbT2Y/oxy8/OPc8zjT7Qj CKMg== X-Forwarded-Encrypted: i=1; AJvYcCVPHkUQWpNmeYZ0qecmbqSDRXIIG2YgNU3ecXIhXcZpTIio0R7unx+2I61OKnq7aPsNd5VAF66GAh9aVjib@vger.kernel.org X-Gm-Message-State: AOJu0YydQAepCM/h07LptZr4UBA6sWVC4OSFnqBh/kQS6KLhRBpE00Q6 n1S87tE0du9nhq5oY2ZoQ7ic4+SUzkeIDDIO9F7zkgmH7hlWAe49xhXPb2yARkZdQSBDrgLqVa1 KeYfbiSr6qQbMvYwYkJviDB4EdjFtpu/LKyjYvtdMRv692L3fUsDo3W8U/jY= Precedence: bulk X-Mailing-List: linux-fscrypt@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:308c:b0:663:d21:9f0 with SMTP id 006d021491bc7-67b17703df6mr66554eaf.34.1772576737438; Tue, 03 Mar 2026 14:25:37 -0800 (PST) Date: Tue, 03 Mar 2026 14:25:37 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69a75fe1.a70a0220.b118c.0014.GAE@google.com> Subject: [syzbot] [fscrypt?] [f2fs?] memory leak in fscrypt_setup_filename From: syzbot To: chao@kernel.org, ebiggers@kernel.org, jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fscrypt@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: af4e9ef3d784 uaccess: Fix scoped_user_read_access() for 'p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12506d5a580000 kernel config: https://syzkaller.appspot.com/x/.config?x=2c6ad6fefffa76b1 dashboard link: https://syzkaller.appspot.com/bug?extid=cf7946ab25b21abc4b66 compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=160a18d6580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14e2b0ba580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/70cb2ebe1e6e/disk-af4e9ef3.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/945fea3c8a6d/vmlinux-af4e9ef3.xz kernel image: https://storage.googleapis.com/syzbot-assets/fa6a6a5cbcc8/bzImage-af4e9ef3.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/c12ae92fa9b6/mount_0.gz fsck result: failed (log: https://syzkaller.appspot.com/x/fsck.log?x=10e1d202580000) IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+cf7946ab25b21abc4b66@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff888127f70830 (size 16): comm "syz.0.23", pid 6144, jiffies 4294943712 hex dump (first 16 bytes): 3c af 57 72 5b e6 8f ad 6e 8e fd 33 42 39 03 ff <.Wr[...n..3B9.. backtrace (crc 925f8a80): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4520 [inline] slab_alloc_node mm/slub.c:4844 [inline] __do_kmalloc_node mm/slub.c:5237 [inline] __kmalloc_noprof+0x3bd/0x560 mm/slub.c:5250 kmalloc_noprof include/linux/slab.h:954 [inline] fscrypt_setup_filename+0x15e/0x3b0 fs/crypto/fname.c:364 f2fs_setup_filename+0x52/0xb0 fs/f2fs/dir.c:143 f2fs_rename+0x159/0xca0 fs/f2fs/namei.c:961 f2fs_rename2+0xd5/0xf20 fs/f2fs/namei.c:1308 vfs_rename+0x7ff/0x1250 fs/namei.c:6026 filename_renameat2+0x4f4/0x660 fs/namei.c:6144 __do_sys_renameat2 fs/namei.c:6173 [inline] __se_sys_renameat2 fs/namei.c:6168 [inline] __x64_sys_renameat2+0x59/0x80 fs/namei.c:6168 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF --- 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. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup