CVE-2025-37775
ksmbd: fix the warning from __kernel_write_iter
Check your servers for CVE-2025-37775
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37775 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.32% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 44079e544c9f6e3e9fb43a16ddf8b08cf686d657 affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before b7ce8db490286c2e009758fa1416d66aeb333614 affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 2a879da5c34a1e5d971e815d5b30f27eb6d69efc affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 1ed343481ba6911178bc5ca7a51be319eafcc747 affected from 0626e6641f6b467447c81dd7678a69c66f7746cf, before b37f2f332b40ad1c27f18682a495850f2f04db0a
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 6.1.135 up to and including 6.1.* unaffected from 6.6.88 up to and including 6.6.* unaffected from 6.12.25 up to and including 6.12.* unaffected from 6.14.4 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37775 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37775
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-37775
trivy image --scanners vuln IMAGE | grep CVE-2025-37775
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/44079e544c9f6e3e9fb43a16ddf8b08cf686d657 git.kernel.org
- https://git.kernel.org/stable/c/b7ce8db490286c2e009758fa1416d66aeb333614 git.kernel.org
- https://git.kernel.org/stable/c/2a879da5c34a1e5d971e815d5b30f27eb6d69efc git.kernel.org
- https://git.kernel.org/stable/c/1ed343481ba6911178bc5ca7a51be319eafcc747 git.kernel.org
- https://git.kernel.org/stable/c/b37f2f332b40ad1c27f18682a495850f2f04db0a git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
Source: the record CVE-2025-37775 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse