|
| 1 | +--- |
| 2 | +title: "Security Advisory — CVE-2026-53359 (\"Januscape\"): KVM Guest-to-Host Escape" |
| 3 | +slug: security-advisory-cve-2026-53359-januscape-kvm-guest-to-host-escape |
| 4 | +date: 2026-07-08 |
| 5 | +author: "Cozystack Team" |
| 6 | +description: "CVE-2026-53359 (\"Januscape\") is a KVM guest-to-host escape affecting all current Talos kernels. Cozystack clusters that run VMs or tenant Kubernetes should disable nested virtualization now." |
| 7 | +images: |
| 8 | + - "cve-2026-53359-banner.png" |
| 9 | +article_types: |
| 10 | + - announcement |
| 11 | +topics: |
| 12 | + - security |
| 13 | + - virtualization |
| 14 | +--- |
| 15 | + |
| 16 | +{{< figure src="cve-2026-53359-banner.png" alt="Security advisory banner — CVE-2026-53359 Januscape KVM guest-to-host escape" width="720" >}} |
| 17 | + |
| 18 | +**Severity:** High for clusters running virtualization. **Status:** No fixed Talos release yet — mitigation required now. |
| 19 | + |
| 20 | +## What happened |
| 21 | + |
| 22 | +On 2026-07-06 a Linux kernel vulnerability, **CVE-2026-53359** ("Januscape"), was publicly disclosed together with a working exploit. It is a use-after-free in the KVM/x86 shadow MMU that lets a **guest VM break out to its host** (the cluster node) or crash the node's kernel. It affects both Intel and AMD CPUs and has been latent in the kernel since 2010. |
| 23 | + |
| 24 | +The upstream fix shipped in stable kernels (6.18.38, 6.12.95, 6.6.144, 6.1.177, 7.1.3) on 2026-07-04, but **Talos Linux has not yet released an image with the fixed kernel.** Every current Talos version still runs a vulnerable kernel. |
| 25 | + |
| 26 | +## Who is affected |
| 27 | + |
| 28 | +Cozystack installations that run **virtualization or tenant Kubernetes clusters** — tenant Kubernetes nodes are KubeVirt VMs, so they count. If you run only containerized workloads and never create VMs or tenant clusters, your exposure is much lower. |
| 29 | + |
| 30 | +## The risk |
| 31 | + |
| 32 | +The exploit needs two things a tenant already has: root inside their own VM, and nested virtualization exposed to the guest (on by default). A malicious tenant could then: |
| 33 | + |
| 34 | +- crash the node kernel, taking down every co-tenant VM on that node (denial of service), or |
| 35 | +- with a working exploit, run code on the node and compromise the cluster. |
| 36 | + |
| 37 | +KubeVirt's sandboxing (unprivileged containers, seccomp, SELinux) does **not** stop this — the bug is in the host kernel and is reached through the normal KVM interface every VM must use. |
| 38 | + |
| 39 | +## Recommended mitigation: disable nested virtualization |
| 40 | + |
| 41 | +Cozystack VMs do not need nested virtualization. Disabling it removes the attack surface entirely, regardless of kernel version. |
| 42 | + |
| 43 | +### Talos (most clusters) |
| 44 | + |
| 45 | +Add to your Talos machine config, under `machine.install`: |
| 46 | + |
| 47 | +```yaml |
| 48 | +machine: |
| 49 | + install: |
| 50 | + # Talos >= 1.12 only: pin grubUseUKICmdline false so the args are applied |
| 51 | + # (otherwise they are silently ignored on UEFI/UKI systems). |
| 52 | + grubUseUKICmdline: false |
| 53 | + extraKernelArgs: |
| 54 | + - kvm_intel.nested=0 |
| 55 | + - kvm_amd.nested=0 |
| 56 | +``` |
| 57 | +
|
| 58 | +Both lines are safe on Intel and AMD — the one that does not match your CPU is ignored. On Talos **older than 1.12** the `grubUseUKICmdline` field does not exist and `extraKernelArgs` is ignored on UEFI/UKI nodes; there the args must be baked into the boot image via Image Factory. |
| 59 | + |
| 60 | +**Apply it in two steps — `talm apply`, then `talm upgrade`.** First push the updated machine config to the node, then re-run the Talos installer so the kernel arguments are written into the boot configuration (a plain `talm apply` alone does not rewrite the boot config). You can upgrade to the *same* Talos version you are already on — the point is to re-run the installer with the new arguments: |
| 61 | + |
| 62 | +```bash |
| 63 | +# 1. Push the updated machine config to the node |
| 64 | +talm apply -f nodes/<node>.yaml |
| 65 | +
|
| 66 | +# 2. Re-run the installer so the kernel args land in the boot config (this reboots the node) |
| 67 | +talm upgrade -f nodes/<node>.yaml |
| 68 | +``` |
| 69 | + |
| 70 | +**Warning: this reboots the node.** Roll it out **one node at a time**, waiting for each node to become `Ready` (and for etcd quorum to recover on control-plane nodes) before moving to the next. |
| 71 | + |
| 72 | +### Generic Linux hosts (non-Talos) |
| 73 | + |
| 74 | +Create `/etc/modprobe.d/cozystack-kvm-nested.conf`: |
| 75 | + |
| 76 | +``` |
| 77 | +options kvm_intel nested=0 |
| 78 | +options kvm_amd nested=0 |
| 79 | +``` |
| 80 | + |
| 81 | +Then reboot the node (or reload the `kvm` module) for it to take effect. |
| 82 | + |
| 83 | +## Automation |
| 84 | + |
| 85 | +We have updated our Cozystack Claude Code skills to prescribe and verify this mitigation during bootstrap and upgrades, so the setting is placed under `machine.install` and persists across future Talos upgrades: [cozystack/ccp#17](https://github.com/cozystack/ccp/pull/17). |
| 86 | + |
| 87 | +You can use the `cozystack:talos-bootstrap` and `cozystack:cluster-upgrade` skills to apply and verify the change automatically. |
| 88 | + |
| 89 | +## After a fixed Talos ships |
| 90 | + |
| 91 | +Once Talos releases an image with the patched kernel (6.18.38 or newer), upgrade normally. You may keep nested virtualization disabled as a hardening measure, or re-enable it (remove the two arguments) if a specific workload requires it. We will notify you when a fixed Talos release is available. |
| 92 | + |
| 93 | +## Join the community |
| 94 | + |
| 95 | +* GitHub: [cozystack/cozystack](https://github.com/cozystack/cozystack) |
| 96 | +* Telegram: [@cozystack](https://t.me/cozystack) |
| 97 | +* Slack: [#cozystack](https://kubernetes.slack.com/archives/C06L3CPRVN1) on the Kubernetes workspace ([invite](https://slack.kubernetes.io)) |
| 98 | +* [Subscribe to our community meetings calendar](https://zoom-lfx.platform.linuxfoundation.org/meetings/cozystack) |
| 99 | +* [Add meetings to your calendar](https://webcal.prod.itx.linuxfoundation.org/lfx/lfsixxnFWxbvsyEuC2) |
0 commit comments