9.8critical
smb: client: fix double put of @cfile in smb2_rename_path()
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1e60bc0e954389af82f1d9a85f13a63f6572350f before b27ea9c96efd2c252a981fb00d0f001b86c90f3e, from 71f15c90e785d1de4bcd65a279e7256684c25c0d before 1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3, from 71f15c90e785d1de4bcd65a279e7256684c25c0d before 3523a3df03c6f04f7ea9c2e7050102657e331a4f, from 6.6.32 before 6.6.51, 6.9 Not affected: before 6.9, from 6.6.51 up to 6.6.*, from 6.10.10 up to 6.10.*, from 6.11 up to * | CVE List |
| linux linux_kernel | from 6.6.32 before 6.6.51, from 6.9 before 6.10.10, 6.11 | NVD |
All scores
| Linux | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: smb: cliente: se corrige la doble colocación de @cfile en smb2_rename_path() Si se llama a smb2_set_path_attr() con un @cfile válido y se devuelve -EINVAL, debemos llamar a cifs_get_writable_path() nuevamente ya que la referencia de @cfile ya fue descartada por la llamada anterior a smb2_compound_op().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-46736 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-46736 changed 2026-08-04 | Public domain |