CVE Catalog

CVE-2024-57791

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.75%

51th percentile - higher than 51% of all known CVEs

Summary

In the Linux kernel's net/smc module, during CLC message reception, the length field in the header can exceed the buffer size, leading to a deadloop when draining data. The patch checks the return value of sock_recvmsg to prevent infinite looping.

Risk Assessment

An attacker could send a crafted CLC message causing a system hang (deadloop) and service unavailability.

Recommendation

Apply a kernel update containing the fix that checks the return value of sock_recvmsg when draining CLC data.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS