Out-of-Bounds Write Vulnerability in Linux Kernel ksmbd Component
CVE-2024-56626

8.8HIGH

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
27 December 2024

Key facts: CVE-2024-56626 is a high severity (CVSS 8.8) vulnerability in Linux. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.8%, the estimated probability of exploitation in the next 30 days. Fixed in Linux 1aea5c9470be2c7129704fb1b9562b1e3e0576f8, 8cd7490fc0f268883e86e840cda5311257af69ca, 164d3597d26d9acff5d5b8bc3208bdcca942dd6a, 313dab082289e460391c82d855430ec8a28ddf81.

What is CVE-2024-56626?

CVE-2024-56626 is an out-of-bounds write vulnerability identified in the ksmbd component of the Linux Kernel. This vulnerability arises when specific client offsets can be negative, enabling the potential for writing data outside the limits of the allocated buffer. The ksmbd component is utilized for implementing SMB file sharing in Linux, making it a vital part of many enterprise environments. The impact of this vulnerability could lead to unintended memory corruption or application crashes, resulting in disrupted services and potential exploitation by malicious actors.

Technical Details

The vulnerability within the ksmbd component is caused by improper handling of offsets specified by clients during the stream write operation. When the configuration parameter vfs objects = streams_xattr is set in the ksmbd.conf file, a negative offset can be processed, which violates memory management rules and allows data to be written beyond allocated buffer space. This flaw implies a risk of corruption in adjacent memory regions, potentially compromising system stability and security.

Potential impact of CVE-2024-56626

  1. System Instability: The out-of-bounds write can lead to application crashes, causing service disruptions in environments that rely on the ksmbd for SMB file sharing.

  2. Memory Corruption: Exploitation of this vulnerability could result in memory corruption, creating opportunities for attackers to alter the behavior of applications and potentially execute arbitrary code.

  3. Enhanced Attack Surface: The ability to write outside allocated memory could open up pathways for more sophisticated attacks, increasing the risk of further exploitation within the overall Linux system and associated applications.

Affected Version(s)

Linux 0626e6641f6b467447c81dd7678a69c66f7746cf < 1aea5c9470be2c7129704fb1b9562b1e3e0576f8

Linux 0626e6641f6b467447c81dd7678a69c66f7746cf < 8cd7490fc0f268883e86e840cda5311257af69ca

Linux 0626e6641f6b467447c81dd7678a69c66f7746cf < 164d3597d26d9acff5d5b8bc3208bdcca942dd6a

References

  • CVE-2026-99676: Linux Kernel Vulnerability in Refcount Management and Lockless Socket Access(CRITICAL)
  • CVE-2026-99582: Linux Kernel Vulnerability in SCTP Control Chunk Migration(HIGH)
  • CVE-2026-99370: Buffer Overflow Vulnerability in Linux Kernel NFSD Product by Linux Foundation(CRITICAL)
  • CVE-2026-99362: Buffer Overflow Vulnerability in Linux Kernel NFS(CRITICAL)
  • CVE-2026-99312: Memory Management Unit Vulnerability in Linux Kernel Affecting KVM(HIGH)
  • CVE-2026-99304: Integer Overflow Vulnerability in Ceph Component of Linux Kernel(CRITICAL)
  • CVE-2026-99288: Memory Reuse Vulnerability in Linux Kernel TCP Established Lookups(HIGH)
  • CVE-2026-99270: Memory Management Issues in Linux Kernel TCP Socket Migration(HIGH)
Browse all analysed vulnerabilities ›

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.