CVE-2024-26710 json
powerpc/kasan: Limit KASAN thread size increase to 32KB
published 2024-04-03 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-23972
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
powerpc/kasan: Limit KASAN thread size increase to 32KB
KASAN is seen to increase stack usage, to the point that it was reported to lead to stack overflow on some 32-bit machines (see link).
To avoid overflows the stack size was doubled for KASAN builds in commit 3e8635fb2e07 ("powerpc/kasan: Force thread size increase with KASAN").
However with a 32KB stack size to begin with, the doubling leads to a 64KB stack, which causes build errors: arch/powerpc/kernel/switch.S:249: Error: operand out of range (0x000000000000fe50 is not between 0xffffffffffff8000 and 0x0000000000007fff)
Although the asm could be reworked, in practice a 32KB stack seems sufficient even for KASAN builds - the additional usage seems to be in the 2-3KB range for a 64-bit KASAN build.
So only increase the stack for KASAN if the stack size is < 32KB.
Patch / fix
- Linux Linux 6.1.76, 6.6.18, 6.7.6
- linux Debian 14, Debian 13 6.8.9-1
debian advisories DEBIAN-CVE-2024-26710
- linux-aws-6.5 Ubuntu 22.04 LTS 6.5.0-1023.23~22.04.1
- linux-gcp-6.5 Ubuntu 22.04 LTS 6.5.0-1024.26~22.04.1
- linux-hwe-6.5 Ubuntu 22.04 LTS 6.5.0-44.44~22.04.1
- linux-oem-6.5 Ubuntu 22.04 LTS 6.5.0-1027.28
- linux-azure-6.5 Ubuntu 22.04 LTS 6.5.0-1024.25~22.04.1
- linux-nvidia-6.5 Ubuntu 22.04 LTS 6.5.0-1023.24
- linux-oracle-6.5 Ubuntu 22.04 LTS 6.5.0-1026.26~22.04.1
- linux-starfive-6.5 Ubuntu 22.04 LTS 6.5.0-1017.18~22.04.1
ubuntu advisories UBUNTU-CVE-2024-26710
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/f9a4c401bf4c5af3437ad221c0a5880a518068d4 commit
- git.kernel.org/stable/c/4cc31fa07445879a13750cb061bb8c2654975fcb commit
- git.kernel.org/stable/c/b29b16bd836a838b7690f80e37f8376414c74cbe commit
- git.kernel.org/stable/c/f1acb109505d983779bbb7e20a1ee6244d2b5736 commit
- git.kernel.org/stable/c/4297217bcf1f0948a19c2bacc6b68d92e7778ad9 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-26710 updated cvss 4.4
kernel: powerpc/kasan: Limit KASAN thread size increase to 32KB
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
- Technology feeds
References
- git.kernel.org /stable/c/f9a4c401bf4c5af3437ad221c0a5880a518068d4
-
git.kernel.org
/stable/c/4cc31fa07445879a13750cb061bb8c2654975fcb
patch
-
git.kernel.org
/stable/c/b29b16bd836a838b7690f80e37f8376414c74cbe
patch
-
git.kernel.org
/stable/c/f1acb109505d983779bbb7e20a1ee6244d2b5736
patch
-
git.kernel.org
/stable/c/4297217bcf1f0948a19c2bacc6b68d92e7778ad9
patch
Sources
- CVE List CVE-2024-26710
- NVD CVE-2024-26710
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.