CVE-2024-57791
HighIn 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.
CVSS 3.1 score
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.8
and later are affected. Fixed in
5.10.233,
5.15.176,
6.1.122,
6.6.68,
6.12.7,
6.13
and their respective stable series.
References
The following references provide additional information about CVE-2024-57791 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6b80924af6216277892d5f091f5bfc7d1265fa28
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7a6927814b4256d603e202ae7c5e38db3b338896
-
PatchKernel patch commithttps://git.kernel.org/stable/c/82c7ad9ca09975aae737abffd66d1ad98874c13d
Frequently asked questions
-
What is CVE-2024-57791?
CVE-2024-57791 is a High severity Linux kernel vulnerability with a CVSS score of 7.5 out of 10 . It affects Linux kernel versions from 5.8 onward and has been patched in 5.10.233, 5.15.176, 6.1.122 and others. CVE-2024-57791 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-57791?
CVE-2024-57791 has a CVSS score of 7.5 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-57791?
Yes — CVE-2024-57791 has been patched. Fixed versions include 5.10.233, 5.15.176, 6.1.122 and others. If you are running Linux kernel 5.8 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-57791 actively exploited?
No — CVE-2024-57791 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.