CVE-2024-0565: Kernel: cifs filesystem decryption improper input validation remote code execution vulnerability in function receive_encrypted_standard of client
An out-of-bounds memory read flaw was found in receiveencryptedstandard in fs/smb/client/smb2ops.c in the SMB Client sub-component in the Linux Kernel. This issue occurs due to integer underflow on the memcpy length, leading to a denial of service.
Other sources
Kernel: cifs filesystem decryption improper input validation remote code execution vulnerability in function receiveencryptedstandard of client
— Microsoft
Linux Kernel CIFS Filesystem Decryption Improper Input Validation Remote Code Execution Vulnerability.
This case affected the cifs.ko, which is linux CIFS file system module, the client side of the CIFS didn't validate the NextCommand field, which is controlled from server side, it leads to DoS (due to OOB read on the memcpy source buffer) and wild copy (due to integer underflow on the memcpy length), both results are caused by the NextCommand without validation, that's why they merged into same case
Reference; https://www.spinics.net/lists/stable-commits/msg328851.html
— Red Hat
Linux Kernel could allow a remote authenticated attacker to execute arbitrary code on the system, caused by an out-of-bounds memory read due to an integer underflow on the memcpy length. By sending a specially crafted request, an attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service condition on the system.
— IBM
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1 - Upgrade
Upgrade
redhat/Kernelto a version that resolves this vulnerability.Fixed in 6.7
Event History
Frequently Asked Questions
What is the severity of CVE-2024-0565?
The severity of CVE-2024-0565 is classified as high due to its potential for causing a denial of service.
How do I fix CVE-2024-0565?
To fix CVE-2024-0565, update your system to the latest kernel version that patches this vulnerability.
Which versions of the Linux Kernel are affected by CVE-2024-0565?
CVE-2024-0565 affects Linux Kernel versions below 6.7 and specific earlier release candidates.
Does CVE-2024-0565 affect IBM QRadar SIEM?
Yes, CVE-2024-0565 affects IBM QRadar SIEM versions up to 7.5.0 UP8 IF01.
What are the potential impacts of CVE-2024-0565?
The potential impacts of CVE-2024-0565 include an out-of-bounds memory read leading to system instability and denial of service.