mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeffin Philip <jeffinphilip14@gmail.com>
To: syzbot+df1db6e034b3953e19f5@syzkaller.appspotmail.com
Cc: autofs@vger.kernel.org, linux-kernel@vger.kernel.org,
	raven@themaw.net, syzkaller-bugs@googlegroups.com
Subject: [syzbot] [autofs?] memory leak in autofs_new_ino
Date: Thu,  3 Sep 2026 11:27:51 +0530	[thread overview]
Message-ID: <20260903055751.10197-1-jeffinphilip14@gmail.com> (raw)
In-Reply-To: <6a984fda.27a413cd.1e878c.000a.GAE@google.com>

#syz test: upstream 8d3ae59288f1

diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c
index c1e210cec436..d93b5ec3cec7 100644
--- a/fs/autofs/inode.c
+++ b/fs/autofs/inode.c
@@ -324,6 +324,7 @@ static int autofs_fill_super(struct super_block *s, struct fs_context *fc)
 
 	root_inode = autofs_get_inode(s, S_IFDIR | 0755);
 	if (!root_inode)
+		autofs_free_ino(ino);
 		return -ENOMEM;
 
 	root_inode->i_uid = ctx->uid;

  reply	other threads:[~2026-09-03  5:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02 16:33 syzbot
2026-09-03  5:57 ` Jeffin Philip [this message]
2026-09-03  8:16   ` syzbot
2026-09-03  6:10 ` Edward Adam Davis
2026-09-03  8:34   ` syzbot

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=20260903055751.10197-1-jeffinphilip14@gmail.com \
    --to=jeffinphilip14@gmail.com \
    --cc=autofs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=raven@themaw.net \
    --cc=syzbot+df1db6e034b3953e19f5@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    /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

all inboxes | Powered by JetHome®