CVE-2025-38575

published 18 Apr 2025 · updated 11 May 2026

ksmbd: use aead_request_free to match aead_request_alloc

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1de7fec4d3012672e31eeb6679ea60f7ca010ef9, Kernel 3e341dbd5f5a6e5a558e67da80731dc38a7f758c, Kernel 46caeae23035192b9cc41872c827f30d0233f16e and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <1de7fec4d3012672e31eeb6679ea60f7ca010ef9, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <3e341dbd5f5a6e5a558e67da80731dc38a7f758c, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <46caeae23035192b9cc41872c827f30d0233f16e, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <571b342d4688801fc1f6a1934389dac09425dc93, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <6171063e9d046ffa46f51579b2ca4a43caef581a, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <a6b594868268c3a7bfaeced912525cd2c445529a, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <aef10ccd74512c52e30c5ee19d0031850973e78d1de7fec4d3012672e31eeb6679ea60f7ca010ef9, 3e341dbd5f5a6e5a558e67da80731dc38a7f758c, 46caeae23035192b9cc41872c827f30d0233f16e, 571b342d4688801fc1f6a1934389dac09425dc93, 6171063e9d046ffa46f51579b2ca4a43caef581a, a6b594868268c3a7bfaeced912525cd2c445529a, aef10ccd74512c52e30c5ee19d0031850973e78d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38575 severity on Zeptric[![CVE-2025-38575](https://zeptric.io/badge/cve/CVE-2025-38575.svg)](https://zeptric.io/cve/CVE-2025-38575)