Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-31582

HIGH 7.8EPSS 4%

hwmon: (powerz) Fix use-after-free on USB disconnect

Mitigation

  • Upgrade Linux to 08e57f5e1a9067d5fbf33993aa7f51d60b3d13a4 or later.

Who should check

  • Anyone running Linux >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < c78e1d4e48f23792adaa7c94251e22b0d9700a39; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 9e1b798257f96d2e2a2639830eb71add545ce749; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 7003ae4810ca83f0ddca85b768500e313c4b998c; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 61f2aa23b0ce8d7aa5071ed25a7471e246a4fdd4; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 08e57f5e1a9067d5fbf33993aa7f51d60b3d13a4
  • Anyone running Linux 6.7

Vulnerability facts

Affected
Linux >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < c78e1d4e48f23792adaa7c94251e22b0d9700a39; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 9e1b798257f96d2e2a2639830eb71add545ce749; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 7003ae4810ca83f0ddca85b768500e313c4b998c; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 61f2aa23b0ce8d7aa5071ed25a7471e246a4fdd4; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 08e57f5e1a9067d5fbf33993aa7f51d60b3d13a4; Linux 6.7
Fixed in
Linux 9e1b798257f96d2e2a2639830eb71add545ce749, Linux 7003ae4810ca83f0ddca85b768500e313c4b998c, Linux 61f2aa23b0ce8d7aa5071ed25a7471e246a4fdd4, Linux 08e57f5e1a9067d5fbf33993aa7f51d60b3d13a4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: hwmon: (powerz) Fix use-after-free on USB disconnect After powerz_disconnect() frees the URB and releases the mutex, a subsequent powerz_read() call can acquire the mutex and call powerz_read_data(), which dereferences the freed URB pointer. Fix by: - Setting priv->urb to NULL in powerz_disconnect() so that powerz_read_data() can detect the disconnected state. - Adding a !priv->urb check at the start of powerz_read_data() to return -ENODEV on a disconnected device. - Moving usb_set_intfdata() before hwmon registration so the disconnect handler can always find the priv pointer.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < c78e1d4e48f23792adaa7c94251e22b0d9700a39; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 9e1b798257f96d2e2a2639830eb71add545ce749; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 7003ae4810ca83f0ddca85b768500e313c4b998c; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 61f2aa23b0ce8d7aa5071ed25a7471e246a4fdd4; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 08e57f5e1a9067d5fbf33993aa7f51d60b3d13a4—cvelist
Linux6.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-31582. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31582.md
Affected: Linux >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < c78e1d4e48f23792adaa7c94251e22b0d9700a39; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 9e1b798257f96d2e2a2639830eb71add545ce749; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 7003ae4810ca83f0ddca85b768500e313c4b998c; >= 4381a36abdf1c5c0323c1c5…
Fixed in: Linux 9e1b798257f96d2e2a2639830eb71add545ce749, Linux 7003ae4810ca83f0ddca85b768500e313c4b998c, Linux 61f2aa23b0ce8d7aa5071ed25a7471e246a4fdd4, Linux 08e57f5e1a9067d5fbf33993aa7f51d60b3d13a4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-31582 being exploited?

There is no confirmed exploitation: CVE-2026-31582 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-31582?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-31582?

Linux >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < c78e1d4e48f23792adaa7c94251e22b0d9700a39; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 9e1b798257f96d2e2a2639830eb71add545ce749; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 7003ae4810ca83f0ddca85b768500e313c4b998c; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 61f2aa23b0ce8d7aa5071ed25a7471e246a4fdd4; >= 4381a36abdf1c5c0323c1c51f869dc000115eb20, < 08e57f5e1a9067d5fbf33993aa7f51d60b3d13a4; Linux 6.7.

Is there a fix for CVE-2026-31582?

Yes. Fixed in Linux 9e1b798257f96d2e2a2639830eb71add545ce749, Linux 7003ae4810ca83f0ddca85b768500e313c4b998c, Linux 61f2aa23b0ce8d7aa5071ed25a7471e246a4fdd4, Linux 08e57f5e1a9067d5fbf33993aa7f51d60b3d13a4. Upgrade Linux to 08e57f5e1a9067d5fbf33993aa7f51d60b3d13a4 or later.

How do I check if I'm affected by CVE-2026-31582?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors