Tested with following branch (topic/sof-dev + traces and comments)
https://github.com/plbossart/sound/tree/kasan/hdac_component_use_after_free
sof-dev-defconfig.txt
dmesg-kasan.txt
standard test: boot first with snd-sof-pci blacklisted, then modprobe snd-sof-pci and rmmod snd-sof-pci.
It seems to me that we have the same DAIs declared in multiple places for HDaudio support.
@kv2019i can you reproduce on a plain vanilla HDaudio platform?