In the Linux kernel, the following vulnerability has been resolved:
cpufreq: CPPC: Fix possible null-ptr-deref for cppcgetcpu_cost()
cpufreqcpugetraw() may return NULL if the cpu is not in policy->cpus cpu mask and it will cause null pointer dereference, so check NULL for cppcgetcpucost().
[
{
"digest": {
"function_hash": "256686956322331159138143619199402538154",
"length": 465.0
},
"target": {
"function": "cppc_get_cpu_cost",
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-06abebcf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@afd22d9839359829776abb55cc9bc4946e888704",
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"337900066270880399670036239299298911081",
"45150521857311673413692240560313974524",
"230227380078697170288679810983252855782",
"147316740376322919711945982932187982715"
]
},
"target": {
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-0f40c0f5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6be57617a38b3f33266acecdb3c063c1c079aaf7",
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"337900066270880399670036239299298911081",
"45150521857311673413692240560313974524",
"230227380078697170288679810983252855782",
"147316740376322919711945982932187982715"
]
},
"target": {
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-20549125",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1975b481f644f8f841d9c188e3c214fce187f18b",
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"337900066270880399670036239299298911081",
"45150521857311673413692240560313974524",
"230227380078697170288679810983252855782",
"147316740376322919711945982932187982715"
]
},
"target": {
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-259fa11f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1a1374bb8c5926674973d849feed500bc61ad535",
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"function_hash": "256686956322331159138143619199402538154",
"length": 465.0
},
"target": {
"function": "cppc_get_cpu_cost",
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-537eb304",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1a1374bb8c5926674973d849feed500bc61ad535",
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"337900066270880399670036239299298911081",
"45150521857311673413692240560313974524",
"230227380078697170288679810983252855782",
"147316740376322919711945982932187982715"
]
},
"target": {
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-76508715",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f05ef81db63889f6f14eb77fd140dac6cedb6f7f",
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"function_hash": "256686956322331159138143619199402538154",
"length": 465.0
},
"target": {
"function": "cppc_get_cpu_cost",
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-960e0165",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f05ef81db63889f6f14eb77fd140dac6cedb6f7f",
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"function_hash": "256686956322331159138143619199402538154",
"length": 465.0
},
"target": {
"function": "cppc_get_cpu_cost",
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-ea6ef25b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6be57617a38b3f33266acecdb3c063c1c079aaf7",
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"337900066270880399670036239299298911081",
"45150521857311673413692240560313974524",
"230227380078697170288679810983252855782",
"147316740376322919711945982932187982715"
]
},
"target": {
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-eb769351",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@afd22d9839359829776abb55cc9bc4946e888704",
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
},
{
"digest": {
"function_hash": "256686956322331159138143619199402538154",
"length": 465.0
},
"target": {
"function": "cppc_get_cpu_cost",
"file": "drivers/cpufreq/cppc_cpufreq.c"
},
"id": "CVE-2024-53230-f6947569",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1975b481f644f8f841d9c188e3c214fce187f18b",
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false
}
]