CVE-2025-22042: Linux kernel · ksmbd: add bounds check for create lease context
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.1 High · fixed in 6.8.0-1041.43~22.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1041.43~22.04.1, 6.8.0-1041.47~22.04.1, 6.8.0-1042.45~22.04.1 +33
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde@6.17.0-1017.17?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux@6.8.0-86.87?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws@6.8.0-1041.43?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure@6.8.0-1041.47?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11@6.11.0-1018.18~24.04.1?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-fde-6.17pkg:deb/ubuntu/linux-azure-fde-6.17@6.17.0-1017.17~24.04.1?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
An official patch is available and should be applied to affected Linux kernel versions. The Ubuntu security advisory USN-7594-1 provides updates that fix this and other kernel vulnerabilities. Users should update their systems to the patched kernel versions as soon as possible to mitigate this issue.
Description
A vulnerability in the Linux kernel's ksmbd component related to missing bounds checking for the create lease context has been resolved. This flaw could allow an attacker with limited privileges to cause a denial of service or potentially impact confidentiality. The issue affects multiple specific Linux kernel versions. An official patch is available to address this vulnerability.
References
- ubuntu.com/security/CVE-2025-22042 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-22042 (opens in a new tab)
- git.kernel.org/linus/bab703ed8472aa9d109c5f8c1863921533363dae (opens in a new tab)
- git.kernel.org/stable/c/60b7207893a8a06c78441934931a08fdad63f18e (opens in a new tab)
- git.kernel.org/stable/c/629dd37acc336ad778979361c351e782053ea284 (opens in a new tab)
- git.kernel.org/stable/c/800c482c9ef5910f05e3a713943c67cc6c1d4939 (opens in a new tab)
- git.kernel.org/stable/c/9a1b6ea955e6c7b29939a6d98701202f9d9644ec (opens in a new tab)
- git.kernel.org/stable/c/a41cd52f00907a040ca22c73d4805bb79b0d0972 (opens in a new tab)
- git.kernel.org/stable/c/bab703ed8472aa9d109c5f8c1863921533363dae (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7605-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7606-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7605-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7628-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7835-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7835-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7835-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7835-4 (opens in a new tab)