CVE-2025-37775 ksmbd: fix the warning from __kernel_write_iter
A flaw in the Linux kernel ksmbd module allows writing to directories, triggering a kernel warning and potential denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-37775?
CVE-2025-37775 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-37775?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-37775?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-37775 being exploited?
There is no known exploitation of CVE-2025-37775 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-77567, BELL-CVE-2025-37775, DEBIAN-CVE-2025-37775, GHSA-75wh-ww84-2q6c, ROOT-OS-DEBIAN-12-CVE-2025-37775, ROOT-OS-UBUNTU-2204-CVE-2025-37775 and 2 more.