CVE-2024-56626

published 27 Dec 2024 · updated 5 Aug 2026

ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 164d3597d26d9acff5d5b8bc3208bdcca942dd6a, Kernel 1aea5c9470be2c7129704fb1b9562b1e3e0576f8, Kernel 313dab082289e460391c82d855430ec8a28ddf81 and 2 more.

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write An offset from client could be a negative value, It could allows to write data outside the bounds of the allocated buffer. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <164d3597d26d9acff5d5b8bc3208bdcca942dd6a, >=0626e6641f6b467447c81dd7678a69c66f7746cf <1aea5c9470be2c7129704fb1b9562b1e3e0576f8, >=0626e6641f6b467447c81dd7678a69c66f7746cf <313dab082289e460391c82d855430ec8a28ddf81, >=0626e6641f6b467447c81dd7678a69c66f7746cf <8cd7490fc0f268883e86e840cda5311257af69ca, >=0626e6641f6b467447c81dd7678a69c66f7746cf <c5797f195c67132d061d29c57a7c6d30530686f0164d3597d26d9acff5d5b8bc3208bdcca942dd6a, 1aea5c9470be2c7129704fb1b9562b1e3e0576f8, 313dab082289e460391c82d855430ec8a28ddf81, 8cd7490fc0f268883e86e840cda5311257af69ca, c5797f195c67132d061d29c57a7c6d30530686f0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56626 severity on Zeptric[![CVE-2024-56626](https://zeptric.io/badge/cve/CVE-2024-56626.svg)](https://zeptric.io/cve/CVE-2024-56626)