The technical details on VM Escape vulnerability CVE-2026-99999 (pwnescape) are over my head, could someone with more experience comment on whether Qubes and Xen are vulnerable or not? I haven’t seen Xen mentioned in relation to pwnescape and I’m hoping Qubes isn’t vulnerable due to sys-net being separated from dom0.
Qubes does not rely on Linux, but on Xen.
We have QSB for that kind of vulnerability when it affects the OS, and even the XSAs that do not affect Qubes are mentioned by the team. So next time, you can check the News category or the official ones ![]()
I’m not certain but from the description it seems like this vulnerability affects the linux kernel across VM boundaries, that is to say a malicious VM could potentially compromise the sys-net qube (assuming both, or maybe just sys-net, were using the linux kernel). The description only discusses this happening under the KVM hypervisor but supposedly it is independent of the hypervisor.
That vulnerability is already patched upstream.
Default Status: affected
affected
- affectedat 2.6.27
unaffected
unaffectedfrom 0before 2.6.27
unaffectedfrom 5.10.272through 5.10.*
unaffectedfrom 5.15.223through 5.15.*
unaffectedfrom 6.1.190through 6.1.*
unaffectedfrom 6.6.159through 6.6.*
unaffectedfrom 6.12.113through 6.12.*
unaffectedfrom 6.18.57through 6.18.*
unaffectedfrom 7.2.11through 7.2.*
unaffectedat 7.3-rc7
Check kernel version of your sys-net.
Debian:
Upstream Fedora, Kicksecure, and Debian are already patched.
The Qubes kernel is still at 6.18.54, but dom0 isn’t exposed to the network.
Using the “provided by Qube” kernel option, first and foremost for sys-net reduces your attack surface.
Meanwhile, for your actively used AppVMs, you can switch to pvgrub2-pvh.
The remaining problem is most likely the Whonix templates, which must run the Qubes-provided kernel.
Qubes OS relies on both Linux and Xen.
Regarding whether it affects Qubes security, I don’t want to guess. Let’s ask someone from the security or dev team.
Marek made a comment about this on Matrix, saying that how Qubes OS is designed is a good decision (it would be weird to say that if Qubes were affected). My understanding of that VM escape is that it occurs in systems built on KVM, so I don’t think it is relevant here. I could be wrong! Maybe the only relevant thing is that dom0 is offline?
I have no access to Matrix, where Marek commented on it.
By default, some qubes use the kernel provided by dom0, and if that kernel is vulnerable, I believe the particular qube becomes vulnerable too.
Meanwhile, dom0 becomes vulnerable in the case of an escape from a particular qube.
But it’s guess!
Honestly, I’m not able to make better comments. I would be very surprised to learn that it affects Qubes OS given how the team communicates clearly about that kind of vulnerabilities.
Could you specify that point via Matrix with Marek one more time? Just to be sure, and to quote it, so that we both understand the situation in the right way.
I got confirmation that if it was affecting Qubes, a QSB would have been issued.
Hear, hear!
On the other hand…
(All that follows is gut instinct, with just a dangerous amount of background knowledge…)
All I saw claimed is/are vuln(s) in the linux kernel. Maybe they have a xen hypervisor escape, but right now it sounds like KVM is the only thing they POCed as a hypervisor escape. There is no sign that xen is involved.
BUT…
It is a problem that appears during re-assembly of fragmented packets. This seems important - breaking up a block of data and putting it together again sounds simple, but it seems there is even an RFC about what a complex pain it is.
I see an out of bounds kernel memory access, which could (at worst? TBC?) allow an attacker to take control of the kernel in each linux netvm, and so to cascade down through sys-net, sys-firewall, and into our app-qubes
Dom0 never sees a network packet and is immune, so even if our sys-firewall, sys-net, and other net-connected qubes can get owned, hopefully our real valuables are in offline, netvm=none qubes.
Unfortunately, access to my bank is necessarily online. The big risk is for those who have valuable data are their net-connected linux qubes, or in their communications. Like me
Qubes is secure, but not necessarily my data.
Right now, I am thinking:
- this may not be the last network stack vulnerability in the Linux kernel
- mirage firewall does not seem to defragment (?) so it does not protect any attached linux qubes against this problem AIUI.
- but i will start using it to be sure that my firewall rules will be respected, even if there are broken linux systems on both sides
- right now, Linux is vulnerable in the non-fixed kernels
- for now, I may switch to latest in-qube kernels for my sensitive qubes,
- I need to decide whether to continue this long term.
- I will add a defragmenting OpenBSB netvm into the chain for my sensitive qubes. It will decrease throughput, but the diversity seems like a fine protection.
- It cannot run qubes firewall, I think, but it does have its own fw.
- I do not know if it can be a sys-firewall intermediate qube, or only a sys-net HVM.
So where are the bugs in my logic and my knowledge?
No doubt, likely a lot of unknown similar vulnerabilities.
As far as i know, Mirage will help to protect, because it is written in a different programming, it will stop Linux exploits (like this one) from working or passing through to other VMs.
I think* that Mirage only does the packet filtering, but does not change the content of the packets, so this exploit would pass through… and for now it seems safest to assume the worst!
* I looked quickly at the code, but OCaml is not in my (very limited) list of competencies.
It will most likely still protect and stop it from moving further, but i think always better to assume the worst.
I’ve read diagonally the writeup, but from bird’s view the issue appears when there are some checksum offload between guest and netvm. “A malicious end can skip checksum verification, the C skb structure got modified field and that goes into a non intended code path.”-ish. (That are my words, is not a citation).
Actually, mirage, as all netvm, modifies the header (up to osi level 4) to apply nat and the checksum are always recomputed with mirage. I was planning to use the checksum offload techniques as Linux but maybe not now ![]()
So I think mirage effectively stops the attack iif I’ve correctly understood the issue. But as said the issue seems restricted to KVM anyway.
I tested using GitHub - Quaerendir/cve-2026-99999-audit: cve-2026-99999-audit script (PwnEscape) · GitHub in an offline qube (based on whonix-workstation-18 template).
Here is the output:
___ ___
> _ \__ __ ___ _ | __|___ __ __ _ _ __ ___
> _/\ V V / ' \ | _|(_-</ _/ _` | '_ \/ -_)
>_| \_/\_/|_||_||___/__/\__\__,_| .__/\___|
>_|
CVE-2026-99999 ipv4 skb_checksum_help() csum_start OOB write
audit script 1.0.0 by Quaerendir
+-------- guest --------+
> virtio_net_hdr { | csum_start = 0xffff
> CHECKSUM_PARTIAL | ====> csum_offset = "trust me"
> } | skb_checksum_help() ... host go brrr
+-----------------------+
== Host inventory ==
host: host
kernel release: 6.18.54-1.qubes.fc41.x86_64
kernel build: #1 SMP PREEMPT_DYNAMIC Fri Oct 2 21:47:20 UTC 2026
arch: x86_64
distro: Debian GNU/Linux 13 (trixie)
== Kernel package ==
package: <not detected>
version: <not detected>
. no changelog available for the running kernel package
== Vendor patch status ==
verdict: UNKNOWN
detail: Debian: fixed in 6.12.113-1, but the running kernel package was not found
upstream (vanilla/stable kernels only): VULNERABLE: 6.18.54-1.qubes.fc41.x86_64 < 6.18.57 (stable fix)
== Entry point reachability ==
- tun: loadable on demand
- macvtap: loadable on demand
- ipvtap: loadable on demand
- af_packet: built-in
== VM / container hosting signals ==
/dev/kvm: absent
hypervisor processes: 0
container runtime processes: 0
tun/tap interfaces: 0
== User namespace exposure ==
user.max_user_namespaces: 38987
kernel.unprivileged_userns_clone: unknown
user.max_net_namespaces: 38987
apparmor_restrict_unprivileged_userns: unknown
apparmor_restrict_unprivileged_unconfined: unknown
- unprivileged userns+netns reachable
. no AppArmor userns hardening signal
== Entry paths ==
- guest -> host: tun/macvtap/ipvtap reachable
- local / container: reachable
== Behavioural IoC hunt (since 2026-09-22) ==
+ no checksum-path crash signatures in kernel log window
== Summary ==
verdict: UNKNOWN
risk score: 55 / 100
vendor: UNKNOWN -> Debian: fixed in 6.12.113-1, but the running kernel package was not found
paths: guest=1 local=1
modules: tun=1 macvtap=1 ipvtap=1 af_packet=1 (1=reachable)
hosting: vmm=0 tun_ifaces=0 user_tun=0 containers=0 kvm=0
userns: max=38987 clone=unknown netns=38987 aa_userns=unknown aa_unconfined=unknown
ioc hits: 0
Action: cross-check the vendor advisory for the exact running kernel package.
Treat as VULNERABLE on VM hosts, container hosts and shared machines until proven otherwise.
Please consider this a call for discussion and further investigation, rather than a final judgement.
Concerning the VM escape scenario (as far as it seems to me) effectively not.
Why do I think so? → See section 2. of the attached PDF-link. The paper is from 2016, but the fundamentals didn’t change AFAIK.
While every single dom within Xen could be running a linux kernel with (effectively) flawed TCP/IP parsing implementation, the inter VM mechanism of transferring network data within Xen is different from KVM’s way of handling things.
Xen’s inter-VM communication for networking to and from the isolated device domain/IDD (for QubesOS: sys-net) relies completely (event handling apart) on memory copy mechanisms between virtual interfaces via multiple shared ring buffers. Within KVM it’s functionally TCP/IP ‘plumbing’ via packet parsing in different protocol layers (with some additional kernel APIs attached, of course). That’s, where the eviction stuff seemed to be possible, since packets got checksummed/(partially) validated, but could be altered afterwards within a manipulated control flow, as explained in detail here.
This is how i understood it as well. Mirage drops the metadata/fields you mentioned (which is the weapon of this exploit) and neutralizes it that way. But i am still careful about it.
I agree.
Me too -at least for this one. I really thought KVM must have some real isolation barrier between host and guest, and that there was some other sauce that must be involved.
Now it just looks fuzzy, and my distaste at the idea of a KVM-dom0 just turned into revolt.
Thanks to all, especially @palainp. I’m going to have to get going on Mirage-firewall, for the next time.
The main problem with KVM is that it inherits all the risks of Linux, because it uses the basic architecture and functionality of a full-blown operating system. So, we are here again at the problem of using a Type II hypervisor, maybe a bit better than VirtualBox, but not much.
In contrast, Xen, as a Type I hypervisor, stands on its own. It has its own problems, shown in the list of XSAs, but these are separate from those of Linux. Fortunately, as the list of QSBs shows, only a relatively small part of the Xen flaws is relevant for Qubes, mostly because Qubes does not use the full Xen functionality, but only a part of it, and does not provide an interface to access the full set of Xen facilities.