In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: wcd937x: fix a potential memory leak in wcd937xsoccodecprobe() When sndsocdapmnewcontrols() or sndsocdapmaddroutes() fails, wcd937xsoccodecprobe() returns without releasing 'wcd937x->clshinfo', which is allocated by wcdclshctrlalloc. Add wcdclshctrl_free() to prevent potential memory leak.