sound: soc: intel: avs: pcm.c Add NULL check in the avs_component_probe When devm_kasprintf() fails, it returns a NULL pointer. However, this return value is not properly checked in the function avs_component_probe. A NULL check should be added after the devm_kasprintf call to handle potential NULL pointer dereference error. CODE: if (((vendor_id >> 16) & 0xFFFF) == 0x8086) mach->tplg_filename = devm_kasprintf(adev->dev, GFP_KERNEL, "hda-8086-generic-tplg.bin"); else mach->tplg_filename = devm_kasprintf(adev->dev, GFP_KERNEL, "hda-generic-tplg.bin"); filename = kasprintf(GFP_KERNEL, "%s/%s", component->driver->topology_name_prefix, mach->tplg_filename);