[Bug]: passt.avx2 crashes with SIGABRT, Windows loses network
Description
The passt.avx2 process inside the container crashes with SIGABRT (signal 6) shortly after startup, leaving the Windows VM without a network backend. QEMU does not reconnect automatically (no reconnect parameter in the stream netdev), so Windows loses internet and LAN access permanently until the container is restarted.
Restarting the container does not fix the issue — passt crashes again on every start.
System
- Host OS: CachyOS, Kernel 7.0.1-1-cachyos
- dockur/windows version: v5.14 (image built 2025-11-22, sha256:20b398ab935465f97ec8ab06489f7a85a5ad58e74e036ce66cc3c9172e7dbea8)
- passt version:
2025_09_19.623dbf6 - passt binary:
/run/passt.avx2(AVX2 variant) - QEMU: 10.0.6
Root cause
iptables fails due to missing multiport invert support in iptables-nft on this kernel:
Warning: Extension multiport revision 0 not supported, missing kernel module?
iptables v1.8.11 (nf_tables): multiport.0 does not support invert
Warning: failed to configure IP tables!
Warning: failed to setup NAT networking, falling back to user-mode networking!
This causes a fallback to passt. passt then crashes deterministically with SIGABRT at the same address on every run.
Evidence from systemd-coredump
systemd-coredump: Process 327143 (passt.avx2) of user 65534 terminated abnormally with signal 6/ABRT
#0 0x00000000004504dc n/a (/run/passt.avx2 + 0x504dc)
systemd-coredump: Process 335811 (passt.avx2) of user 65534 terminated abnormally with signal 6/ABRT
#0 0x00000000004504dc n/a (/run/passt.avx2 + 0x504dc)
Same crash address 0x4504dc on every run — reproducible assertion failure.
Workaround
Setting NETWORK: slirp in docker-compose.yml bypasses both the iptables issue and passt entirely:
environment:
NETWORK: "slirp"
Network works reliably with this workaround.
Expected behavior
passt should either not crash, or the container should fall back to slirp automatically when passt exits abnormally.
I just released a new version of the image (v5.15) which contains an updated version of Passt. Can you please check if you still encounter the crash with this newer Passt version?
Funny enough 5.15 crashes for me now with above, but going back to 5.14 and everything is fine on arch.
@unwilling-chemical Can you set:
environment:
DEBUG: "Y"
PASST_DEBUG: "Y"
And show the Docker log when it crashes?
@kroese these seem like the relevant bits from 5.15:
[windows] | dnsmasq: process is missing required capability NET_RAW
[windows] | ❯ ERROR: Failed to start Dnsmasq, reason: 0
[windows] | ❯ Warning: failed to setup NAT networking, falling back to user-mode networking!
[windows] | Configuring user-mode networking...
[windows] | Passt arguments:
[windows] |
[windows] | -4
[windows] | -a 10.89.0.2
[windows] | -g 10.89.0.1
[windows] | -n 255.255.255.0
[windows] | -t %eth0/3389
[windows] | -u %eth0/3389
[windows] | -H Windows
[windows] | -M 02:fb:ee:93:75:f0
[windows] | -P /var/run/passt.pid
[windows] | -l /var/log/passt.log
[windows] | -q
[windows] |
[windows] | Dual stack forward, but IPv6 not enabled
[windows] | Unable to add rule TCP [*]%eth0:3389 => 3389
[windows] | passt 2026_05_07.1afd4ed: /run/passt.avx2 (296)
[windows] | 0.0015: WARNING: Dual stack forward, but IPv6 not enabled
[windows] | 0.0015: ERROR: Unable to add rule TCP [*]%eth0:3389 => 3389
[windows] | ❯ Warning: failed to start passt (1), falling back to slirp networking!
[windows] | Configuring slirp networking...
@unwilling-chemical Thanks!
I made some small changes to the latest image to fix your issue. Can you please re-pull the v5.15 image, and see if both errors are gone now?
So the "Passt dual stack" error and the "dnsmasq capability NET_RAW" error should both be gone now. Can you please post the log with this new version? Thanks
@kroese I think that did it, I do see a warning about iptables, but passt seems happy and I don't lose networking in the pod. Here's a full gist of the startup just in case its helpful: https://gist.github.com/unwilling-chemical/00085acb2bb8e9a7cd49b684042dd593
Edit: Actually taking a closer look I did notice the more pertinent
[windows] | iptables v1.8.11 (nf_tables): Only one `--destination-port' allowed
[windows] | Try `iptables -h' or 'iptables --help' for more information.
[windows] | ❯ Warning: failed to configure IP tables!
still works fine, but very much could be a my machine specific thing.
@unwilling-chemical Okay, good news!
I made a small change to fix that iptables --destination-port error. Could you re-pull and post the log again?
@kroese the good news is no errors/warnings and general networking works! The bad news is I no longer seem to be able to reach host.containers.internal. nslookup does correctly resolve it, but I can't seem to pass packets.
Confirming v5.15 fixes the original SIGABRT crash for me.
Setup:
- CachyOS, kernel 7.0.2-2-cachyos
- AMD Ryzen 9 3900X, 64 GB RAM
- btrfs storage
-cpu host, noNETWORK: slirpworkaround anymore
With v5.15 the container configures NAT networking directly (dnsmasq starts cleanly, no NET_RAW warning, no passt fallback). Windows boots fast, networking works, SMB to my fileserver works fine, Windows Updates are pulling. ICMP is blocked but that's expected with Docker NAT and not an issue for me.
Thanks for the quick fixes! Happy to close this from my side whenever you want.
@Blarks-de Could you try one more thing for me? If you force Passt instead of NAT, with NETWORK: passt, does Passt still crash in v5.15 like it did in v5.14?
Tested with NETWORK: passt on v5.15 — runs stable, no crash anymore. Looks fixed. 👍 (CachyOS, Kernel 7.0.1, AVX2 CPU)
Good news, thanks!