# CVE-2024-56627: ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-12-27T14:51:29.854Z
- Modified: 2026-08-05T11:45:32.397Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read

An offset from client could be a negative value, It could lead
to an out-of-bounds read from the stream_buf.
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 6bd1bf0e8c42f10a9a9679a4c103a9032d30594d; from 0626e6641f6b467447c81dd7678a69c66f7746cf before de4d790dcf53be41736239d7ee63849a16ff5d10; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 27de4295522e9a33e4a3fc72f7b8193df9eebe41; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 81eed631935f2c52cdaf6691c6d48e0b06e8ad73; from 0626e6641f6b467447c81dd7678a69c66f7746cf before fc342cf86e2dc4d2edb0fc2ff5e28b6c7845adb9; 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.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- CISA-ADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6bd1bf0e8c42f10a9a9679a4c103a9032d30594d> (patch)
- <https://git.kernel.org/stable/c/de4d790dcf53be41736239d7ee63849a16ff5d10> (patch)
- <https://git.kernel.org/stable/c/27de4295522e9a33e4a3fc72f7b8193df9eebe41> (patch)
- <https://git.kernel.org/stable/c/81eed631935f2c52cdaf6691c6d48e0b06e8ad73> (patch)
- <https://git.kernel.org/stable/c/fc342cf86e2dc4d2edb0fc2ff5e28b6c7845adb9> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

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

---

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