VULNERABILITY

Red Hat: CVE-2024-36932: kernel: thermal/debugfs: Prevent use-after-free from occurring after cdev removal (Multiple Advisories)

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Red Hat: CVE-2024-36932: kernel: thermal/debugfs: Prevent use-after-free from occurring after cdev removal (Multiple Advisories)

Severity
5
CVSS
(AV:L/AC:L/Au:M/C:P/I:N/A:C)
Published
05/30/2024
Created
12/06/2024
Added
12/05/2024
Modified
03/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved: thermal/debugfs: Prevent use-after-free from occurring after cdev removal Since thermal_debug_cdev_remove() does not run under cdev->lock, it can run in parallel with thermal_debug_cdev_state_update() and it may free the struct thermal_debugfs object used by the latter after it has been checked against NULL. If that happens, thermal_debug_cdev_state_update() will access memory that has been freed already causing the kernel to crash. Address this by using cdev->lock in thermal_debug_cdev_remove() around the cdev->debugfs value check (in case the same cdev is removed at the same time in two different threads) and its reset to NULL. Cc :6.8+ <stable@vger.kernel.org> # 6.8+

Solution(s)

  • redhat-upgrade-kernel
  • redhat-upgrade-kernel-rt

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;