CVE-2024-56626: Linux kernel · ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:51 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel. Users should apply the official kernel updates that include this patch. If updating immediately is not possible, consider disabling or not enabling the 'vfs objects = streams_xattr' parameter in ksmbd.conf as a temporary mitigation. Monitor vendor advisories for official patch releases and apply them promptly.
Description
CVE-2024-56626 is a high-severity vulnerability in the Linux kernel's ksmbd component. It involves an out-of-bounds write in the function ksmbd_vfs_stream_write caused by a negative offset value from the client. This flaw can lead to writing data outside the allocated buffer when the 'vfs objects = streams_xattr' parameter is set in ksmbd.conf. The vulnerability has been fixed in the Linux kernel.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56626 (opens in a new tab)
- git.kernel.org/stable/c/164d3597d26d9acff5d5b8bc3208bdcca942dd6a (opens in a new tab)
- git.kernel.org/stable/c/1aea5c9470be2c7129704fb1b9562b1e3e0576f8 (opens in a new tab)
- git.kernel.org/stable/c/313dab082289e460391c82d855430ec8a28ddf81 (opens in a new tab)
- git.kernel.org/stable/c/8cd7490fc0f268883e86e840cda5311257af69ca (opens in a new tab)
- git.kernel.org/stable/c/c5797f195c67132d061d29c57a7c6d30530686f0 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)