CVE-2024-57791net/smc: check return value of sock_recvmsg when draining clc data
Updated under an hour ago ()
Does this affect you?
It affects Linux and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 15, 2026
Affected products
Linux Linux linux:linux (from the name) | from fb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1 before 82c7ad9ca09975aae737abffd66d1ad98874c13d; from fb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1 before 6b80924af6216277892d5f091f5bfc7d1265fa28; from fb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1 before d7d1f986ebb284b1db8dafca7d1bdb6dd2445cf6; from fb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1 before 7a6927814b4256d603e202ae7c5e38db3b338896; from fb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1 before df3dfe1a93c6298d8c09a18e4fba19ef5b17763b; from fb4f79264c0fc6fd5a68ffe3e31bfff97311e1f1 before c5b8ee5022a19464783058dc6042e8eefa34e8cd | CNA record |
linux linux_kernel linux:linux_kernel | from 5.8.1 before 5.10.233; from 5.11 before 5.15.176; from 5.16 before 6.1.122; from 6.2 before 6.6.68; from 6.7 before 6.12.7; 5.8; 5.8; 5.8; and 4 more ranges | NVD |
References
- https://git.kernel.org/stable/c/82c7ad9ca09975aae737abffd66d1ad98874c13dpatch
- https://git.kernel.org/stable/c/6b80924af6216277892d5f091f5bfc7d1265fa28patch
- https://git.kernel.org/stable/c/d7d1f986ebb284b1db8dafca7d1bdb6dd2445cf6patch
- https://git.kernel.org/stable/c/7a6927814b4256d603e202ae7c5e38db3b338896patch
- https://git.kernel.org/stable/c/df3dfe1a93c6298d8c09a18e4fba19ef5b17763bpatch
- https://git.kernel.org/stable/c/c5b8ee5022a19464783058dc6042e8eefa34e8cdpatch
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.