In the Linux kernel, the following vulnerability has been resolved: ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument An ACPI device object's dev field in passed as the first argument to devm_kcalloc() in acpi_fan_get_fps() which is incorrect and leads to a memory leak on driver probe errors and removal because the driver is not bound to that ACPI device. Address this by replacing that pointer with a pointer to the device the driver is actually bound to. While at it, drop a redundant error message after a memory allocation failure (that also gets printed relative to the ACPI device).
https://git.kernel.org/stable/c/8160811079129f96290caa354eda0e7649305414
https://git.kernel.org/stable/c/755c4d87215134d00d66355ab1f36c4c53c629e4
https://git.kernel.org/stable/c/615db7a9c7130aefd9f09eaa63f27cd78a33f9ad
https://git.kernel.org/stable/c/2cf65d00347005eccf9a24801783377d7f920021