CVE-2022-47942: Linux Kernel ksmbd Heap-based Buffer Overflow Remote Code Execution Vulnerability
An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. There is a heap-based buffer overflow in setntacldacl, related to use of SMB2QUERYINFOHE after a malformed SMB2SETINFOHE command.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Linux Kernel. Authentication is required to exploit this vulnerability. The specific flaw exists within the handling of file attributes. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. 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-47942?
CVE-2022-47942 is classified as a high severity vulnerability due to its potential for remote code execution.
How do I fix CVE-2022-47942?
To mitigate CVE-2022-47942, update the Linux kernel to version 5.19.2 or later.
What versions of the Linux kernel are affected by CVE-2022-47942?
CVE-2022-47942 affects Linux kernel versions 5.15 through 5.19 before 5.19.2.
Is CVE-2022-47942 a remote attack vulnerability?
Yes, CVE-2022-47942 allows remote attackers to exploit a heap-based buffer overflow.
What components are involved in CVE-2022-47942?
CVE-2022-47942 involves the ksmbd component of the Linux kernel with SMB2_QUERY_INFO_HE operations.