MediumFix available
cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost() cpufreq_cpu_get_raw() may return NULL if the cpu is not in policy->cpus cpu mask and it will cause null pointer dereference, so check NULL for cppc_get_cpu_cost().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.120, 6.11.11, 6.12.2, 6.6.64
- CVEs
- CVE-2024-53230
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 11:56 UTC · Revision 1
Source evidence
cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()
core-osv · Original sourcePublished 27 Dec 2024, 13:50 UTC
In the Linux kernel, the following vulnerability has been resolved: cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost() cpufreq_cpu_get_raw() may return NULL if the cpu is not in policy->cpus cpu mask and it will cause null pointer dereference, so check NULL for cppc_get_cpu_cost().
osv:CVE-2024-53230
Kernel
Fixed versions: 6.1.120, 6.6.64, 6.11.11, 6.12.2
Complete source record
{
"id": "d1f22b2e26deb042d739c7b9c91944b3790a12b8b75d17dc4186299aaf949622",
"url": "https://osv.dev/vulnerability/CVE-2024-53230",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost() cpufreq_cpu_get_raw() may return NULL if the cpu is not in policy->cpus cpu mask and it will cause null pointer dereference, so check NULL for cppc_get_cpu_cost().",
"evidence": "osv:CVE-2024-53230",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.120",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.64",
"evidence": "/affected/1/ranges"
},
{
"value": "6.11.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2024-53230",
"aliases": [
"CVE-2024-53230"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "740fcdc2c20ecf855b36b919d7fa1b872b5a7eae"
},
{
"fixed": "1975b481f644f8f841d9c188e3c214fce187f18b"
},
{
"fixed": "f05ef81db63889f6f14eb77fd140dac6cedb6f7f"
},
{
"fixed": "afd22d9839359829776abb55cc9bc4946e888704"
},
{
"fixed": "6be57617a38b3f33266acecdb3c063c1c079aaf7"
},
{
"fixed": "1a1374bb8c5926674973d849feed500bc61ad535"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53230.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.19.0"
},
{
"fixed": "6.1.120"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.64"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.11.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.12.0"
},
{
"fixed": "6.12.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53230.json"
}
}
],
"modified": "2026-10-28T02:30:35.291973621Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1975b481f644f8f841d9c188e3c214fce187f18b",
"https://git.kernel.org/stable/c/1a1374bb8c5926674973d849feed500bc61ad535",
"https://git.kernel.org/stable/c/6be57617a38b3f33266acecdb3c063c1c079aaf7",
"https://git.kernel.org/stable/c/afd22d9839359829776abb55cc9bc4946e888704",
"https://git.kernel.org/stable/c/f05ef81db63889f6f14eb77fd140dac6cedb6f7f",
"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53230.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-53230",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53230.json"
}
},
"related_cves": [
{
"value": "CVE-2024-53230",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 502200,
"published_at": "2024-12-27T13:50:18.238+00:00"
}