Description: thermal: core: Fix NULL pointer dereference in zone registration error path References: Notes: carnil> Introduced in 3d439b1a2ad3 ("thermal/core: Alloc-copy-free the thermal zone carnil> parameters structure"). Vulnerable versions: 6.4-rc1. Bugs: upstream: released (6.8-rc1) [04e6ccfc93c5a1aa1d75a537cf27e418895e20ea] 6.7-upstream-stable: released (6.7.2) [02871710b93058eb1249d5847c0b2d1c2c3c98ae] 6.6-upstream-stable: released (6.6.14) [335176dd8ebaca6493807dceea33c478305667fa] 6.1-upstream-stable: N/A "Vulnerable code not present" 5.10-upstream-stable: N/A "Vulnerable code not present" 4.19-upstream-stable: N/A "Vulnerable code not present" sid: released (6.6.15-1) 6.1-bookworm-security: N/A "Vulnerable code not present" 5.10-bullseye-security: N/A "Vulnerable code not present" 4.19-buster-security: N/A "Vulnerable code not present"