The earliest recollection of this bug is traced back to PAN-OS 8.1.9 - January 08, 2024.
This bug is fixed in PAN-OS versions 8.1.9.
Fixed an issue where the firewall incorrectly forwarded traffic when you configured the ingress interface with a QoS policy and the egress interface as a tunnel.
For more information:
https://docs.paloaltonetworks.com/pan-os/8-1/pan-os-release-notes/pan-os-8-1-addressed-issues/pan-os-8-1-9-addressed-issues