{"id":"CVE-2026-139226","state":"PUBLISHED","title":"Drivers: hv: Run VMBus kexec cleanup from syscore shutdown","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nDrivers: hv: Run VMBus kexec cleanup from syscore shutdown\n\nARM64 Hyper-V guests do not run the VMBus kexec cleanup before\nsecondary CPUs are stopped. Consequently, the old VMBus connection\nand SynIC state remain active when the kexec kernel starts.\n\nRun the VMBus kexec handler from the existing VMBus syscore shutdown\ncallback. syscore_shutdown() runs after device shutdown and before\nmachine shutdown, while all CPUs needed by the SynIC CPU hotplug\nteardown are still available. Guard the callback with\nkexec_is_in_progress() so normal restart, halt, and poweroff paths are\nunchanged.\n\nUse the same path on x86 and remove the architecture-specific handler\npointer and the weak setup/remove interfaces. VMBus teardown now\nprecedes hv_stimer_global_cleanup() on x86.\n\nThe new x86 ordering relies on commit be0cfab740e5 (\"clocksource:\nhyper-v: Remove support for stimer interrupts in message mode\"), which\nremoved the synthetic timer's dependency on VMBus message delivery.\nOlder kernels that retain message-mode stimer interrupts must preserve\nthe existing x86 ordering and therefore require an ARM64-specific\nbackport.\n\nDocument the VMBus cleanup path and its position in shutdown ordering.","publishedAt":"2026-11-30T13:32:47.378Z","updatedAt":"2026-11-30T13:32:47.378Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9bbb888824e38cc2e9118ed351fe3d22403a73e1","status":"affected","lessThan":"765b3bb9643d497fe55d5dca0a62a4bd5b6b303a","versionType":"git"},{"version":"9bbb888824e38cc2e9118ed351fe3d22403a73e1","status":"affected","lessThan":"6e43f5959c4f6967eeb61369d44efcaa8d10e249","versionType":"git"},{"version":"9bbb888824e38cc2e9118ed351fe3d22403a73e1","status":"affected","lessThan":"228e21764b389a71a05af6a356efa1bad0751b5e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["Documentation/virt/hyperv/overview.rst","arch/x86/kernel/cpu/mshyperv.c","drivers/hv/hv_common.c","drivers/hv/vmbus_drv.c","include/asm-generic/mshyperv.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["Documentation/virt/hyperv/overview.rst","arch/x86/kernel/cpu/mshyperv.c","drivers/hv/hv_common.c","drivers/hv/vmbus_drv.c","include/asm-generic/mshyperv.h"]}],"references":["https://git.kernel.org/stable/c/765b3bb9643d497fe55d5dca0a62a4bd5b6b303a","https://git.kernel.org/stable/c/6e43f5959c4f6967eeb61369d44efcaa8d10e249","https://git.kernel.org/stable/c/228e21764b389a71a05af6a356efa1bad0751b5e"],"weaknesses":[],"ingestedAt":"2026-11-30T13:44:05.999Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139226.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139226","state":"PUBLISHED","datePublished":"2026-11-30T13:32:47.378Z","dateUpdated":"2026-11-30T13:32:47.378Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.921Z"},"containers":{"cna":{"title":"Drivers: hv: Run VMBus kexec cleanup from syscore shutdown","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nDrivers: hv: Run VMBus kexec cleanup from syscore shutdown\n\nARM64 Hyper-V guests do not run the VMBus kexec cleanup before\nsecondary CPUs are stopped. Consequently, the old VMBus connection\nand SynIC state remain active when the kexec kernel starts.\n\nRun the VMBus kexec handler from the existing VMBus syscore shutdown\ncallback. syscore_shutdown() runs after device shutdown and before\nmachine shutdown, while all CPUs needed by the SynIC CPU hotplug\nteardown are still available. Guard the callback with\nkexec_is_in_progress() so normal restart, halt, and poweroff paths are\nunchanged.\n\nUse the same path on x86 and remove the architecture-specific handler\npointer and the weak setup/remove interfaces. VMBus teardown now\nprecedes hv_stimer_global_cleanup() on x86.\n\nThe new x86 ordering relies on commit be0cfab740e5 (\"clocksource:\nhyper-v: Remove support for stimer interrupts in message mode\"), which\nremoved the synthetic timer's dependency on VMBus message delivery.\nOlder kernels that retain message-mode stimer interrupts must preserve\nthe existing x86 ordering and therefore require an ARM64-specific\nbackport.\n\nDocument the VMBus cleanup path and its position in shutdown ordering."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9bbb888824e38cc2e9118ed351fe3d22403a73e1","status":"affected","lessThan":"765b3bb9643d497fe55d5dca0a62a4bd5b6b303a","versionType":"git"},{"version":"9bbb888824e38cc2e9118ed351fe3d22403a73e1","status":"affected","lessThan":"6e43f5959c4f6967eeb61369d44efcaa8d10e249","versionType":"git"},{"version":"9bbb888824e38cc2e9118ed351fe3d22403a73e1","status":"affected","lessThan":"228e21764b389a71a05af6a356efa1bad0751b5e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["Documentation/virt/hyperv/overview.rst","arch/x86/kernel/cpu/mshyperv.c","drivers/hv/hv_common.c","drivers/hv/vmbus_drv.c","include/asm-generic/mshyperv.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["Documentation/virt/hyperv/overview.rst","arch/x86/kernel/cpu/mshyperv.c","drivers/hv/hv_common.c","drivers/hv/vmbus_drv.c","include/asm-generic/mshyperv.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/765b3bb9643d497fe55d5dca0a62a4bd5b6b303a"},{"url":"https://git.kernel.org/stable/c/6e43f5959c4f6967eeb61369d44efcaa8d10e249"},{"url":"https://git.kernel.org/stable/c/228e21764b389a71a05af6a356efa1bad0751b5e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:32:47.378Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}