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

kernel: NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client()

متن اصلی

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

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

بهره‌برداری

CVE-2024-54456

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

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

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

In the Linux kernel, the following vulnerability has been resolved: NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client() name is char[64] where the size of clnt->cl_program->name remains unknown. Invoking strcat() directly will also lead to potential buffer overflow. Change them to strscpy() and strncat() to fix potential issues.

A flaw was found in the Linux kernel's Network File System (NFS) client subsystem. A local authenticated user with privileges to configure Remote Procedure Call (RPC) clients or initiate NFS mounts could trigger a Denial of Service (DoS) or memory corruption. This issue arises because the sysfs interface copies RPC program names into a fixed-size buffer without bounds checking. An attacker supplying an oversized name could cause a buffer overflow, resulting in a system crash.