Re: [PATCH 6.1.y] smb: client: fix potential UAF in cifs_dump_full_key()
From: Greg KH
Date: Thu Dec 12 2024 - 07:10:04 EST
On Mon, Dec 09, 2024 at 04:58:13PM +0800, jianqi.ren.cn@xxxxxxxxxxxxx wrote:
> From: Paulo Alcantara <pc@xxxxxxxxxxxxx>
>
> [ Upstream commit 58acd1f497162e7d282077f816faa519487be045 ]
>
> Skip sessions that are being teared down (status == SES_EXITING) to
> avoid UAF.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Paulo Alcantara (Red Hat) <pc@xxxxxxxxxxxxx>
> Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx>
> Signed-off-by: Jianqi Ren <jianqi.ren.cn@xxxxxxxxxxxxx>
> ---
> fs/smb/client/ioctl.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
You sent this twice, both different, so I have no idea what to do at all
:(