CVE-2026-74311
kernel: virtio: rtc: tear down old virtqueues before restore
Overview
Description
In the Linux kernel, the following vulnerability has been resolved:
virtio: rtc: tear down old virtqueues before restore
virtio_device_restore() resets the device and restores the negotiated
features before calling ->restore(). viortc_freeze() intentionally
leaves the existing virtqueues in place so the alarm queue can still
wake the system, but viortc_restore() immediately calls
viortc_init_vqs() without first deleting those old queues.
If virtqueue reinitialization fails on virtio-pci, the transport error
path can run vp_del_vqs() against a newly allocated vp_dev->vqs array
while vdev->vqs still contains the old virtqueues. vp_del_vqs() then
looks up queue state through the new array and can dereference a NULL
info pointer in vp_del_vq(), crashing the guest kernel during restore.
This can also happen during a non-faulty reinitialization, when one of
the vp_find_vqs_msix() attempts is unsuccessful before a later attempt
would succeed.
Delete the stale virtqueues before rebuilding them. If restore fails
before virtio_device_ready(), reuse the remove path to stop the device.
Once the device is ready, return errors directly instead of deleting the
virtqueues again.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 19 fixes
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 14 | linux | 7.1.5-1 |
ubuntu 2 releases · 18 packages
| Release | Package | Fixed in |
|---|---|---|
| 24.04 | linux-oracle-7-0 | 7.0.0-1013.13~24.04.1 |
| 24.04 | linux-aws-7-0 +1 | 7.0.0-1014.14~24.04.1 |
| 24.04 | linux-azure-fde-7-0 | 7.0.0-1016.16~24.04.1 |
| 24.04 | linux-azure-7-0 | 7.0.0-1017.17~24.04.1 |
| 24.04 | linux-nvidia-7-0 | 7.0.0-1024.25~24.04.1 |
| 24.04 | linux-riscv-7-0 | 7.0.0-38.38.1~24.04.1 |
12 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-74311
- git.kernel.org https://git.kernel.org/linus/548d2208455f14e6121404c6e30e997bfe0cd264 (7.2-rc1)
- git.kernel.org https://git.kernel.org/stable/c/548d2208455f14e6121404c6e30e997bfe0cd264
- git.kernel.org https://git.kernel.org/stable/c/79366023aa891ca31376021a7bccff6384ca1ff1
- git.kernel.org https://git.kernel.org/stable/c/aebebd1e9d70b650fc9e877082e0134edcf511da
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2026081551-CVE-2026-74311-7f02@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-74311
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-3
Show all 17 references
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8889-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9003-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9021-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9043-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-74311
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.