Cezary Rojewski e7255c00b1 ALSA: hda: Skip event processing for unregistered codecs
When codec is unbound but not yet removed, in the eyes of
snd_hdac_bus_process_unsol_events() it is still a valid target to
delegate work to. Such behaviour may lead to use-after-free errors.
Address by verifying if codec is actually registered.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220706120230.427296-6-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-07-15 16:26:50 +02:00
..
2022-07-15 16:11:58 +02:00
2022-03-21 16:19:21 +01:00
2022-07-15 16:11:58 +02:00
2017-11-13 15:45:57 +01:00
2020-11-30 12:54:02 +00:00
2022-06-24 16:21:41 +01:00
2022-06-10 13:32:05 +01:00
2020-09-09 18:32:52 +02:00
2019-10-25 11:06:57 +01:00