همهٔ گزارش‌ها
متوسط

kernel: smb: client: fix double put of @cfile in smb2_rename_path()

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2024-46736

احتمال بهره‌برداری در ۳۰ روز آینده: 0.61%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

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.

A flaw was found in the Linux kernel's Server Message Block (SMB) client. This vulnerability occurs in the smb2_rename_path() function when handling specific error conditions during file attribute operations. A local attacker could exploit this flaw, leading to a double free of a file object, which may result in a denial of service.