I have the exact same issue. I also have the 6.2.0-26 headers installed, and the problem is only fixed by booting into the 5.19.x kernel. The command doesn't return anything, the full output is:

...