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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-04-16 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2025-22042, DEBIAN-CVE-2025-22042
- Record: https://cvemate.com/vulnerability/CVE-2025-22042 · JSON: https://cvemate.com/vulnerability/CVE-2025-22042/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.538%, percentile 46.791%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 131)

- debian linux (Debian): \< 6.1.135-1 \| \< 6.12.25-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-86.87
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1041.43
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1041.43~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1041.43+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1041.47
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 29)

- <https://git.kernel.org/stable/c/629dd37acc336ad778979361c351e782053ea284>
- <https://git.kernel.org/stable/c/60b7207893a8a06c78441934931a08fdad63f18e>
- <https://git.kernel.org/stable/c/800c482c9ef5910f05e3a713943c67cc6c1d4939>
- <https://git.kernel.org/stable/c/a41cd52f00907a040ca22c73d4805bb79b0d0972>
- <https://git.kernel.org/stable/c/9a1b6ea955e6c7b29939a6d98701202f9d9644ec>
- <https://git.kernel.org/stable/c/bab703ed8472aa9d109c5f8c1863921533363dae>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://ubuntu.com/security/CVE-2025-22042>
- <https://www.cve.org/CVERecord?id=CVE-2025-22042>
- <https://git.kernel.org/linus/bab703ed8472aa9d109c5f8c1863921533363dae>
- <https://ubuntu.com/security/notices/USN-7594-1>
- <https://ubuntu.com/security/notices/USN-7594-2>
- <https://ubuntu.com/security/notices/USN-7605-1>
- <https://ubuntu.com/security/notices/USN-7606-1>
- <https://ubuntu.com/security/notices/USN-7605-2>
- <https://ubuntu.com/security/notices/USN-7594-3>
- <https://ubuntu.com/security/notices/USN-7628-1>
- <https://ubuntu.com/security/notices/USN-7835-1>
- <https://ubuntu.com/security/notices/USN-7835-2>
- <https://ubuntu.com/security/notices/USN-7835-3>

---

Data as of 2026-12-05T06:21:50.932Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
