CVE-2022-47939: Linux Kernel ksmbd Use-After-Free Remote Code Execution Vulnerability
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 SMB2TREEDISCONNECT.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability, but only systems with ksmbd enabled are vulnerable. The specific flaw exists within the processing of SMB2TREEDISCONNECT commands. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the kernel.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-47939?
CVE-2022-47939 has a high severity rating due to the potential for remote code execution by attackers.
How do I fix CVE-2022-47939?
To fix CVE-2022-47939, update your Linux kernel to version 5.19.2 or later.
Which Linux kernel versions are affected by CVE-2022-47939?
CVE-2022-47939 affects Linux kernel versions from 5.15 up to 5.19.1.
Can CVE-2022-47939 be exploited remotely?
Yes, CVE-2022-47939 can be exploited remotely, allowing attackers to execute arbitrary code.
What component of the Linux kernel is impacted by CVE-2022-47939?
CVE-2022-47939 impacts the ksmbd component of the Linux kernel.