lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8831475d-0eeb-4107-ad87-c9c8736c219c@gmail.com>
Date: Tue, 18 Nov 2025 16:53:26 +0530
From: shaurya <ssranevjti@...il.com>
To: syzbot+87be6809ed9bf6d718e3@...kaller.appspotmail.com
Cc: 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

#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,
      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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ