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

kernel: watchdog: pretimeout: Fix UAF in watchdog_unregister_governor()

متن اصلی

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

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

بهره‌برداری

CVE-2026-68357

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

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

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

In the Linux kernel, the following vulnerability has been resolved: watchdog: pretimeout: Fix UAF in watchdog_unregister_governor() When a watchdog governor is unregistered, it updates existing watchdog devices that were using this governor by falling back to default_gov. If the governor being unregistered is currently set as default_gov, the default_gov is never cleared. This leads to 2 use-after-free issues:

  1. New watchdog devices registered after this point will inherit the dangling default_gov.

  2. Existing watchdog devices using the unregistered governor will have their wdd->gov reassigned to the dangling default_gov. Fix the UAF by clearing default_gov if it matches the governor being unregistered.

A flaw was found in the Linux kernel's watchdog subsystem. When a watchdog governor is unregistered, if it is also set as the default governor, the default governor is not properly cleared. This can lead to a Use-After-Free (UAF) condition where new or existing watchdog devices may inherit or be reassigned a dangling pointer. This vulnerability could result in system instability or a denial of service.