A few minutes ago I opened the pixel camera app on my pixel 8, the software is up to date and I was using a secondary user with sand-boxed play services installed. The thing is that after closing the camera app, the microphone was still being used (realized by the green dot on the right-up corner), and suddenly the camera started to work also, a few seconds after the camera stopped being used but the the microphone didn't, went to settings to see last mic access of all my apps and it said it was stop being used when I closed the app, any other app was using it, plus the green dot was telling me that it was the camera. then I tried disabling the mic access and obviously it worked, but when I turned it back on, it was being used again by pixel camera.
In the end I rebooted the system to solve it and it got fixed, not sure if I tried something else, I think I also disabled mic access to the app on settings and it was still being used. I think It was most likely a bug, did it happened to somebody else? Do you think it was a bug? I don't think it was a malware since everything is sand-boxed and I don't give network permission to the camera app.