# CVE-2025-37775: ksmbd: fix the warning from __kernel_write_iter

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-05-01T13:07:14.356Z
- Modified: 2026-06-17T09:15:24.940Z
- Assigned by: Linux

## Description

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

ksmbd: fix the warning from __kernel_write_iter

[ 2110.972290] ------------[ cut here ]------------
[ 2110.972301] WARNING: CPU: 3 PID: 735 at fs/read_write.c:599 __kernel_write_iter+0x21b/0x280

This patch doesn't allow writing to directory.

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before 44079e544c9f6e3e9fb43a16ddf8b08cf686d657; from 0626e6641f6b467447c81dd7678a69c66f7746cf before b7ce8db490286c2e009758fa1416d66aeb333614; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 2a879da5c34a1e5d971e815d5b30f27eb6d69efc; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 1ed343481ba6911178bc5ca7a51be319eafcc747; from 0626e6641f6b467447c81dd7678a69c66f7746cf before b37f2f332b40ad1c27f18682a495850f2f04db0a; 5.15 (not affected: before 5.15; from 6.1.135 up to 6.1.*; from 6.6.88 up to 6.6.*; from 6.12.25 up to 6.12.*; from 6.14.4 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.15 before 6.1.135; from 6.2 before 6.6.88; from 6.7 before 6.12.25; from 6.13 before 6.14.4; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/44079e544c9f6e3e9fb43a16ddf8b08cf686d657> (patch)
- <https://git.kernel.org/stable/c/b7ce8db490286c2e009758fa1416d66aeb333614> (patch)
- <https://git.kernel.org/stable/c/2a879da5c34a1e5d971e815d5b30f27eb6d69efc> (patch)
- <https://git.kernel.org/stable/c/1ed343481ba6911178bc5ca7a51be319eafcc747> (patch)
- <https://git.kernel.org/stable/c/b37f2f332b40ad1c27f18682a495850f2f04db0a> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list, third-party-advisory)

## Sources

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

---

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