cve.bz

CVE-2024-57791 linux linux kernel

7.5 highEPSS 0.8%Fix available

High (7.5) in linux linux kernel. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-57791 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-57791?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-57791?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-57791 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2024-57791

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2024-57791](https://cve.bz/cve/badge/CVE-2024-57791.svg)](https://cve.bz/cve/CVE-2024-57791)

HTML:

<a href="https://cve.bz/cve/CVE-2024-57791"><img src="https://cve.bz/cve/badge/CVE-2024-57791.svg" alt="CVE-2024-57791"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux5.8 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.233
Linux5.155.15.176
Linux6.16.1.122
Linux6.66.6.68
Linux6.126.12.7
Linuxlater releases6.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.234-1DLA-4075-1
Debian11linux-6.16.1.128-1~deb11u1DLA-4076-1
Debian12linux6.1.123-1DEBIAN-CVE-2024-57791
Debian13, 14linux6.12.8-1DEBIAN-CVE-2024-57791
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-57791
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-57791
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1080.87~20.04.1UBUNTU-CVE-2024-57791 USN-7388-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1086.95~20.04.1UBUNTU-CVE-2024-57791 USN-7421-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1086.95~20.04.1.1USN-7421-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1081.90~20.04.1UBUNTU-CVE-2024-57791 USN-7459-2
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2024-57791
Ubuntu20.04:LTSlinux-hwe-5.155.15.0-136.147~20.04.1UBUNTU-CVE-2024-57791 USN-7407-1
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1074.77~20.04.1UBUNTU-CVE-2024-57791 USN-7458-1
Ubuntu20.04:LTSlinux-lowlatency-hwe-5.155.15.0-135.146~20.04.1UBUNTU-CVE-2024-57791 USN-7387-1
Ubuntu20.04:LTSlinux-oracle-5.15, linux-intel-iotg-5.155.15.0-1077.83~20.04.1UBUNTU-CVE-2024-57791 USN-7387-1 USN-7459-1
Ubuntu20.04:LTSlinux-riscv-5.155.15.0-1075.79~20.04.1UBUNTU-CVE-2024-57791
65 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.195.1SUSE-SU-2025:0771-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.195.1.150300.18.116.1SUSE-SU-2025:0771-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.195.1SUSE-SU-2025:0771-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.150.1SUSE-SU-2025:0576-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.38.1SUSE-SU-2025:0499-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.150.1SUSE-SU-2025:0576-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.150.1.150400.24.74.1SUSE-SU-2025:0576-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.94.1SUSE-SU-2025:0577-1 SUSE-SU-2025:0577-2
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.94.1.150500.6.43.1SUSE-SU-2025:0577-1 SUSE-SU-2025:0577-2
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.244.1SUSE-SU-2025:0236-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_641-8.5.1SUSE-SU-2025:0236-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_541-150300.7.3.1SUSE-SU-2025:0771-1
34 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.38.1SUSE-SU-2025:0499-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.26.1SUSE-SU-2025:0428-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.38.1.150600.12.16.2SUSE-SU-2025:0499-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.26.1SUSE-SU-2025:0557-1
Alpaquita23linux-lts6.1.124-r0BELL-CVE-2024-57791
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2024-57791
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2024-57791

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate by Red Hat because exploitation requires an active Shared Memory Communications (SMC) socket link and results strictly in a denial of service without compromising data confidentiality or system integrity. In default Red Hat Enterprise Linux installations, the SMC protocol is not enabled or utilized by standard network workloads, which significantly restricts real-world exposure. Systems are only vulnerable if an attacker or rogue peer can establish an SMC connection and transmit a malformed handshake message to induce an infinite draining loop in the kernel.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernelAffected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelOut of support scope
Red Hat Enterprise Linux 8kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernelAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-57791.

References

Check your stackJSON