# CVE-2024-27006: linux: In the Linux kernel, the following vulnerability has been resolved:  thermal/debugfs: Add missing count increment to...

CVE-2024-27006 is fixed in linux on 1 platform, first by DEBIAN-CVE-2024-27006, released May 1, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-27006
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0023
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 1, 2024

## Description

In the Linux kernel, the following vulnerability has been resolved:  thermal/debugfs: Add missing count increment to thermal_debug_tz_trip_up()  The count field in struct trip_stats, representing the number of times the zone temperature was above the trip point, needs to be incremented in thermal_debug_tz_trip_up(), for two reasons.  First, if a trip point is crossed on the way up for the first time, thermal_debug_update_temp() called from update_temperature() does not see it because it has not been added to trips_crossed[] array in the thermal zone's struct tz_debugfs object yet.  Therefore, when thermal_debug_tz_trip_up() is called after that, the trip point's count value is 0, and the attempt to divide by it during the average temperature computation leads to a divide error which causes the kernel to crash.  Setting the count to 1 before the division by incrementing it fixes this problem.  Second, if a trip point is crossed on the way up, but it has been crossed on the way up already before, its count value needs to be incremented to make a record of the fact that the zone temperature is above the trip now.  Without doing that, if the mitigations applied after crossing the trip cause the zone temperature to drop below its threshold, the count will not be updated for this episode at all and the average temperature in the trip statistics record will be somewhat higher than it should be.  Cc :6.8+ <stable@vger.kernel.org> # 6.8+

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 13.5 (trixie) | 6.8.9-1 | [DEBIAN-CVE-2024-27006](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27006.md) | May 1, 2024 |
| Linux | linux Debian 14 | 6.8.9-1 | [DEBIAN-CVE-2024-27006](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27006.md) | May 1, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
