Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in libkrun's Windows virtio-fs backend. The rename and link operations build paths with Win32 calls that normalize away trailing dots and spaces in the last component, while lookup and create preserve the name as given. In a sticky directory on a virtio-fs share, a guest user who can create entries can exploit this discrepancy to replace or move a file belonging to another user, including root, by appending a trailing dot or space to the name, bypassing the guest kernel's sticky-bit permission checks.