# CVE-2024-56626: ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2024-12-27T14:51:29.078Z
- Modified: 2026-08-05T11:45:31.355Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before 1aea5c9470be2c7129704fb1b9562b1e3e0576f8; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 8cd7490fc0f268883e86e840cda5311257af69ca; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 164d3597d26d9acff5d5b8bc3208bdcca942dd6a; from 0626e6641f6b467447c81dd7678a69c66f7746cf before c5797f195c67132d061d29c57a7c6d30530686f0; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 313dab082289e460391c82d855430ec8a28ddf81; 5.15 (not affected: before 5.15; from 5.15.176 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.66 up to 6.6.*; from 6.12.5 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.15 before 5.15.176; from 5.16 before 6.1.120; from 6.2 before 6.6.66; from 6.7 before 6.12.5; 6.13

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/1aea5c9470be2c7129704fb1b9562b1e3e0576f8> (patch)
- <https://git.kernel.org/stable/c/8cd7490fc0f268883e86e840cda5311257af69ca> (patch)
- <https://git.kernel.org/stable/c/164d3597d26d9acff5d5b8bc3208bdcca942dd6a> (patch)
- <https://git.kernel.org/stable/c/c5797f195c67132d061d29c57a7c6d30530686f0> (patch)
- <https://git.kernel.org/stable/c/313dab082289e460391c82d855430ec8a28ddf81> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-56626](https://www.cve.org/CVERecord?id=CVE-2024-56626), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-56626](https://nvd.nist.gov/vuln/detail/CVE-2024-56626), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-56626 · Whole record: https://cve.day/CVE-2024-56626.json · Rebuilt by cve.day 2026-11-25T22:58:50.488Z
