# CVE-2026-74311: virtio: rtc: tear down old virtqueues before restore

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 3, 2026-12-02)
- **Published:** 2026-08-15T05:58:10.711Z
- **Modified:** 2026-08-17T06:19:25.340Z

## Who should check

- Anyone running Linux \>= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, \< 79366023aa891ca31376021a7bccff6384ca1ff1; \>= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, \< aebebd1e9d70b650fc9e877082e0134edcf511da; \>= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, \< 548d2208455f14e6121404c6e30e997bfe0cd264
- Anyone running Linux 6.16

## 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.

## Affected and fixed versions

- Linux: \>= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, \< 79366023aa891ca31376021a7bccff6384ca1ff1; \>= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, \< aebebd1e9d70b650fc9e877082e0134edcf511da; \>= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, \< 548d2208455f14e6121404c6e30e997bfe0cd264 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 548d2208455f14e6121404c6e30e997bfe0cd264 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74311. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74311.md
Affected: Linux >= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, < 79366023aa891ca31376021a7bccff6384ca1ff1; >= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, < aebebd1e9d70b650fc9e877082e0134edcf511da; >= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, < 548d2208455f14e6121404c6e30e997bfe0cd264; Linux 6.16
Fixed in: Linux 79366023aa891ca31376021a7bccff6384ca1ff1, Linux 548d2208455f14e6121404c6e30e997bfe0cd264

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74311 being exploited?

There is no confirmed exploitation: CVE-2026-74311 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-12-02).

### How serious is CVE-2026-74311?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74311?

Linux \>= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, \< 79366023aa891ca31376021a7bccff6384ca1ff1; \>= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, \< aebebd1e9d70b650fc9e877082e0134edcf511da; \>= 0623c759276885c3ae88197ba6fb5c9c6ba8612f, \< 548d2208455f14e6121404c6e30e997bfe0cd264; Linux 6.16.

### Is there a fix for CVE-2026-74311?

Yes. Fixed in Linux 79366023aa891ca31376021a7bccff6384ca1ff1, Linux 548d2208455f14e6121404c6e30e997bfe0cd264. Upgrade Linux to 548d2208455f14e6121404c6e30e997bfe0cd264 or later.

### How do I check if I'm affected by CVE-2026-74311?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/79366023aa891ca31376021a7bccff6384ca1ff1>
- other: <https://git.kernel.org/stable/c/aebebd1e9d70b650fc9e877082e0134edcf511da>
- other: <https://git.kernel.org/stable/c/548d2208455f14e6121404c6e30e997bfe0cd264>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74311>

HTML: <https://flawdb.com/CVE-2026-74311> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74311>
