# CVE-2025-22042: ksmbd: add bounds check for create lease context

- 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.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:03.896Z
- Modified: 2026-08-05T11:56:15.350Z
- Assigned by: Linux

## Description

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

ksmbd: add bounds check for create lease context

Add missing bounds check for create lease context.

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before 629dd37acc336ad778979361c351e782053ea284; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 60b7207893a8a06c78441934931a08fdad63f18e; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 800c482c9ef5910f05e3a713943c67cc6c1d4939; from 0626e6641f6b467447c81dd7678a69c66f7746cf before a41cd52f00907a040ca22c73d4805bb79b0d0972; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 9a1b6ea955e6c7b29939a6d98701202f9d9644ec; from 0626e6641f6b467447c81dd7678a69c66f7746cf before bab703ed8472aa9d109c5f8c1863921533363dae; 5.15 (not affected: before 5.15; from 6.1.134 up to 6.1.*; from 6.6.87 up to 6.6.*; from 6.12.23 up to 6.12.*; from 6.13.11 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.15 before 6.1.134; from 6.2 before 6.6.87; from 6.7 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2
- debian debian_linux: 11.0

## 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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/629dd37acc336ad778979361c351e782053ea284> (patch)
- <https://git.kernel.org/stable/c/60b7207893a8a06c78441934931a08fdad63f18e> (patch)
- <https://git.kernel.org/stable/c/800c482c9ef5910f05e3a713943c67cc6c1d4939> (patch)
- <https://git.kernel.org/stable/c/a41cd52f00907a040ca22c73d4805bb79b0d0972> (patch)
- <https://git.kernel.org/stable/c/9a1b6ea955e6c7b29939a6d98701202f9d9644ec> (patch)
- <https://git.kernel.org/stable/c/bab703ed8472aa9d109c5f8c1863921533363dae> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2025-22042 · Whole record: https://cve.day/CVE-2025-22042.json · Rebuilt by cve.day 2026-11-25T22:58:56.579Z
