Upstream information
Description
In the Linux kernel, the following vulnerability has been resolved:KVM: x86: Fix VM hard lockup after prolonged inactivity with periodic HV timer
When advancing the target expiration for the guest's APIC timer in periodic
mode, set the expiration to "now" if the target expiration is in the past
(similar to what is done in update_target_expiration()). Blindly adding
the period to the previous target expiration can result in KVM generating
a practically unbounded number of hrtimer IRQs due to programming an
expired timer over and over. In extreme scenarios, e.g. if userspace
pauses/suspends a VM for an extended duration, this can even cause hard
lockups in the host.
Currently, the bug only affects Intel CPUs when using the hypervisor timer
(HV timer), a.k.a. the VMX preemption timer. Unlike the software timer,
a.k.a. hrtimer, which KVM keeps running even on exits to userspace, the
HV timer only runs while the guest is active. As a result, if the vCPU
does not run for an extended duration, there will be a huge gap between
the target expiration and the current time the vCPU resumes running.
Because the target expiration is incremented by only one period on each
timer expiration, this leads to a series of timer expirations occurring
rapidly after the vCPU/VM resumes.
More critically, when the vCPU first triggers a periodic HV timer
expiration after resuming, advancing the expiration by only one period
will result in a target expiration in the past. As a result, the delta
may be calculated as a negative value. When the delta is converted into
an absolute value (tscdeadline is an unsigned u64), the resulting value
can overflow what the HV timer is capable of programming. I.e. the large
value will exceed the VMX Preemption Timer's maximum bit width of
cpu_preemption_timer_multi + 32, and thus cause KVM to switch from the
HV timer to the software timer (hrtimers).
After switching to the software timer, periodic timer expiration callbacks
may be executed consecutively within a single clock interrupt handler,
because hrtimers honors KVM's request for an expiration in the past and
immediately re-invokes KVM's callback after reprogramming. And because
the interrupt handler runs with IRQs disabled, restarting KVM's hrtimer
over and over until the target expiration is advanced to "now" can result
in a hard lockup.
E.g. the following hard lockup was triggered in the host when running a
Windows VM (only relevant because it used the APIC timer in periodic mode)
after resuming the VM from a long suspend (in the host).
NMI watchdog: Watchdog detected hard LOCKUP on cpu 45
...
RIP: 0010:advance_periodic_target_expiration+0x4d/0x80 [kvm]
...
RSP: 0018:ff4f88f5d98d8ef0 EFLAGS: 00000046
RAX: fff0103f91be678e RBX: fff0103f91be678e RCX: 00843a7d9e127bcc
RDX: 0000000000000002 RSI: 0052ca4003697505 RDI: ff440d5bfbdbd500
RBP: ff440d5956f99200 R08: ff2ff2a42deb6a84 R09: 000000000002a6c0
R10: 0122d794016332b3 R11: 0000000000000000 R12: ff440db1af39cfc0
R13: ff440db1af39cfc0 R14: ffffffffc0d4a560 R15: ff440db1af39d0f8
FS: 00007f04a6ffd700(0000) GS:ff440db1af380000(0000) knlGS:000000e38a3b8000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000d5651feff8 CR3: 000000684e038002 CR4: 0000000000773ee0
PKRU: 55555554
Call Trace:
<IRQ>
apic_timer_fn+0x31/0x50 [kvm]
__hrtimer_run_queues+0x100/0x280
hrtimer_interrupt+0x100/0x210
? ttwu_do_wakeup+0x19/0x160
smp_apic_timer_interrupt+0x6a/0x130
apic_timer_interrupt+0xf/0x20
</IRQ>
Moreover, if the suspend duration of the virtual machine is not long enough
to trigger a hard lockup in this scenario, since commit 98c25ead5eda
("KVM: VMX: Move preemption timer <=> hrtimer dance to common x86"), KVM
will continue using the software timer until the guest reprograms the APIC
timer in some way. Since the periodic timer does not require frequent APIC
timer register programming, the guest may continue to use the software
timer in
---truncated---
SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having moderate severity.
| CVSS detail | SUSE |
|---|---|
| Base Score | 6.5 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| Attack Vector | Local |
| Attack Complexity | Low |
| Privileges Required | Low |
| User Interaction | None |
| Scope | Changed |
| Confidentiality Impact | None |
| Integrity Impact | None |
| Availability Impact | High |
| CVSSv3 Version | 3.1 |
| CVSS detail | SUSE |
|---|---|
| Base Score | 8.2 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H |
| Attack Vector | Local |
| Attack Complexity | Low |
| Attack Requirements | None |
| Privileges Required | Low |
| User Interaction | None |
| Vulnerable System Confidentiality Impact | None |
| Vulnerable System Integrity Impact | None |
| Vulnerable System Availability Impact | High |
| Subsequent System Confidentiality Impact | None |
| Subsequent System Integrity Impact | None |
| Subsequent System Availability Impact | High |
| CVSSv4 Version | 4.0 |
Note from the SUSE Security Team on the kernel-default package
SUSE will no longer fix all CVEs in the Linux Kernel anymore, but declare some bug classes as won't fix. Please refer to TID 21496 for more details. SUSE Bugzilla entry: 1256708 [NEW] No SUSE Security Announcements cross referenced.Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise Desktop 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | kernel-source | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP7 | kernel-source | Affected |
| SUSE Linux Enterprise High Availability Extension 16.0 | kernel-default | Affected |
| SUSE Linux Enterprise High Availability Extension 16.0 | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | kernel-source-azure | Affected |
| SUSE Linux Enterprise Live Patching 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise Live Patching 15 SP7 | kernel-source | Affected |
| SUSE Linux Enterprise Micro 5.2 | kernel-default | Affected |
| SUSE Linux Enterprise Micro 5.2 | kernel-rt | Affected |
| SUSE Linux Enterprise Micro 5.2 | kernel-source | Affected |
| SUSE Linux Enterprise Micro 5.2 | kernel-source-rt | Affected |
| SUSE Linux Enterprise Micro 5.3 | kernel-default | Affected |
| SUSE Linux Enterprise Micro 5.3 | kernel-rt | Affected |
| SUSE Linux Enterprise Micro 5.3 | kernel-source | Affected |
| SUSE Linux Enterprise Micro 5.3 | kernel-source-rt | Affected |
| SUSE Linux Enterprise Micro 5.4 | kernel-default | Affected |
| SUSE Linux Enterprise Micro 5.4 | kernel-rt | Affected |
| SUSE Linux Enterprise Micro 5.4 | kernel-source | Affected |
| SUSE Linux Enterprise Micro 5.4 | kernel-source-rt | Affected |
| SUSE Linux Enterprise Micro 5.5 | kernel-default | Affected |
| SUSE Linux Enterprise Micro 5.5 | kernel-source | Affected |
| SUSE Linux Enterprise Micro 5.5 | kernel-source-rt | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Legacy 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise Module for Legacy 15 SP7 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Public Cloud 15 SP7 | kernel-source-azure | Affected |
| SUSE Linux Enterprise Real Time 15 SP7 | kernel-source-rt | Affected |
| SUSE Linux Enterprise Server 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise Server 15 SP7 | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP7 | kernel-source-azure | Affected |
| SUSE Linux Enterprise Server 16.0 | kernel-default | Affected |
| SUSE Linux Enterprise Server 16.0 | kernel-source | Affected |
| SUSE Linux Enterprise Server 16.0 | kernel-source-azure | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | kernel-source | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | kernel-source-azure | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | kernel-default | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | kernel-source | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | kernel-source-azure | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | kernel-default | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | kernel-source | Affected |
| SUSE Linux Micro 6.0 | kernel-default | Affected |
| SUSE Linux Micro 6.0 | kernel-source | Affected |
| SUSE Linux Micro 6.0 | kernel-source-rt | Affected |
| SUSE Linux Micro 6.1 | kernel-default | Affected |
| SUSE Linux Micro 6.1 | kernel-source | Affected |
| SUSE Linux Micro 6.1 | kernel-source-rt | Affected |
| SUSE Linux Micro 6.2 | kernel-default | Affected |
| SUSE Linux Micro 6.2 | kernel-source | Affected |
| SUSE Real Time Module 15 SP7 | kernel-source-rt | Affected |
| Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
| SUSE Linux Enterprise High Performance Computing 15 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise Live Patching 12 SP5 | kernel-default | Affected |
| SUSE Linux Enterprise Live Patching 12 SP5 | kernel-source | Affected |
| SUSE Linux Enterprise Live Patching 15 SP4 | kernel-default | Affected |
| SUSE Linux Enterprise Live Patching 15 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Live Patching 15 SP5 | kernel-default | Affected |
| SUSE Linux Enterprise Live Patching 15 SP5 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | kernel-source | Affected |
| SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | kernel-default | Not affected |
| SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | kernel-source | Not affected |
| SUSE Linux Enterprise Server 12 SP5 | kernel-source | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security | kernel-default | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP5 | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | kernel-source | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | kernel-default | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | kernel-source | Affected |
| SUSE Manager Proxy 4.3 | kernel-source | Affected |
| SUSE Manager Proxy LTS 4.3 | kernel-source | Affected |
| SUSE Manager Retail Branch Server 4.3 | kernel-source | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | kernel-source | Affected |
| SUSE Manager Server 4.3 | kernel-source | Affected |
| SUSE Manager Server LTS 4.3 | kernel-source | Affected |
| Products past their end of life and not receiving proactive updates anymore. | ||
| SUSE CaaS Platform 4.0 | kernel-source | Affected |
| SUSE Enterprise Storage 6 | kernel-source | Affected |
| SUSE Enterprise Storage 7 | kernel-source | Affected |
| SUSE Enterprise Storage 7.1 | kernel-source | Affected |
| SUSE Linux Enterprise Desktop 11 SP4 | kernel-source | Not affected |
| SUSE Linux Enterprise Desktop 12 SP2 | kernel-source | Not affected |
| SUSE Linux Enterprise Desktop 12 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Desktop 15 SP1 | kernel-source | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | kernel-source | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | kernel-source | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | kernel-source | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-source | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | kernel-source | Affected |
| SUSE Linux Enterprise Micro 5.0 | kernel-default | Affected |
| SUSE Linux Enterprise Micro 5.1 | kernel-default | Affected |
| SUSE Linux Enterprise Micro 5.1 | kernel-rt | Affected |
| SUSE Linux Enterprise Micro 5.1 | kernel-source-rt | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP1 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP2 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | kernel-source | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-source | Affected |
| SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT | kernel-source | Not affected |
| SUSE Linux Enterprise Real Time 15 SP2 | kernel-source | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | kernel-source | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | kernel-source-rt | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | kernel-source-rt | Affected |
| SUSE Linux Enterprise Real Time 15 SP5 | kernel-source-rt | Affected |
| SUSE Linux Enterprise Server 11 SP4 | kernel-source | Not affected |
| SUSE Linux Enterprise Server 11 SP4-LTSS | kernel-source | Not affected |
| SUSE Linux Enterprise Server 12 SP2 | kernel-source | Not affected |
| SUSE Linux Enterprise Server 12 SP2-BCL | kernel-source | Not affected |
| SUSE Linux Enterprise Server 12 SP2-ESPOS | kernel-source | Not affected |
| SUSE Linux Enterprise Server 12 SP2-LTSS | kernel-default | Not affected |
| SUSE Linux Enterprise Server 12 SP2-LTSS | kernel-source | Not affected |
| SUSE Linux Enterprise Server 12 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Server 12 SP4-ESPOS | kernel-source | Affected |
| SUSE Linux Enterprise Server 12 SP4-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise Server 12 SP4-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP1 | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP2 | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP3 | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | kernel-default | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | kernel-source | Affected |
| SUSE Linux Enterprise Server 15 SP6 | kernel-source | Affected |
| SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 | kernel-source | Not affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | kernel-source | Not affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | kernel-source | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | kernel-source | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | kernel-source | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | kernel-default | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | kernel-source | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | kernel-default | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | kernel-source | Affected |
| SUSE Manager Proxy 4.0 | kernel-source | Affected |
| SUSE Manager Proxy 4.1 | kernel-source | Affected |
| SUSE Manager Proxy 4.2 | kernel-source | Affected |
| SUSE Manager Retail Branch Server 4.0 | kernel-source | Affected |
| SUSE Manager Retail Branch Server 4.1 | kernel-source | Affected |
| SUSE Manager Retail Branch Server 4.2 | kernel-source | Affected |
| SUSE Manager Server 4.0 | kernel-source | Affected |
| SUSE Manager Server 4.1 | kernel-source | Affected |
| SUSE Manager Server 4.2 | kernel-source | Affected |
| SUSE OpenStack Cloud 7 | kernel-source | Not affected |
| SUSE OpenStack Cloud 9 | kernel-source | Affected |
| SUSE OpenStack Cloud Crowbar 9 | kernel-source | Affected |
| SUSE Real Time Module 15 SP3 | kernel-source-rt | Affected |
| SUSE Real Time Module 15 SP4 | kernel-source-rt | Affected |
| SUSE Real Time Module 15 SP5 | kernel-source-rt | Affected |
| openSUSE Leap 15.3 | kernel-source | Affected |
| openSUSE Leap 15.3 | kernel-source-rt | Affected |
| openSUSE Leap 15.4 | kernel-source | Affected |
| openSUSE Leap 15.4 | kernel-source-rt | Affected |
| openSUSE Leap 15.5 | kernel-source | Affected |
| openSUSE Leap 15.5 | kernel-source-rt | Affected |
| openSUSE Leap 15.6 | kernel-source | Affected |
SUSE Timeline for this CVE
CVE page created: Wed Jan 14 18:04:51 2026CVE page last modified: Thu Jan 15 13:18:47 2026