CVE-2024-57791
Last modified
CVE-2024-57791 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.74% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.8.1, < 5.10.233 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.176 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.122 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.68 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.7 | — |
| Linux | Linux Kernel | 5.8 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-57791?
How severe is CVE-2024-57791?
How do I fix CVE-2024-57791?
Are you affected by CVE-2024-57791?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
