CVE-2024-57791 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: check return value of sock_recvmsg when draining clc data When receiving clc msg, the field length in smc_clc_msg_hdr indicates the length of msg should be received from network and the value should not be fully trusted as it is from the network. Once the value of length exceeds the value of buflen in function smc_clc_wait_msg it may run into deadloop when trying to drain the remaining data exceeding buflen. This patch checks the return value of sock_recvmsg when draining data in case of deadloop in draining.
A vulnerability in the Linux kernel's implementation of the SMC (Shared Memory Communication) protocol can lead to a deadlock condition. This issue arises because the length of messages received over the network can be manipulated, allowing values to exceed the buffer length expected by the kernel. When this happens, the kernel may enter a dead loop while trying to process the excess data, effectively causing a denial-of-service condition. The vulnerability has been addressed by adding a check on the return value of the message-receiving function, preventing the deadlock scenario.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.8.1, < 5.10.233 >= 5.11, < 5.15.176 >= 5.16, < 6.1.122 >= 6.2, < 6.6.68 >= 6.7, < 6.12.7 5.8 - 5.8 rc5 5.8 rc6 5.8 rc7 6.13 rc1 6.13 rc2 6.13 rc3 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CVE |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 16, 2025 | Initial Analysis | [email protected] |
| Jan 11, 2025 | New CVE Received | kernel.org |