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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-05-01T13:04:19.518Z
- Modified: 2026-06-17T07:19:05.730Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f5f633b18234cecb0e6ee6e5fbb358807dda15c3 before 2db869da91afd48e5b9ec76814709be49662b07d; from f5f633b18234cecb0e6ee6e5fbb358807dda15c3 before a37f3652bee468f879d35fe2da9ede3f1dcbb7be; from f5f633b18234cecb0e6ee6e5fbb358807dda15c3 before 9b02197596671800dd934609384b1aca7c6ad218; from f5f633b18234cecb0e6ee6e5fbb358807dda15c3 before ca93bf607a44c1f009283dac4af7df0d9ae5e357; 6.3 (not affected: before 6.3; from 6.6.23 up to 6.6.*; from 6.7.11 up to 6.7.*; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.3 before 6.6.23; from 6.7 before 6.7.11; from 6.8 before 6.8.2

## References

- <https://git.kernel.org/stable/c/2db869da91afd48e5b9ec76814709be49662b07d> (patch)
- <https://git.kernel.org/stable/c/a37f3652bee468f879d35fe2da9ede3f1dcbb7be> (patch)
- <https://git.kernel.org/stable/c/9b02197596671800dd934609384b1aca7c6ad218> (patch)
- <https://git.kernel.org/stable/c/ca93bf607a44c1f009283dac4af7df0d9ae5e357> (patch)

## Sources

- CVE List: [CVE-2024-27068](https://www.cve.org/CVERecord?id=CVE-2024-27068), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-27068](https://nvd.nist.gov/vuln/detail/CVE-2024-27068), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27068 · Whole record: https://cve.day/CVE-2024-27068.json · Rebuilt by cve.day 2026-11-25T22:58:39.807Z
