CVE-2025-38488
BaseFortify
Publication date: 2025-07-28
Last updated on: 2025-11-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free bug in the Linux kernel's SMB client code, specifically in the crypt_message() function when using asynchronous cryptographic operations. When hardware crypto accelerators perform encryption or decryption asynchronously, the code incorrectly frees the request buffer before the operation completes. This leads to the hardware driver accessing freed memory, causing kernel crashes due to NULL pointer dereferences.
How can this vulnerability impact me? :
This vulnerability can cause kernel crashes on systems using hardware crypto accelerators with the affected Linux kernel SMB client code. Such crashes can lead to system instability, denial of service, or unexpected reboots, impacting system availability and reliability.
What immediate steps should I take to mitigate this vulnerability?
Apply the patch that restores proper asynchronous crypto handling in the Linux kernel smb client code. This includes using DECLARE_CRYPTO_WAIT for completion tracking, setting aead_request_set_callback for async completion notification, and calling crypto_wait_req to wait for operation completion. These changes ensure the request buffer is not freed until the crypto operation completes, preventing use-after-free crashes. Until patched, avoid using hardware crypto accelerators that perform asynchronous AEAD operations with the affected smb client code.