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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.97% (percentile 61, 2026-11-26)
- **CWE:** CWE-120, CWE-125
- **Published:** 2024-05-01T05:18:39.096Z
- **Modified:** 2026-08-05T11:28:33.141Z

## Who should check

- Anyone running Linux \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 480469f145e5abf83361e608734e421b7d99693d; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< ad6480c9a5d884e2704adc51d69895d93339176c; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 39bdc4197acf2ed13269167ccf093ee28cfa2a4e; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 2dcda336b6e80b72d58d30d40f2fad9724e5fe63; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 0c5541b4c980626fa3cab16ba1a451757778bbb5; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da
- Anyone running Linux 5.15

## 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.

## Affected and fixed versions

- Linux: \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 480469f145e5abf83361e608734e421b7d99693d; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< ad6480c9a5d884e2704adc51d69895d93339176c; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 39bdc4197acf2ed13269167ccf093ee28cfa2a4e; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 2dcda336b6e80b72d58d30d40f2fad9724e5fe63; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 0c5541b4c980626fa3cab16ba1a451757778bbb5; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26952. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26952.md
Affected: Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 480469f145e5abf83361e608734e421b7d99693d; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < ad6480c9a5d884e2704adc51d69895d93339176c; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 39bdc4197acf2ed13269167ccf093ee28cfa2a4e; >= 0626e6641f6b467447c81dd…
Fixed in: Linux 480469f145e5abf83361e608734e421b7d99693d, Linux 39bdc4197acf2ed13269167ccf093ee28cfa2a4e, Linux 2dcda336b6e80b72d58d30d40f2fad9724e5fe63, Linux 0c5541b4c980626fa3cab16ba1a451757778bbb5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26952 being exploited?

There is no confirmed exploitation: CVE-2024-26952 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.97% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26952?

High: CVSS 8.3 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-26952?

Linux \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 480469f145e5abf83361e608734e421b7d99693d; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< ad6480c9a5d884e2704adc51d69895d93339176c; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 39bdc4197acf2ed13269167ccf093ee28cfa2a4e; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 2dcda336b6e80b72d58d30d40f2fad9724e5fe63; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< 0c5541b4c980626fa3cab16ba1a451757778bbb5; \>= 0626e6641f6b467447c81dd7678a69c66f7746cf, \< c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da; Linux 5.15.

### Is there a fix for CVE-2024-26952?

Yes. Fixed in Linux 480469f145e5abf83361e608734e421b7d99693d, Linux 39bdc4197acf2ed13269167ccf093ee28cfa2a4e, Linux 2dcda336b6e80b72d58d30d40f2fad9724e5fe63, Linux 0c5541b4c980626fa3cab16ba1a451757778bbb5. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26952?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26952>

HTML: <https://flawdb.com/CVE-2024-26952> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26952>
