hwmon sysfs

About this tag
The hwmon sysfs tag covers discussions about the Linux kernel's hardware monitoring subsystem and its sysfs interface, particularly in the context of Intel graphics drivers. A recent thread highlights a use-after-free vulnerability (CVE-2024-39479) in the i915 DRM driver, where hwmon sysfs attributes could be accessed after their backing data was released. The fix involves removing devm (device-managed) resource handling from the hwmon path to prevent lifecycle mismatches. This tag is relevant for developers and system administrators working with kernel drivers, hardware monitoring, and security patches on Linux systems, especially those using Intel GPUs.
  1. i915 hwmon devm fix: patch fixes CVE-2024-39479 UAF risk

    A small change in the Intel i915 graphics stack — a decision to “get rid of devm” in the hwmon path — produced a classic kernel lifecycle bug with outsized operational impact: tracked as CVE‑2024‑39479, the defect creates a use‑after‑free (UAF) and local denial‑of‑service vector by letting hwmon...