CVE-2022-47939: kernel: smb2_tree_disconnect() fails to validate object existance prior to performing opertions on it

Severity: Critical

CVSS Score: 9.8

An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. fs/ksmbd/smb2pdu.c has a use-after-free and OOPS for SMB2_TREE_DISCONNECT.