PT-2024-5436 · Linux+6 · Linux Kernel+6
Published
2024-04-18
·
Updated
2026-03-14
·
CVE-2024-39479
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The vulnerability is related to the drm/i915/hwmon module in the Linux kernel. It occurs when both hwmon and hwmon drvdata are device-managed resources, and the expectation is that hwmon will be released before drvdata during device unbind. However, in the i915 module, there are two separate code paths that release either drvdata or hwmon, and either can be released before the other. This can lead to a use-after-free (uaf) issue if hwmon sysfs is accessed when drvdata has been released but hwmon hasn't. The only way to resolve this issue is to get rid of devm and release/free everything explicitly during device unbind.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Suse
Ubuntu