ARM: integrator: Fix early initialization
Summary
| CVE | CVE-2026-64165 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-19 16:17:58 UTC |
| Updated | 2026-07-19 16:17:58 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
ARM: integrator: Fix early initialization
Starting with commit bdb249fce9ad4 ("ARM: integrator: read counter using
syscon/regmap"), intcp_init_early calls syscon_regmap_lookup_by_compatible
which in turn calls of_syscon_register. This function allocates memory.
Since the memory management code has not been initialized at that time,
the call always fails. It either returns -ENOMEM or crashes as follows.
Unable to handle kernel NULL pointer dereference at virtual address 0000000c when read
[0000000c] *pgd=00000000
Internal error: Oops: 5 [#1] ARM
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.15.0-rc5-00026-g5fcc9bf84ee5 #1 PREEMPT
Hardware name: ARM Integrator/CP (Device Tree)
PC is at __kmalloc_cache_noprof+0xec/0x39c
LR is at __kmalloc_cache_noprof+0x34/0x39c
...
Call trace:
__kmalloc_cache_noprof from of_syscon_register+0x7c/0x310
of_syscon_register from device_node_get_regmap+0xa4/0xb0
device_node_get_regmap from intcp_init_early+0xc/0x40
intcp_init_early from start_kernel+0x60/0x688
start_kernel from 0x0
The crash is seen due to a dereferenced pointer which is not supposed to be
NULL but is NULL if the memory management subsystem has not been
initialized. The crash is not seen with all versions of gcc. Some versions
such as gcc 9.x apparently do not dereference the pointer, presumably if
tracing is disabled. The problem has been reproduced with gcc 10.x, 11.x,
and 13.x. Either case, if the crash is not seen, the call to
syscon_regmap_lookup_by_compatible returns -ENOMEM, and
sched_clock_register is never called.
Fix the problem by moving the early initialization code into the standard
machine initialization code. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected bdb249fce9ad44aab340be3b7a77060114f7193b 22c738fb51f2d8b23ddff5cc0ccb2dd685bb39d3 git |
Not specified |
| CNA |
Linux |
Linux |
affected bdb249fce9ad44aab340be3b7a77060114f7193b 812103fb6da904bd03d62cf6a9826e537318ceed git |
Not specified |
| CNA |
Linux |
Linux |
affected bdb249fce9ad44aab340be3b7a77060114f7193b 6624854554c4c2bdfed3559e5c11bb03b16e7bd1 git |
Not specified |
| CNA |
Linux |
Linux |
affected bdb249fce9ad44aab340be3b7a77060114f7193b 508b1193d63b5e073a3fe103eeb785fcba2d368c git |
Not specified |
| CNA |
Linux |
Linux |
affected bdb249fce9ad44aab340be3b7a77060114f7193b 58a112b0973f6cd6bcb8c503d1ff88be411ed0f0 git |
Not specified |
| CNA |
Linux |
Linux |
affected bdb249fce9ad44aab340be3b7a77060114f7193b e984dc22e2c24dc34d6728e338c82b1ce7862753 git |
Not specified |
| CNA |
Linux |
Linux |
affected bdb249fce9ad44aab340be3b7a77060114f7193b 33ad014abec90f37dade0e00560f28864187e21a git |
Not specified |
| CNA |
Linux |
Linux |
affected bdb249fce9ad44aab340be3b7a77060114f7193b 90d77b30a666049ad24df463f52e5d529c44e8cd git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.9 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.9 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.258 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.209 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.175 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.142 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.92 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.34 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.0.11 7.0.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/508b1193d63b5e073a3fe103eeb785fcba2d368c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6624854554c4c2bdfed3559e5c11bb03b16e7bd1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/58a112b0973f6cd6bcb8c503d1ff88be411ed0f0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/812103fb6da904bd03d62cf6a9826e537318ceed |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/90d77b30a666049ad24df463f52e5d529c44e8cd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/22c738fb51f2d8b23ddff5cc0ccb2dd685bb39d3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/33ad014abec90f37dade0e00560f28864187e21a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e984dc22e2c24dc34d6728e338c82b1ce7862753 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.