Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local access to target host
-
DeliveryUnbind w83791d driver leaving fanpwm45 sysfs files
-
ExploitAccess stale fan/pwm 4-5 sysfs attribute
-
ExecutionTrigger callback dereferencing freed devm driver data
-
ImpactCorrupt/leak kernel memory (use-after-free)
Vulnerability Assessment
| Exploitation Conditions | Requires ALL of: (1) local access to the host (AV:L); (2) a system physically equipped with the Winbond W83791D sensor chip with the w83791d hwmon driver bound; (3) the fan/pwm 4-5 pins NOT configured as GPIO, so w83791d_probe() creates the w83791d_group_fanpwm45 sysfs group; and (4) the driver being unbound/removed via the normal teardown path, which leaves those sysfs files behind. Exploitation is LIMITED by the need to win a race between driver unbind (freeing devm data) and accessing the leftover sysfs attributes (AC:H), by local-only reach, and by the highly specific hardware/configuration prerequisites that make the vulnerable code path absent on the vast majority of systems. Unbinding the driver itself typically requires privileged access. |
| Impact | This is a genuine memory-safety flaw (use-after-free on devm-allocated driver data via stale sysfs files) but a LOW real-world priority. The CVSS vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N (base 7.0 HIGH) is internally consistent with the description: exploitation is strictly local (AV:L), requires winning a race / specific teardown conditions (AC:H), and needs existing low-level access (PR:L). All exploitation signals point the same way and do NOT conflict: EPSS is only 0.22% (11th percentile), there is no CISA KEV listing, and no public exploit was identified - so this is 'no public exploit identified at time of analysis.' The HIGH CVSS is driven entirely by the C:H/I:H/A:H kernel-memory impact, not by ease of exploitation; the AC:H and AV:L metrics sharply constrain practical risk. Critically, the vulnerable code path is the w83791d hwmon driver for a specific Winbond sensor chip, so the affected attack surface is far narrower than 'Linux' implies - most systems never load this driver. The 'Information Disclosure' tag understates impact, since the flaw is a use-after-free with full C/I/A impact per CVSS, not merely a read primitive - treat it as potential memory corruption, not just disclosure. |
| Exploit ScenarioDerived | A local user on a system that has the Winbond W83791D hardware-monitoring chip and the w83791d driver loaded (with fan/pwm 4-5 pins not used as GPIO) interacts with the optional fan/pwm 4-5 sysfs attributes after the driver has been unbound. Because the normal remove path fails to delete the w83791d_group_fanpwm45 sysfs group, the attribute callbacks dereference devm-allocated driver data that was already freed at unbind, producing a use-after-free against stale kernel memory. No public exploit code was identified; exploitation also depends on winning the unbind/access race (reflected in AC:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Stale sysfs attributes left behind by the Linux kernel's w83791d hwmon driver after unbind can expose freed memory to local users, because the normal remove path deletes only the w83791d_group but not the optional w83791d_group_fanpwm45 group created when the fan/pwm 4-5 pins are not used as GPIO. Callbacks on those leftover files dereference devm-allocated driver data that is released after unbind, creating a use-after-free condition. The flaw is local-only and highly conditional (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, score 7.0): it requires a system physically equipped with the Winbond W83791D sensor chip, the fan/pwm 4-5 pins not configured as GPIO, and a driver unbind through the normal teardown path, and exploitation further depends on winning a race against the devm free. There is no public exploit identified at time of analysis, EPSS is low at 0.22% (11th percentile), and vendor patches are available in the stable trees.
RemediationAI
Vendor-released patch: apply the w83791d fix by upgrading to Linux 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8 or 7.3-rc4 (or a later release in the same branch); downstream distributions should pick up the corresponding stable backport. Where upgrading immediately is not possible, note that the vulnerable sysfs files only persist after the driver is unbound, so on affected hardware avoid unbinding/reloading w83791d at runtime (a full reboot clears the stale attributes) and keep the module bound; if the W83791D chip is not needed for monitoring, blacklisting w83791d prevents the code path entirely, at the cost of losing fan, PWM, voltage and temperature telemetry from that sensor, and configuring the fan/pwm 4-5 pins as GPIO in firmware means w83791d_group_fanpwm45 is never created, though this changes how those pins can be used. Restrict local exposure by ensuring only root (and holders of CAP_SYS_MODULE-equivalent privileges, which module bind/unbind through sysfs requires by default) can unbind drivers; this limits but does not eliminate the race window for a local attacker who already has such access, and there is no public exploit identified at time of analysis, so the realistic risk on typical systems remains low.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The w83791d driver is a hardware-monitoring (hwmon) driver for the Winbond W83791D sensor chip, attached to the kernel's I2C subsystem; users interact with it through sysfs attribute groups registered on the I2C client device. During w83791d_probe(), if the chip's fan/pwm 4-5 pins are not repurposed as GPIO, the driver creates an additional, optional attribute group named w83791d_group_fanpwm45 on top of the base w83791d_group. The probe error path correctly tears down this extra group, but the normal driver removal path only calls the removal for w83791d_group, an incomplete-cleanup defect (the same class as CWE-459) that leads directly to a use-after-free (CWE-416): the sysfs callbacks backing the surviving files resolve device/driver data that was allocated with devm and is therefore freed once the driver is unbound. Any subsequent read or write to those dangling attributes walks freed memory. The upstream fix removes w83791d_group_fanpwm45 during normal teardown as well, so the lifetime of the sysfs files matches the lifetime of the data they reference. The issue was found by manual code inspection rather than by an in-field report, and the affected code path is absent on systems that use the fan/pwm 4-5 pins as GPIO or that do not have the W83791D chip at all, which is the large majority of deployments.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local-only sysfs access (AV:L), race-and-hardware-dependent teardown gives AC:H, requires existing local account (PR:L), and use-after-free on kernel data yields C/I/A High.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (w83791d) remove fan/pwm 4-5 sysfs group on remove
When the fan/pwm 4-5 pins are not used as GPIO, w83791d_probe() creates the w83791d_group_fanpwm45 sysfs group on the I2C client device.
The probe error path removes this group when a later initialization step fails, but the normal remove path only removes w83791d_group. As a result, the optional fan/pwm 4-5 sysfs files can remain after the driver is unbound.
The callbacks associated with these files access the driver data, which is devm allocated and released after driver unbind. Leaving the sysfs files behind can therefore result in accesses to stale driver data.
Remove w83791d_group_fanpwm45 during normal teardown as well.
This issue was found by manual code inspection.
Executive ViewAI
A high-severity vulnerability in the Linux kernel’s w83791d hardware-monitoring driver can allow an authenticated local user on systems equipped with the Winbond W83791D sensor chip to trigger a use-after-free during driver unbind, potentially exposing or corrupting kernel memory. Exploitation is highly conditional and no public exploit identified at time of analysis; the business exposure is concentrated in a small set of physical hosts rather than broad fleet risk. Leadership should care because unpatched affected systems could suffer local confidentiality, integrity, or availability loss on those hosts, though EPSS is low at 0.2%.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-93125
GHSA-w8gm-245m-mgrg
NVD
CVE.org
EPSS
VulDB
Exploit-DB