CVE-2026-90127: virtio: rtc: time out alarm requests
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
virtio: rtc: time out alarm requests
RTC class operations run with rtc_device.ops_lock held. The virtio RTC alarm requests currently wait without a timeout for the device to return their requestq buffers.
On surprise removal, virtio-pci marks the virtqueues broken before unregistering the virtio device. If an alarm request is waiting when the device stops responding, viortc_remove() blocks in viortc_class_stop() while trying to acquire ops_lock. The request cannot complete and device removal hangs until the waiting task is signalled.
Use the same 60-second timeout as clock read requests for alarm reads, alarm programming, and alarm interrupt enable requests. The existing message reference counting keeps a timed-out request alive until a late response or device teardown.
The Linux kernel CVE team has assigned CVE-2026-90127 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.16 with commit 9d4f22fd563e0cd02e8448e84d057e7c0132a586 and fixed in 6.18.52 with commit 28701b74c22d2a43ddf7aebb6378e60c18323865 Issue introduced in 6.16 with commit 9d4f22fd563e0cd02e8448e84d057e7c0132a586 and fixed in 7.2.6 with commit afbf69d1d691c06d093d7c3f17168ecb608c4977 Issue introduced in 6.16 with commit 9d4f22fd563e0cd02e8448e84d057e7c0132a586 and fixed in 7.3-rc1 with commit 68e00d9212929805b40dcb9166755610f4f4acee
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90127
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/virtio/virtio_rtc_driver.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/28701b74c22d2a43ddf7aebb6378e60c18323865 https://git.kernel.org/stable/c/afbf69d1d691c06d093d7c3f17168ecb608c4977 https://git.kernel.org/stable/c/68e00d9212929805b40dcb9166755610f4f4acee