[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANp29Y7PyKg3j7X9AM1r1H+6VDb_F_O7N60svjc1j9WAQksHgQ@mail.gmail.com>
Date: Tue, 18 Nov 2025 12:30:40 +0100
From: Aleksandr Nogikh <nogikh@...gle.com>
To: shaurya <ssranevjti@...il.com>
Cc: syzbot+87be6809ed9bf6d718e3@...kaller.appspotmail.com,
linux-cifs@...r.kernel.org, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [cifs?] memory leak in smb3_fs_context_fullpath
On Tue, Nov 18, 2025 at 12:23 PM shaurya <ssranevjti@...il.com> wrote:
>
> #syz test:
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>
> diff --git a/fs/smb/client/fs_context.c b/fs/smb/client/fs_context.c
> index 0f894d09157b..975f1fa153fd 100644
> --- a/fs/smb/client/fs_context.c
> +++ b/fs/smb/client/fs_context.c
> @@ -1834,6 +1834,12 @@ static int smb3_fs_context_parse_param(struct
> fs_context *fc,
Please note that your email client has line-wrapped the text, thus
breaking this git patch. It may be easier to just attach it as a file,
syzbot should understand it.
> ctx->password = NULL;
> kfree_sensitive(ctx->password2);
> ctx->password2 = NULL;
> + kfree(ctx->source);
> + ctx->source = NULL;
> + if (fc) {
> + kfree(fc->source);
> + fc->source = NULL;
> + }
> return -EINVAL;
> }
>
> --
> 2.34.1
>
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@...glegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/syzkaller-bugs/8831475d-0eeb-4107-ad87-c9c8736c219c%40gmail.com.
Powered by blists - more mailing lists