{"id":"CVE-2026-64165","summary":"ARM: integrator: Fix early initialization","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nARM: integrator: Fix early initialization\n\nStarting with commit bdb249fce9ad4 (\"ARM: integrator: read counter using\nsyscon/regmap\"), intcp_init_early calls syscon_regmap_lookup_by_compatible\nwhich in turn calls of_syscon_register. This function allocates memory.\nSince the memory management code has not been initialized at that time,\nthe call always fails. It either returns -ENOMEM or crashes as follows.\n\nUnable to handle kernel NULL pointer dereference at virtual address 0000000c when read\n[0000000c] *pgd=00000000\nInternal error: Oops: 5 [#1] ARM\nModules linked in:\nCPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.15.0-rc5-00026-g5fcc9bf84ee5 #1 PREEMPT\nHardware name: ARM Integrator/CP (Device Tree)\nPC is at __kmalloc_cache_noprof+0xec/0x39c\nLR is at __kmalloc_cache_noprof+0x34/0x39c\n...\nCall trace:\n __kmalloc_cache_noprof from of_syscon_register+0x7c/0x310\n of_syscon_register from device_node_get_regmap+0xa4/0xb0\n device_node_get_regmap from intcp_init_early+0xc/0x40\n intcp_init_early from start_kernel+0x60/0x688\n start_kernel from 0x0\n\nThe crash is seen due to a dereferenced pointer which is not supposed to be\nNULL but is NULL if the memory management subsystem has not been\ninitialized. The crash is not seen with all versions of gcc. Some versions\nsuch as gcc 9.x apparently do not dereference the pointer, presumably if\ntracing is disabled. The problem has been reproduced with gcc 10.x, 11.x,\nand 13.x. Either case, if the crash is not seen, the call to\nsyscon_regmap_lookup_by_compatible returns -ENOMEM, and\nsched_clock_register is never called.\n\nFix the problem by moving the early initialization code into the standard\nmachine initialization code.","modified":"2026-07-21T03:46:54.934019541Z","published":"2026-07-19T15:40:50.585Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64165.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/22c738fb51f2d8b23ddff5cc0ccb2dd685bb39d3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/33ad014abec90f37dade0e00560f28864187e21a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/508b1193d63b5e073a3fe103eeb785fcba2d368c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58a112b0973f6cd6bcb8c503d1ff88be411ed0f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6624854554c4c2bdfed3559e5c11bb03b16e7bd1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/812103fb6da904bd03d62cf6a9826e537318ceed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90d77b30a666049ad24df463f52e5d529c44e8cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e984dc22e2c24dc34d6728e338c82b1ce7862753"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64165.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64165"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bdb249fce9ad44aab340be3b7a77060114f7193b"},{"fixed":"22c738fb51f2d8b23ddff5cc0ccb2dd685bb39d3"},{"fixed":"812103fb6da904bd03d62cf6a9826e537318ceed"},{"fixed":"6624854554c4c2bdfed3559e5c11bb03b16e7bd1"},{"fixed":"508b1193d63b5e073a3fe103eeb785fcba2d368c"},{"fixed":"58a112b0973f6cd6bcb8c503d1ff88be411ed0f0"},{"fixed":"e984dc22e2c24dc34d6728e338c82b1ce7862753"},{"fixed":"33ad014abec90f37dade0e00560f28864187e21a"},{"fixed":"90d77b30a666049ad24df463f52e5d529c44e8cd"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64165.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.9.0"},{"fixed":"5.10.258"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.209"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.175"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.92"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64165.json"}}],"schema_version":"1.7.5"}