VDB

CVE-2026-97582

CVE-2026-97582 PUBLISHED

hwmon: (gpio-fan) Fix use-after-free in alarm work

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: hwmon: (gpio-fan) Fix use-after-free in alarm work fan_alarm_irq_handler() queues fan_data->alarm_work, but nothing cancels it. fan_alarm_notify() dereferences fan_data and its hwmon device. On unbind, devres frees the interrupt, which only waits for the handler itself, and then releases the hwmon device and fan_data, so a pending fan_alarm_notify() can run after those frees. Replace INIT_WORK() with devm_work_autocancel(), registered before devm_request_irq(). The devres cleanup then frees the interrupt first, so no new work can be queued, and cancels the work while fan_data and the hwmon device are still alive. This issue was found by an in-house static analysis tool.

EPSS 0.21% · 11.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxe9fc7d53b2eb34c0a607d1659f49b46911aaf16c, c6ab7f855891877a16d2e2ddf0cd0305fd098a85, a2471ed17b0e6ff7bfb6b2ea8e6e5b04c309d293, 9b12bd724db9db318e3a68be17693583dc29a066, 7f96803f612134f585ab3b39e6d5b2d4b9c0606f, 6e67d9bdac810edacef78cbaeedd34445aa8ceb7, 594c62eea7c82f526054496e9fa9b895122a8016, 30755d3a5782cd704c8921cac8ee66dffe4383ea

Risk scores

EPSS Score
0.21%
11.2th percentile

Affected products

VendorProductVersions
LinuxLinuxd6fe1360f42e86262153927986dea6502daff703, d6fe1360f42e86262153927986dea6502daff703, d6fe1360f42e86262153927986dea6502daff703
LinuxLinux2.6.37, 0, 5.10.273
LinuxLinux7.3, 0, 5.10.273
linuxlinux_kernel2.6.37, 2.6.37, 2.6.37

Timeline

  • Sep 25, 2026 Coalition ESS Score
  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (10 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97582
vulnetix vdb fixes CVE-2026-97582

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97582/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›