Message ID | 20231027145803.1725766-2-cascardo@canonical.com |
---|---|
State | New |
Headers | show |
Series | CVE-2023-5345 | expand |
diff --git a/fs/smb/client/fs_context.c b/fs/smb/client/fs_context.c index 67e16c2ac90e..f12203c49b80 100644 --- a/fs/smb/client/fs_context.c +++ b/fs/smb/client/fs_context.c @@ -1532,6 +1532,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc, cifs_parse_mount_err: kfree_sensitive(ctx->password); + ctx->password = NULL; return -EINVAL; }