The bug report describes an issue with the `pwrite` system call emulation in QEMU's aarch64-linux-user mode. The inconsistency arises when `buf` is `NULL` and `len` is 0, leading to different results compared to native environments. **Category:** syscall