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

kernel: net: ena: PHC: Check return code before setting timestamp output

متن اصلی

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

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

بهره‌برداری

CVE-2026-63837

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

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

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

In the Linux kernel, the following vulnerability has been resolved: net: ena: PHC: Check return code before setting timestamp output ena_phc_gettimex64() is setting the output parameter regardless of whether ena_com_phc_get_timestamp() succeeded or failed. When ena_com_phc_get_timestamp() returns an error, the timestamp parameter may contain uninitialized stack memory (e.g., when PHC is disabled or in blocked state) or invalid hardware values. Passing these to userspace via the PTP ioctl is both a security issue (information leak) and a correctness bug. Fix by checking the return code after releasing the lock and only setting the output timestamp on success.

A flaw was found in the Linux kernel's Elastic Network Adapter (ENA) driver. The driver's Precision Time Protocol (PTP) Hardware Clock (PHC) support, specifically the ena_phc_gettimex64() function, fails to check the return code of an internal timestamp retrieval function. This oversight can lead to uninitialized or invalid memory being passed to userspace applications through the PTP ioctl, resulting in an information leak. This vulnerability allows a local user to potentially gain access to sensitive system information.