CVE-2024-27068: thermal/drivers/mediatek/lvts_thermal: Fix a memory leak in an error handling path

Description

In the Linux kernel, the following vulnerability has been resolved:

thermal/drivers/mediatek/lvts_thermal: Fix a memory leak in an error handling path

If devm_krealloc() fails, then 'efuse' is leaking.
So free it to avoid a leak.

Classification

CVE ID: CVE-2024-27068

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.06% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/2db869da91afd48e5b9ec76814709be49662b07d
https://git.kernel.org/stable/c/a37f3652bee468f879d35fe2da9ede3f1dcbb7be
https://git.kernel.org/stable/c/9b02197596671800dd934609384b1aca7c6ad218
https://git.kernel.org/stable/c/ca93bf607a44c1f009283dac4af7df0d9ae5e357

Timeline