---
id: CVE-2024-26664
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  hwmon: (coretemp) Fix out-of-bounds memory access

  Fix a bug that pdata->cpu_map[] is set before out-of-bounds check.
  The problem might be triggered on systems with mor…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  hwmon: (coretemp) Fix out-of-bounds memory access

  Fix a bug that pdata->cpu_map[] is set before out-of-bounds check.
  The problem might be triggered on systems with mor…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.19.264, < 4.19.307'
  - 'linux_kernel >= 5.4.221, < 5.4.269'
  - 'linux_kernel >= 5.10.152, < 5.10.210'
  - 'linux_kernel >= 6.1, < 6.1.78'
  - 'linux_kernel >= 6.2, < 6.6.17'
  - 'linux_kernel >= 6.7, < 6.7.5'
  - linux_kernel = 6.8
  - debian_linux = 10.0
patched:
  - linux_kernel 6.7.5
published: '2024-04-02'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-26664'
references:
  - url: 'https://git.kernel.org/stable/c/1eb74c00c9c3b13cb65e508c5d5a2f11afb96b8b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3a7753bda55985dc26fae17795cb10d825453ad1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4e440abc894585a34c2904a32cd54af1742311b3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/853a6503c586a71abf27e60a7f8c4fb28092976d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/93f0f4e846fcb682c3ec436e3b2e30e5a3a8ee6a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9bce69419271eb8b2b3ab467387cb59c99d80deb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a16afec8e83c56b14a4a73d2e3fb8eec3a8a057e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f0da068c75c20ffc5ba28243ff577531dc2af1fd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1eb74c00c9c3b13cb65e508c5d5a2f11afb96b8b'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/3a7753bda55985dc26fae17795cb10d825453ad1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/4e440abc894585a34c2904a32cd54af1742311b3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/853a6503c586a71abf27e60a7f8c4fb28092976d'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/93f0f4e846fcb682c3ec436e3b2e30e5a3a8ee6a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/9bce69419271eb8b2b3ab467387cb59c99d80deb'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/a16afec8e83c56b14a4a73d2e3fb8eec3a8a057e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/f0da068c75c20ffc5ba28243ff577531dc2af1fd'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00248
epssPercentile: 0.14313
ingestedAt: '2026-08-05T10:46:47.829Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (coretemp) Fix out-of-bounds memory access

Fix a bug that pdata->cpu_map[] is set before out-of-bounds check.
The problem might be triggered on systems with more than 128 cores per
package.

## Affected

- `linux_kernel >= 4.19.264, < 4.19.307`
- `linux_kernel >= 5.4.221, < 5.4.269`
- `linux_kernel >= 5.10.152, < 5.10.210`
- `linux_kernel >= 6.1, < 6.1.78`
- `linux_kernel >= 6.2, < 6.6.17`
- `linux_kernel >= 6.7, < 6.7.5`
- `linux_kernel = 6.8`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.5`
