Hello, I'm Jan and I'm happy to help you today. I'm sorry that you are experiencing these problems. I recently have this feedback loop problem in the Stereo mix. Try to set the motherboard onboard audio/speaker/3.5mm out as your default audio output device, not any other available audio output device.
Right-click in the Speaker icon on your taskbar
Click Sounds
under Playback tab
Right-click on the onboard audio device/3.5mm out/headphones
then set it as the "Default device"
then in the Recording tab
Right-click in the stereo mix
open the Listen tab
check the listen to this device
Then select the "HDMI audio" as your playback device.
Also, try disabling all the mic devices in the recording tab.