Volker Lendecke <Volker.Lendecke@xxxxxxxxx> writes: > Attached find a patch that fixes an uninitialized memory read when > creating symlinks using the smb311 posix extensions. > > Volker > From 482fa85ef97505626b6b146155834e6bc36012fa Mon Sep 17 00:00:00 2001 > From: Volker Lendecke <vl@xxxxxxxxx> > Date: Wed, 11 Jan 2023 12:37:58 +0100 > Subject: [PATCH] cifs: Fix uninitialized memory read for smb311 posix symlink > create > > If smb311 posix is enabled, we send the intended mode for file > creation in the posix create context. Instead of using what's there on > the stack, create the mfsymlink file with 0644. > > Signed-off-by: Volker Lendecke <vl@xxxxxxxxx> > --- > fs/cifs/link.c | 1 + > 1 file changed, 1 insertion(+) Looks good to me. Thanks! Reviewed-by: Paulo Alcantara (SUSE) <pc@xxxxxx>