From: syzbot <syzbot+7381dc4ad60658ca4c05-Pl5Pbv+GP7P466ipTTIvnc23WoclnBCfAL8bYrjMMd8@public.gmane.org>
To: konishi.ryusuke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
syzkaller-bugs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: [syzbot] memory leak in kobject_set_name_vargs (5)
Date: Wed, 22 Jun 2022 16:13:19 -0700 [thread overview]
Message-ID: <00000000000098972c05e2117b39@google.com> (raw)
Hello,
syzbot found the following issue on:
HEAD commit: 4b35035bcf80 Merge tag 'nfs-for-5.19-2' of git://git.linux..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16db143ff00000
kernel config: https://syzkaller.appspot.com/x/.config?x=3136c902c03fdd37
dashboard link: https://syzkaller.appspot.com/bug?extid=7381dc4ad60658ca4c05
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=111c8c1ff00000
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7381dc4ad60658ca4c05-Pl5Pbv+GP7P466ipTTIvnc23WoclnBCfAL8bYrjMMd8@public.gmane.org
BUG: memory leak
unreferenced object 0xffff88811943b700 (size 32):
comm "syz-executor.7", pid 3953, jiffies 4294958653 (age 15.830s)
hex dump (first 32 bytes):
6c 6f 6f 70 37 00 00 00 00 00 00 00 00 00 00 00 loop7...........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff814b7106>] kstrdup+0x36/0x70 mm/util.c:61
[<ffffffff814b7193>] kstrdup_const+0x53/0x80 mm/util.c:84
[<ffffffff8239acd2>] kvasprintf_const+0xc2/0x110 lib/kasprintf.c:48
[<ffffffff8249179b>] kobject_set_name_vargs+0x3b/0xe0 lib/kobject.c:257
[<ffffffff82491c1d>] kobject_add_varg lib/kobject.c:352 [inline]
[<ffffffff82491c1d>] kobject_init_and_add+0x6d/0xc0 lib/kobject.c:441
[<ffffffff81e2c07a>] nilfs_sysfs_create_device_group+0x9a/0x3d0 fs/nilfs2/sysfs.c:991
[<ffffffff81e1482c>] init_nilfs+0x51c/0x680 fs/nilfs2/the_nilfs.c:637
[<ffffffff81e004db>] nilfs_fill_super fs/nilfs2/super.c:1047 [inline]
[<ffffffff81e004db>] nilfs_mount+0x51b/0x890 fs/nilfs2/super.c:1317
[<ffffffff8163fb5b>] legacy_get_tree+0x2b/0x90 fs/fs_context.c:610
[<ffffffff815d95c8>] vfs_get_tree+0x28/0x100 fs/super.c:1497
[<ffffffff8161d097>] do_new_mount fs/namespace.c:3040 [inline]
[<ffffffff8161d097>] path_mount+0xc37/0x1120 fs/namespace.c:3370
[<ffffffff8161dcce>] do_mount fs/namespace.c:3383 [inline]
[<ffffffff8161dcce>] __do_sys_mount fs/namespace.c:3591 [inline]
[<ffffffff8161dcce>] __se_sys_mount fs/namespace.c:3568 [inline]
[<ffffffff8161dcce>] __x64_sys_mount+0x18e/0x1d0 fs/namespace.c:3568
[<ffffffff845a9cb5>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
[<ffffffff845a9cb5>] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
[<ffffffff8460006a>] entry_SYSCALL_64_after_hwframe+0x46/0xb0
---
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
next reply other threads:[~2022-06-22 23:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-22 23:13 syzbot [this message]
[not found] ` <00000000000098972c05e2117b39-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2022-08-04 22:00 ` [syzbot] memory leak in kobject_set_name_vargs (5) syzbot
2022-10-07 8:52 ` [PATCH] nilfs2: fix leak of nilfs_root in case of writer thread creation failure Ryusuke Konishi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=00000000000098972c05e2117b39@google.com \
--to=syzbot+7381dc4ad60658ca4c05-pl5pbv+gp7p466ipttivnc23woclnbcfal8byrjmmd8@public.gmane.org \
--cc=konishi.ryusuke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=syzkaller-bugs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).