Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-0565: Integer Underflow (Wrap or Wraparound)

0
Medium
VulnerabilityCVE-2024-0565cvecve-2024-0565
Published: Mon Jan 15 2024 (01/15/2024, 20:02:02 UTC)
Source: CVE Database V5

Description

An out-of-bounds memory read flaw was found in receive_encrypted_standard in fs/smb/client/smb2ops.c in the SMB Client sub-component in the Linux Kernel. This issue occurs due to integer underflow on the memcpy length, leading to a denial of service.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 11:04:01 UTC

Technical Analysis

CVE-2024-0565 is a vulnerability identified in the Linux Kernel's SMB Client sub-component, specifically within the receive_encrypted_standard function in the smb2ops.c source file. The issue stems from an integer underflow condition affecting the length parameter used in a memcpy operation. Integer underflow occurs when an arithmetic operation results in a value smaller than the minimum representable value, causing the length to wrap around to a very large unsigned integer. This leads to an out-of-bounds memory read during the memcpy call, which can cause memory corruption or denial of service (DoS) by crashing the kernel or destabilizing the system. The vulnerability requires local privileges (PR:L) and user interaction (UI:R) to exploit, and the attack complexity is high (AC:H), meaning exploitation is not trivial. The CVSS v3.1 vector indicates the attack vector is adjacent (AV:A), meaning the attacker must be on the same network segment or have some level of network proximity. The impact on confidentiality, integrity, and availability is high (C:H/I:H/A:H), indicating that successful exploitation could lead to significant system compromise including potential kernel crashes or data leakage. No public exploits are known at this time, and no patches are linked yet, but the issue is published and tracked by Red Hat and the CVE database. This vulnerability affects Linux kernel versions that include the SMB client implementation, which is widely used in enterprise environments for file sharing over SMB protocol.

Potential Impact

The primary impact of CVE-2024-0565 is denial of service through kernel crashes caused by out-of-bounds memory reads. This can disrupt critical services relying on SMB client functionality, affecting file sharing and network operations. Additionally, the memory corruption could potentially be leveraged for privilege escalation or information disclosure, threatening confidentiality and integrity of data. Organizations running Linux servers or desktops with SMB client enabled are at risk, especially those in enterprise, cloud, and data center environments where SMB is used for interoperability with Windows systems. The requirement for local privileges and user interaction limits remote exploitation but insider threats or compromised user accounts could exploit this vulnerability. Disruption of SMB services can impact business continuity, data availability, and operational efficiency. The medium CVSS score reflects the balance between impact severity and exploitation complexity. Without timely patching, organizations remain vulnerable to targeted attacks or accidental crashes caused by malformed SMB packets.

Mitigation Recommendations

To mitigate CVE-2024-0565, organizations should: 1) Monitor vendor advisories and apply kernel patches promptly once released to fix the integer underflow issue. 2) Limit SMB client usage on Linux systems to only trusted networks and users to reduce exposure. 3) Employ network segmentation to isolate systems that require SMB client functionality from untrusted networks. 4) Use host-based intrusion detection systems (HIDS) to monitor for unusual kernel crashes or suspicious SMB traffic patterns. 5) Restrict local user privileges to minimize the risk of exploitation by malicious insiders or compromised accounts. 6) Disable SMB client functionality on Linux systems where it is not required to reduce attack surface. 7) Conduct regular security audits and vulnerability scans focusing on kernel and SMB components. 8) Educate users on the risks of interacting with untrusted SMB shares or network resources to reduce user interaction exploitation vectors.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2024-01-15T19:19:12.076Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 683f034b182aa0cae27e6717

Added to database: 6/3/2025, 2:14:35 PM

Last enriched: 2/28/2026, 11:04:01 AM

Last updated: 3/26/2026, 9:35:31 AM

Views: 66

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses