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

kernel: nvmet: Don't overflow subsysnqn

متن اصلی

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

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

بهره‌برداری

CVE-2024-53681

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

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

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

In the Linux kernel, the following vulnerability has been resolved: nvmet: Don't overflow subsysnqn nvmet_root_discovery_nqn_store treats the subsysnqn string like a fixed size buffer, even though it is dynamically allocated to the size of the string. Create a new string with kstrndup instead of using the old buffer.

A flaw was found in the Linux kernel's Non-Volatile Memory Express (NVMe) target subsystem. When updating the subsystem discovery configuration, the nvmet_root_discovery_nqn_store function incorrectly treats dynamically allocated memory as a fixed-size buffer, leading to a heap-based buffer overflow. A local privileged user can exploit this vulnerability by submitting an oversized string through the storage configuration interface, causing memory corruption that may result in a Denial of Service (DoS) via a system crash.