In the Linux kernel, the following vulnerability has been resolved: platform/x86: intel_pmc_core: fix memleak on registration failure In case device registration fails during module initialisation, the platform device structure needs to be freed using platform_device_put() to properly free all resources (e.g. the device name).
https://git.kernel.org/stable/c/9ca1324755f1f8629a370af5cc315b175331f5d1
https://git.kernel.org/stable/c/7a37f2e370699e2feca3dca6c8178c71ceee7e8a
https://git.kernel.org/stable/c/26a8b09437804fabfb1db080d676b96c0de68e7c