# CVE-2024-26952: ksmbd: fix potencial out-of-bounds when buffer offset is invalid

- Severity: High 8.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/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.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2024-05-01T05:18:39.096Z
- Modified: 2026-08-05T11:28:33.141Z
- Weaknesses: CWE-120, CWE-125
- 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 potencial out-of-bounds when buffer offset is invalid

I found potencial out-of-bounds when buffer offset fields of a few requests
is invalid. This patch set the minimum value of buffer offset field to
->Buffer offset to validate buffer length.

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before 480469f145e5abf83361e608734e421b7d99693d; from 0626e6641f6b467447c81dd7678a69c66f7746cf before ad6480c9a5d884e2704adc51d69895d93339176c; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 39bdc4197acf2ed13269167ccf093ee28cfa2a4e; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 2dcda336b6e80b72d58d30d40f2fad9724e5fe63; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 0c5541b4c980626fa3cab16ba1a451757778bbb5; from 0626e6641f6b467447c81dd7678a69c66f7746cf before c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da; 5.15 (not affected: before 5.15; from 5.15.181 up to 5.15.*; from 6.1.119 up to 6.1.*; from 6.6.32 up to 6.6.*; from 6.7.12 up to 6.7.*; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 1da177e4c3f4 before 2dcda336b6e8; from 5.15 before 5.15.181; from 5.16 before 6.1.119; from 6.2 before 6.6.32; from 6.7 before 6.7.12; from 6.8 before 6.8.3

## Every score

- Linux: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/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/480469f145e5abf83361e608734e421b7d99693d> (patch)
- <https://git.kernel.org/stable/c/ad6480c9a5d884e2704adc51d69895d93339176c> (patch)
- <https://git.kernel.org/stable/c/39bdc4197acf2ed13269167ccf093ee28cfa2a4e> (patch)
- <https://git.kernel.org/stable/c/2dcda336b6e80b72d58d30d40f2fad9724e5fe63> (patch)
- <https://git.kernel.org/stable/c/0c5541b4c980626fa3cab16ba1a451757778bbb5> (patch)
- <https://git.kernel.org/stable/c/c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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