CVE-2025-37775: Linux kernel · ksmbd: fix the warning from __kernel_write_iter
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1046.49~22.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 12:55 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1046.49~22.04.1, 6.8.0-1051.57~22.04.1, 6.8.0-1047.50~22.04.2 +24
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 May 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-100.100?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws@6.8.0-1046.49?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure@6.8.0-1046.52?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-fdepkg:deb/ubuntu/linux-azure-fde@6.8.0-1061.68?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. The vulnerability is fixed by preventing writes to directories in the ksmbd component. The fix is included in the Linux kernel security update referenced by Ubuntu Security Notice USN-7594-1. Users should update to the patched kernel versions as soon as possible to mitigate this and other kernel vulnerabilities.
Description
A vulnerability in the Linux kernel's ksmbd component caused a warning related to __kernel_write_iter, which could allow writing to directories improperly. This issue has been resolved by a patch that prevents writing to directories. The vulnerability affects multiple specific Linux kernel versions. The CVSS score is 5.5, indicating medium severity with potential impact on availability. The vendor has released an official fix as part of a broader Linux kernel security update addressing multiple issues.
References
- ubuntu.com/security/CVE-2025-37775 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-37775 (opens in a new tab)
- git.kernel.org/linus/b37f2f332b40ad1c27f18682a495850f2f04db0a (opens in a new tab)
- git.kernel.org/stable/c/1ed343481ba6911178bc5ca7a51be319eafcc747 (opens in a new tab)
- git.kernel.org/stable/c/2a879da5c34a1e5d971e815d5b30f27eb6d69efc (opens in a new tab)
- git.kernel.org/stable/c/44079e544c9f6e3e9fb43a16ddf8b08cf686d657 (opens in a new tab)
- git.kernel.org/stable/c/b37f2f332b40ad1c27f18682a495850f2f04db0a (opens in a new tab)
- git.kernel.org/stable/c/b7ce8db490286c2e009758fa1416d66aeb333614 (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-7594-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8031-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-8031-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8028-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-8031-3 (opens in a new tab)