CVE-2025-38575
ksmbd: use aead_request_free to match aead_request_alloc
Check your servers for CVE-2025-38575
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-38575 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: use aead_request_free to match aead_request_alloc
Use aead_request_free() instead of kfree() to properly free memory allocated by aead_request_alloc(). This ensures sensitive crypto data is zeroed before being freed.
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 571b342d4688801fc1f6a1934389dac09425dc93 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before a6b594868268c3a7bfaeced912525cd2c445529a affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 1de7fec4d3012672e31eeb6679ea60f7ca010ef9 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 3e341dbd5f5a6e5a558e67da80731dc38a7f758c affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before aef10ccd74512c52e30c5ee19d0031850973e78d affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 46caeae23035192b9cc41872c827f30d0233f16e affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 6171063e9d046ffa46f51579b2ca4a43caef581a
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.180 up to and including 5.15.* unaffected from 6.1.134 up to and including 6.1.* unaffected from 6.6.87 up to and including 6.6.* unaffected from 6.12.23 up to and including 6.12.* unaffected from 6.13.11 up to and including 6.13.* unaffected from 6.14.2 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-38575 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38575
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-38575
trivy image --scanners vuln IMAGE | grep CVE-2025-38575
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/571b342d4688801fc1f6a1934389dac09425dc93 git.kernel.org
- https://git.kernel.org/stable/c/a6b594868268c3a7bfaeced912525cd2c445529a git.kernel.org
- https://git.kernel.org/stable/c/1de7fec4d3012672e31eeb6679ea60f7ca010ef9 git.kernel.org
- https://git.kernel.org/stable/c/3e341dbd5f5a6e5a558e67da80731dc38a7f758c git.kernel.org
- https://git.kernel.org/stable/c/aef10ccd74512c52e30c5ee19d0031850973e78d git.kernel.org
- https://git.kernel.org/stable/c/46caeae23035192b9cc41872c827f30d0233f16e git.kernel.org
- https://git.kernel.org/stable/c/6171063e9d046ffa46f51579b2ca4a43caef581a git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
Source: the record CVE-2025-38575 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