{"id":"CVE-2025-39823","state":"PUBLISHED","title":"KVM: x86: use array_index_nospec with indices that come from guest","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86: use array_index_nospec with indices that come from guest\n\nmin and dest_id are guest-controlled indices. Using array_index_nospec()\nafter the bounds checks clamps these values to mitigate speculative execution\nside-channels.","publishedAt":"2025-09-16T13:00:22.298Z","updatedAt":"2026-05-12T12:07:18.211Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"72777fc31aa7ab2ce00f44bfa3929c6eabbeaf48","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"31a0ad2f60cb4816e06218b63e695eb72ce74974","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"d51e381beed5e2f50f85f49f6c90e023754efa12","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"33e974c2d5a82b2f9d9ba0ad9cbaabc1c8e3985f","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"f49161646e03d107ce81a99c6ca5da682fe5fb69","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"67a05679621b7f721bdba37a5d18665d3aceb695","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"f57a4bd8d6cb5af05b8ac1be9098e249034639fb","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"c87bd4dd43a624109c3cc42d843138378a7f4548","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/lapic.c","arch/x86/kvm/x86.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.19","versionType":"semver"},{"version":"5.4.298","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.242","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.191","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.150","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.104","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.45","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.16.5","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/lapic.c","arch/x86/kvm/x86.c"]}],"references":["https://git.kernel.org/stable/c/72777fc31aa7ab2ce00f44bfa3929c6eabbeaf48","https://git.kernel.org/stable/c/31a0ad2f60cb4816e06218b63e695eb72ce74974","https://git.kernel.org/stable/c/d51e381beed5e2f50f85f49f6c90e023754efa12","https://git.kernel.org/stable/c/33e974c2d5a82b2f9d9ba0ad9cbaabc1c8e3985f","https://git.kernel.org/stable/c/f49161646e03d107ce81a99c6ca5da682fe5fb69","https://git.kernel.org/stable/c/67a05679621b7f721bdba37a5d18665d3aceb695","https://git.kernel.org/stable/c/f57a4bd8d6cb5af05b8ac1be9098e249034639fb","https://git.kernel.org/stable/c/c87bd4dd43a624109c3cc42d843138378a7f4548","https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","https://cert-portal.siemens.com/productcert/html/ssa-032379.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/39xxx/CVE-2025-39823.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-39823","state":"PUBLISHED","datePublished":"2025-09-16T13:00:22.298Z","dateUpdated":"2026-05-12T12:07:18.211Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T07:20:57.139Z"},"containers":{"cna":{"title":"KVM: x86: use array_index_nospec with indices that come from guest","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86: use array_index_nospec with indices that come from guest\n\nmin and dest_id are guest-controlled indices. Using array_index_nospec()\nafter the bounds checks clamps these values to mitigate speculative execution\nside-channels."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"72777fc31aa7ab2ce00f44bfa3929c6eabbeaf48","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"31a0ad2f60cb4816e06218b63e695eb72ce74974","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"d51e381beed5e2f50f85f49f6c90e023754efa12","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"33e974c2d5a82b2f9d9ba0ad9cbaabc1c8e3985f","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"f49161646e03d107ce81a99c6ca5da682fe5fb69","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"67a05679621b7f721bdba37a5d18665d3aceb695","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"f57a4bd8d6cb5af05b8ac1be9098e249034639fb","versionType":"git"},{"version":"4180bf1b655a791a0a6ef93a2ffffc762722c782","status":"affected","lessThan":"c87bd4dd43a624109c3cc42d843138378a7f4548","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/lapic.c","arch/x86/kvm/x86.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.19","versionType":"semver"},{"version":"5.4.298","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.242","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.191","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.150","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.104","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.45","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.16.5","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/lapic.c","arch/x86/kvm/x86.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/72777fc31aa7ab2ce00f44bfa3929c6eabbeaf48"},{"url":"https://git.kernel.org/stable/c/31a0ad2f60cb4816e06218b63e695eb72ce74974"},{"url":"https://git.kernel.org/stable/c/d51e381beed5e2f50f85f49f6c90e023754efa12"},{"url":"https://git.kernel.org/stable/c/33e974c2d5a82b2f9d9ba0ad9cbaabc1c8e3985f"},{"url":"https://git.kernel.org/stable/c/f49161646e03d107ce81a99c6ca5da682fe5fb69"},{"url":"https://git.kernel.org/stable/c/67a05679621b7f721bdba37a5d18665d3aceb695"},{"url":"https://git.kernel.org/stable/c/f57a4bd8d6cb5af05b8ac1be9098e249034639fb"},{"url":"https://git.kernel.org/stable/c/c87bd4dd43a624109c3cc42d843138378a7f4548"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:37:02.704Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.4.298"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.10.242"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.15.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.1.150"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.6.104"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.12.45"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.16.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.17"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T17:43:43.272Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC CN 4100","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"V5.0","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-05-12T12:07:18.211Z"},"x_adpType":"supplier"}]}}}