PT-2025-4341 · Linux+4 · Linux Kernel+4
Published
2025-01-06
·
Updated
2025-10-15
·
CVE-2025-21660
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.74
Description
The issue concerns the
ksmbd vfs kern path locked function in the Linux kernel. When this function encounters an error and it is not the last entry, it exits without restoring the changed path buffer. Later, this buffer may be used as the filename for creation, potentially leading to unexpected behavior.Recommendations
For versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue.
As a temporary workaround, consider restricting the use of the
ksmbd vfs kern path locked function until a patch is available.Exploit
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu