Skip to content

Commit 6b58604

Browse files
committed
fix(charts): disable KVM nested virtualization in Talos presets (CVE-2026-53359)
Add kvm_intel.nested=0 and kvm_amd.nested=0 to machine.install.extraKernelArgs in the cozystack and generic presets to mitigate CVE-2026-53359 (Januscape), a KVM guest-to-host escape reachable only when nested virtualization is exposed to the guest. Both args are set so one config covers Intel and AMD hosts. Signed-off-by: Andrei Kvapil <[email protected]> Assisted-By: Claude <[email protected]>
1 parent 90372d3 commit 6b58604

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎charts/cozystack/templates/_helpers.tpl‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ machine:
165165
{{- end }}
166166
{{- (include "talm.discovered.disks_info" .) | nindent 4 }}
167167
disk: {{ include "talm.discovered.system_disk_name" . | quote }}
168+
extraKernelArgs:
169+
# CVE-2026-53359: disable KVM nested virtualization (guest-to-host escape mitigation)
170+
- kvm_intel.nested=0
171+
- kvm_amd.nested=0
168172
{{- end }}
169173

170174
{{- /* Shared cluster section */ -}}

‎charts/generic/templates/_helpers.tpl‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ machine:
5858
install:
5959
{{- (include "talm.discovered.disks_info" .) | nindent 4 }}
6060
disk: {{ include "talm.discovered.system_disk_name" . | quote }}
61+
extraKernelArgs:
62+
# CVE-2026-53359: disable KVM nested virtualization (guest-to-host escape mitigation)
63+
- kvm_intel.nested=0
64+
- kvm_amd.nested=0
6165
{{- end }}
6266

6367
{{- /* Shared cluster section */ -}}

0 commit comments

Comments
 (0)