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

kernel: HID: haptic: don't write an uninitialized value to unhandled usages

متن اصلی

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

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

بهره‌برداری

CVE-2026-90197

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

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

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

In the Linux kernel, the following vulnerability has been resolved: HID: haptic: don't write an uninitialized value to unhandled usages fill_effect_buf() initializes value only for the four haptic usages handled by its switch, but writes it to field->value[] for every usage. An unhandled usage can therefore receive either an uninitialized value or one left over from the previous usage. hid_output_report() then serializes that value into the effect's report buffer. Skip unhandled usages instead. This also matches switch_mode(), which only updates fields it recognizes. Found with Clang's -Wconditional-uninitialized.

A flaw was found in the Linux kernel's Human Interface Device (HID) haptic subsystem. A local attacker could exploit a vulnerability in the fill_effect_buf() function, which incorrectly writes uninitialized or leftover memory values to the field->value[] array for unhandled haptic usages. This uninitialized data is subsequently serialized into the effect's report buffer by hid_output_report(). This vulnerability could lead to information disclosure, potentially exposing sensitive kernel memory contents.