Webgpu memory leak

I’ve been playing around with webgpu in firefox recently and I’ve noticed that the memory usage of my system keeps going up while I’m using webgpu features at a rate of around 8 gbs per hour. This memory is not released even if I kill the firefox process and I cannot find any userspace process that owns this memory. The only way to fix it is to reboot the system. I want to know more about this issue and workarounds. Is this a kernel bug, since this isn’t a leak in a userspace process?

I’m using vulkan loader 1.2.131.2, kernel version 5.11.21 with an amd card and mesa drivers and latest nightly firefox.

You should file a bug report in Bugzilla.