CVE-2024-46736

medium

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.

References

https://git.kernel.org/stable/c/b27ea9c96efd2c252a981fb00d0f001b86c90f3e

https://git.kernel.org/stable/c/3523a3df03c6f04f7ea9c2e7050102657e331a4f

https://git.kernel.org/stable/c/1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3

Details

Source: Mitre, NVD

Published: 2024-09-18

Updated: 2024-09-20

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium