{"id":"CVE-2026-89992","state":"PUBLISHED","title":"cpuidle: dt_idle_genpd: kfree() the original name allocation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpuidle: dt_idle_genpd: kfree() the original name allocation\n\ndt_idle_pd_alloc() kasprintf()s the full node path, then points\npd->name at kbasename() of that string. dt_idle_pd_free() kfree()s\npd->name, which is no longer the start of the allocation.\n\nCopy the basename instead.","publishedAt":"2026-09-16T10:33:05.925Z","updatedAt":"2026-10-19T08:56:06.466Z","severity":{"score":8.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"1312ae33b91430ec99e69cd3d47f0e50a4ebf54b","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"a38caa9ed0d5c61c17d88393b14b292199289c1f","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"09d002c8fb0261d35ce9d8a705de5db034ee90b8","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"b519dfce1998c323e54a56f911cf708d9ba0e076","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"3394c7ba23336bdb7ece29127130fd01731d42d8","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"2b0ac85512b7f67479127b2713254490662eb13d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cpuidle/dt_idle_genpd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.51","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cpuidle/dt_idle_genpd.c"]}],"references":["https://git.kernel.org/stable/c/1312ae33b91430ec99e69cd3d47f0e50a4ebf54b","https://git.kernel.org/stable/c/a38caa9ed0d5c61c17d88393b14b292199289c1f","https://git.kernel.org/stable/c/09d002c8fb0261d35ce9d8a705de5db034ee90b8","https://git.kernel.org/stable/c/b519dfce1998c323e54a56f911cf708d9ba0e076","https://git.kernel.org/stable/c/3394c7ba23336bdb7ece29127130fd01731d42d8","https://git.kernel.org/stable/c/2b0ac85512b7f67479127b2713254490662eb13d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89992.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89992","state":"PUBLISHED","datePublished":"2026-09-16T10:33:05.925Z","dateUpdated":"2026-10-19T08:56:06.466Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.780Z"},"containers":{"cna":{"title":"cpuidle: dt_idle_genpd: kfree() the original name allocation","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpuidle: dt_idle_genpd: kfree() the original name allocation\n\ndt_idle_pd_alloc() kasprintf()s the full node path, then points\npd->name at kbasename() of that string. dt_idle_pd_free() kfree()s\npd->name, which is no longer the start of the allocation.\n\nCopy the basename instead."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"1312ae33b91430ec99e69cd3d47f0e50a4ebf54b","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"a38caa9ed0d5c61c17d88393b14b292199289c1f","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"09d002c8fb0261d35ce9d8a705de5db034ee90b8","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"b519dfce1998c323e54a56f911cf708d9ba0e076","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"3394c7ba23336bdb7ece29127130fd01731d42d8","versionType":"git"},{"version":"9d976d6721dfb525b81ce981e1363c70c0975aab","status":"affected","lessThan":"2b0ac85512b7f67479127b2713254490662eb13d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cpuidle/dt_idle_genpd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.51","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cpuidle/dt_idle_genpd.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1312ae33b91430ec99e69cd3d47f0e50a4ebf54b"},{"url":"https://git.kernel.org/stable/c/a38caa9ed0d5c61c17d88393b14b292199289c1f"},{"url":"https://git.kernel.org/stable/c/09d002c8fb0261d35ce9d8a705de5db034ee90b8"},{"url":"https://git.kernel.org/stable/c/b519dfce1998c323e54a56f911cf708d9ba0e076"},{"url":"https://git.kernel.org/stable/c/3394c7ba23336bdb7ece29127130fd01731d42d8"},{"url":"https://git.kernel.org/stable/c/2b0ac85512b7f67479127b2713254490662eb13d"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The invalid free is reached only from local PSCI and RISC-V SBI CPU idle genpd bring-up (psci_cpuidle_domain_probe and sbi_genpd_probe calling dt_idle_pd_alloc/dt_idle_pd_free) on ARM phones, automotive, and RISC-V boards; no network, Bluetooth, or USB receive path calls this code.\nAC:L - After dt_idle_pd_alloc() succeeds, pd->name is an interior kbasename() pointer into the kasprintf() buffer; any later psci_pd_init/sbi_pd_init unwind (ENOMEM from genpd_alloc_data or pd_provider, or of_genpd_add_provider_simple failure) deterministically kfree()s that pointer, with no race or layout lottery.\nPR:N - Both callers are builtin initcalls (core_initcall/arch_initcall) whose platform probe runs automatically on hierarchical CPU idle DT with no capability or credential check, so a Linux account is not required to reach the vulnerable unwind.\nUI:N - Probe and error unwind run during kernel initialization and deferred-probe retries; no victim needs to mount a filesystem, open a device, or load a module.\nS:U - The interior-pointer kfree corrupts host kernel SLUB state within the same security authority and does not escape a VM, bypass IOMMU, or cross another sandbox boundary.\nC:H - kfree() of an interior kasprintf() pointer is an invalid free that corrupts slab metadata and overlapping objects; that memory-corruption primitive can be groomed into arbitrary kernel memory disclosure.\nI:H - SLUB treats the misaligned interior address as an object and corrupts the freelist; heap grooming can produce overlapping allocations and write primitives enabling control-flow hijack, matching this CNA's invalid-free scoring.\nA:H - Debug and KASAN builds oops on the invalid free, and without them the corrupted slab commonly panics during CPU idle genpd bring-up, so availability impact is a kernel crash."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:56:06.466Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.18.51"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.2.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}