Upstream fix: https://github.com/ipxe/ipxe/commit/6ca597eee.patch
Created attachment 901955 [details, diff] Backported of upstream patch to sys-firmware/ipxe-1.21.1_p20230601::gentoo
Nicer full commit hash: https://github.com/ipxe/ipxe/commit/6ca597eee9f95b846a3c2dc1231e63cfc02272c1