Cyber Resilience

CVE-2024-57791

High

Published: 11 January 2025

Published
11 January 2025
Modified
03 November 2025
KEV Added
Patch
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0009 25.5th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-57791 is a high-severity an unspecified weakness vulnerability in Linux Linux Kernel. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 25.5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-11 (Error Handling).

Deeper analysis

CVE-2024-57791 is a denial-of-service vulnerability in the Linux kernel's net/smc (Shared Memory Communications) component. When processing CLC (Common Link Control) messages received over the network, the kernel uses an untrusted length field from the smc_clc_msg_hdr structure to determine the amount of data to drain. If this length exceeds the available buffer length (buflen) in the smc_clc_wait_msg function, the draining process can enter an infinite loop, or "deadloop," because the return value of sock_recvmsg is not checked.

The vulnerability has a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), indicating it is exploitable remotely over the network with low complexity, no privileges or user interaction required. An unauthenticated attacker can send a specially crafted CLC message to a system with SMC enabled, triggering the deadloop during data draining and causing high availability impact, such as kernel hangs or system crashes.

Mitigation is provided through upstream patches in Linux kernel stable trees, as detailed in the referenced commits (e.g., 6b80924af6216277892d5f091f5bfc7d1265fa28, 7a6927814b4256d603e202ae7c5e38db3b338896). These patches add checks for the return value of sock_recvmsg during the draining of excess CLC data, preventing the infinite loop. Security practitioners should apply the relevant stable kernel updates to affected versions.

EU & UK References

Vulnerability details

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

Remote exploitation of kernel vulnerability in SMC/CLC handling directly triggers infinite loop DoS (deadloop), matching T1499.004 Application or System Exploitation.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2026-23388Same product: Linux Linux Kernel
CVE-2026-23242Same product: Linux Linux Kernel
CVE-2026-22991Same product: Linux Linux Kernel
CVE-2025-21717Same product: Linux Linux Kernel
CVE-2026-23459Same product: Linux Linux Kernel
CVE-2026-31640Same product: Linux Linux Kernel
CVE-2026-31739Same product: Linux Linux Kernel
CVE-2024-56772Same product: Linux Linux Kernel
CVE-2026-23095Same product: Linux Linux Kernel
CVE-2026-31417Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
5.8, 6.13 · 5.8.1 — 5.10.233 · 5.11 — 5.15.176 · 5.16 — 6.1.122

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Timely flaw remediation requires applying kernel patches that check sock_recvmsg return values, directly preventing the deadloop in SMC CLC data draining.

prevent

Information input validation ensures untrusted length fields from network CLC messages are checked against buffer limits, preventing exploitation leading to infinite loops.

prevent

Error handling logic mandates checking return values of socket operations during data draining, avoiding deadloops from oversized CLC messages.

References