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

Published Apr 18, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: use aeadrequestfree to match aeadrequestalloc

Use aeadrequestfree() instead of kfree() to properly free memory allocated by aeadrequestalloc(). This ensures sensitive crypto data is zeroed before being freed.

Affected Software

11 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.92.2-1
Microsoft azl3 kernel 6.6.85.1-4
Linux Linux kernel>=5.15<5.15.180
Linux Linux kernel>=5.16<6.1.134
Linux Linux kernel>=6.2<6.6.87
Linux Linux kernel>=6.7<6.12.23
Linux Linux kernel>=6.13<6.13.11
Linux Linux kernel>=6.14<6.14.2
Debian Debian Linux=11.0
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  2. Compensating control

    In ksmbd, replace kfree() with aead_request_free() when freeing memory allocated by aead_request_alloc(), so sensitive cryptographic data is zeroed before release.

Event History

Apr 18, 2025
CVE Published
via MITRE·07:01 AM
Data Sourced
via MITRE·07:01 AM
Description
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-38575?

CVE-2025-38575 has been classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-38575?

To fix CVE-2025-38575, ensure you update your Linux kernel to a version that incorporates the fix for this vulnerability.

3

What does CVE-2025-38575 affect?

CVE-2025-38575 affects the Linux kernel specifically in its ksmbd implementation.

4

What is the impact of CVE-2025-38575?

The impact of CVE-2025-38575 is that it may lead to improper handling of sensitive crypto data if memory is not correctly freed.

5

Is CVE-2025-38575 a publicly disclosed vulnerability?

Yes, CVE-2025-38575 is a publicly disclosed vulnerability affecting the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203