CVE-2023-53008Published Mar 27, 2025 · Mar 27Updated Oct 28
cifs: fix potential memory leaks in session setup
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
cifs: fix potential memory leaks in session setup
Make sure to free cifs_ses::auth_key.response before allocating it as we might end up leaking memory in reconnect or mounting.
From the CVE record · Linux
The Linux kernel's CIFS session setup can leak memory when mounting or reconnecting because an existing authentication response is not freed before a new one is allocated. The input does not specify whether an attacker can trigger this remotely or locally, or whether authentication or user interaction is required.
Engineers running Linux kernels that use CIFS should check their deployments; affected versions are not specified.