# CVE-2025-38575: ksmbd: use aead_request_free to match aead_request_alloc

- 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.29%, higher than 14% of CVEs (2026-11-30)
- Published: 2025-04-18T07:01:33.904Z
- Modified: 2026-06-17T09:17:08.580Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 571b342d4688801fc1f6a1934389dac09425dc93; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before a6b594868268c3a7bfaeced912525cd2c445529a; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 1de7fec4d3012672e31eeb6679ea60f7ca010ef9; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 3e341dbd5f5a6e5a558e67da80731dc38a7f758c; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before aef10ccd74512c52e30c5ee19d0031850973e78d; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 46caeae23035192b9cc41872c827f30d0233f16e; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 6171063e9d046ffa46f51579b2ca4a43caef581a; 5.15 (not affected: before 5.15; from 5.15.180 up to 5.15.*; from 6.1.134 up to 6.1.*; from 6.6.87 up to 6.6.*; from 6.12.23 up to 6.12.*; from 6.13.11 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.15 before 5.15.180; from 5.16 before 6.1.134; from 6.2 before 6.6.87; from 6.7 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/571b342d4688801fc1f6a1934389dac09425dc93> (patch)
- <https://git.kernel.org/stable/c/a6b594868268c3a7bfaeced912525cd2c445529a> (patch)
- <https://git.kernel.org/stable/c/1de7fec4d3012672e31eeb6679ea60f7ca010ef9> (patch)
- <https://git.kernel.org/stable/c/3e341dbd5f5a6e5a558e67da80731dc38a7f758c> (patch)
- <https://git.kernel.org/stable/c/aef10ccd74512c52e30c5ee19d0031850973e78d> (patch)
- <https://git.kernel.org/stable/c/46caeae23035192b9cc41872c827f30d0233f16e> (patch)
- <https://git.kernel.org/stable/c/6171063e9d046ffa46f51579b2ca4a43caef581a> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list, third-party-advisory)

## Sources

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

---

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