In the Linux kernel, the following vulnerability has been resolved:
cpufreq: exit() callback is optional
The exit() callback is optional and shouldn't be called without checking a valid pointer first.
Also, we must clear freq_table pointer even if the exit() callback isn't present.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38615.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38615.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "271159627200762537037457342205147195453",
"length": 928.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dfc56ff5ec9904c008e9376d90a6d7e2d2bec4d3",
"signature_type": "Function",
"id": "CVE-2024-38615-16fabc42",
"target": {
"file": "drivers/cpufreq/cpufreq.c",
"function": "__cpufreq_offline"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"174674393074600008125373962474344454207",
"119361547880565466421530706704154891000",
"324550418612242688082220095658156958714",
"98527722059232176773598435490085916566",
"128270444162732890491450397874815153251",
"240775773897453829796084144377772475829",
"9356404751169263711250651285557849178",
"254776317422660561302035215622092244516",
"109219864643182259976208331852373842431",
"73489816230749406222436802241904909290",
"182266483588453178085480513699772463460"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dfc56ff5ec9904c008e9376d90a6d7e2d2bec4d3",
"signature_type": "Line",
"id": "CVE-2024-38615-7e231c75",
"target": {
"file": "drivers/cpufreq/cpufreq.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "305331648492996220435573797571008962353",
"length": 509.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dfc56ff5ec9904c008e9376d90a6d7e2d2bec4d3",
"signature_type": "Function",
"id": "CVE-2024-38615-ef971adf",
"target": {
"file": "drivers/cpufreq/cpufreq.c",
"function": "cpufreq_remove_dev"
}
}
]