]> www.infradead.org Git - users/jedix/linux-maple.git/commit
smb: client: fix potential UAF in cifs_dump_full_key()
authorPaulo Alcantara <pc@manguebit.com>
Tue, 2 Apr 2024 19:33:54 +0000 (16:33 -0300)
committerSteve French <stfrench@microsoft.com>
Wed, 3 Apr 2024 19:43:45 +0000 (14:43 -0500)
commit58acd1f497162e7d282077f816faa519487be045
treee639d3923197dacc0de9a3af251a6a0018278523
parentca545b7f0823f19db0f1148d59bc5e1a56634502
smb: client: fix potential UAF in cifs_dump_full_key()

Skip sessions that are being teared down (status == SES_EXITING) to
avoid UAF.

Cc: stable@vger.kernel.org
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/ioctl.c