PT-2024-4109 · Linux+4 · Linux Kernel+4

Published

2024-04-26

·

Updated

2025-09-29

·

CVE-2024-36932

CVSS v2.0

6.8

Medium

VectorAV:L/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel versions 6.8 and later
Description The issue is related to a use-after-free vulnerability in the thermal/debugfs subsystem. The thermal debug cdev remove() function does not run under cdev->lock, allowing it to run in parallel with thermal debug cdev state update(). This can cause the struct thermal debugfs object to be freed after it has been checked against NULL, leading to a kernel crash when thermal debug cdev state update() accesses the already freed memory. The vulnerability can be addressed by using cdev->lock in thermal debug cdev remove() around the cdev->debugfs value check and its reset to NULL.
Recommendations To resolve the issue, update to a version of the Linux kernel that includes the fix for this vulnerability. Specifically, for Linux kernel versions 6.8 and later, apply the patch that uses cdev->lock in thermal debug cdev remove() to prevent the use-after-free condition. As a temporary workaround, consider disabling the thermal debug cdev remove() function until a patch is available.

Exploit

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-04560
CVE-2024-36932
INFSA-2024_9315
RHSA-2024:9315
RHSA-2024_9315
USN-6949-1
USN-6949-2
USN-6952-1
USN-6952-2
USN-6955-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Hat
Ubuntu