cve.bz

CVE-2024-26712

7.8 highEPSS 0.2%Fix available

High (7.8). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: powerpc/kasan: Fix addr error caused by page alignment In kasan_init_region, when k_start is not page aligned, at the begin of for loop, k_cur = k_start & PAGE_MASK is less than k_start, and then `va = block + k_cur - k_start` is less than block, the addr va is invalid, because the memory address space from va to block is not alloced by memblock_alloc, which will not be reserved by memblock_reserve later, it will be used by other places. As a result, memory overwriting occurs. for example: int __init __weak kasan_init_region(void *start, size_t size) { [...] /* if say block(dcd97000) k_start(feef7400) k_end(feeff3fe) */ block = memblock_alloc(k_end - k_start, PAGE_SIZE); [...] for (k_cur = k_start & PAGE_MASK; k_cur < k_end; k_cur += PAGE_SIZE) { /* at the begin of for loop * block(dcd97000) va(dcd96c00) k_cur(feef7000) k_start(feef7400) * va(dcd96c00) is less than block(dcd97000), va is invalid */ void *va = block + k_cur - k_start; [...] } [...] } Therefore, page alignment is performed on k_start before memblock_alloc() to ensure the validity of the VA address.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-04-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-26712 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26712?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26712?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-26712 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 5.3.6 before 5.4
Linux5.4 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.210
Linux5.155.15.149
Linux6.16.1.79
Linux6.66.6.18
Linux6.76.7.6
Linuxlater releases6.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux-5.105.10.216-1~deb10u1DLA-3842-1
Debian11linux5.10.216-1DSA-5681-1
Debian12linux6.1.82-1DEBIAN-CVE-2024-26712
Debian13, 14linux6.7.7-1DEBIAN-CVE-2024-26712
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-26712
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-26712
Ubuntu20.04:LTSlinux5.4.0-186.206UBUNTU-CVE-2024-26712 USN-6831-1
Ubuntu20.04:LTSlinux-aws5.4.0-1126.136UBUNTU-CVE-2024-26712 USN-6831-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1061.67~20.04.1UBUNTU-CVE-2024-26712 USN-6766-3
Ubuntu20.04:LTSlinux-azure5.4.0-1131.138UBUNTU-CVE-2024-26712 USN-6831-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1063.72~20.04.1UBUNTU-CVE-2024-26712 USN-6766-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1063.72~20.04.1.1USN-6766-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1086.93UBUNTU-CVE-2024-26712 USN-6867-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1130.139UBUNTU-CVE-2024-26712 USN-6831-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1059.67~20.04.1UBUNTU-CVE-2024-26712 USN-6766-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2024-26712
58 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 27 more0:5.14.0-503.11.1.el9_5RHSA-2024:9315
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.4.0-503.11.1.el9_5RHSA-2024:9315
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.4.0-503.11.1.el9_5RHSA-2024:9315
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 44 more0:5.14.0-503.11.1.el9_5RHSA-2024:9315
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 15 more0:5.14.0-503.11.1.el9_5RHSA-2024:9315
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-503.11.1.el9_5RHSA-2024:9315
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-503.11.1.el9_5RHSA-2024:9315
Alpaquita23linux-lts6.1.81-r0BELL-CVE-2024-26712
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2024-26712

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated as Low severity because it is confined to 32-bit PowerPC architectures and occurs during early Kernel Address Sanitizer (KASAN) memory initialization. Red Hat Enterprise Linux supports only 64-bit PowerPC (ppc64le) and does not enable KASAN in production kernels, meaning the vulnerable code is neither compiled nor executed on supported systems. Consequently, standard enterprise deployments are not exposed to this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-503.11.1.el9_5Fixed 2024-11-12RHSA-2024:9315
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-26712.

References

Check your stackJSON