CVE-2024-57791: Linux kernel · net/smc: check return value of sock_recvmsg when draining clc data
Source GCVE Database
Not known to be exploited · CVSS 7.5 High.
Data as of 30 Oct 2026, 00:57 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A patch has been applied to the Linux kernel that checks the return value of sock_recvmsg when draining clc data, preventing the deadloop. Users should apply the official kernel updates containing this fix to mitigate the vulnerability.
Description
CVE-2024-57791 is a vulnerability in the Linux kernel's net/smc component related to improper handling of the length field in smc_clc_msg_hdr during receipt of clc messages. The length field, sourced from network data, may be larger than the buffer length, potentially causing a deadlock loop when draining excess data. A patch has been applied to check the return value of sock_recvmsg to prevent this deadlock.
References
- nvd.nist.gov/vuln/detail/CVE-2024-57791 (opens in a new tab)
- git.kernel.org/stable/c/6b80924af6216277892d5f091f5bfc7d1265fa28 (opens in a new tab)
- git.kernel.org/stable/c/7a6927814b4256d603e202ae7c5e38db3b338896 (opens in a new tab)
- git.kernel.org/stable/c/82c7ad9ca09975aae737abffd66d1ad98874c13d (opens in a new tab)
- git.kernel.org/stable/c/c5b8ee5022a19464783058dc6042e8eefa34e8cd (opens in a new tab)
- git.kernel.org/stable/c/d7d1f986ebb284b1db8dafca7d1bdb6dd2445cf6 (opens in a new tab)
- git.kernel.org/stable/c/df3dfe1a93c6298d8c09a18e4fba19ef5b17763b (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)