CVE-2024-56676

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56676
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56676.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-56676
Downstream
Published
2024-12-28T09:46:05Z
Modified
2025-10-22T06:55:43.090131Z
Summary
thermal: testing: Initialize some variables annoteded with _free()
Details

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

thermal: testing: Initialize some variables annoteded with _free()

Variables annotated with __free() need to be initialized if the function can return before they get updated for the first time or the attempt to free the memory pointed to by them upon function return may crash the kernel.

Fix this issue in some places in the thermal testing code.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f6a034f2df426e279f1ecad53626bab80c04796a
Fixed
526c132124a62be486bad1701f7e8e92212ccec6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f6a034f2df426e279f1ecad53626bab80c04796a
Fixed
0104dcdaad3a7afd141e79a5fb817a92ada910ac

Affected versions

v6.*

v6.11
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.2