MediumFix available
cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw() cpufreq_cpu_get_raw() may return NULL if the cpu is not in policy->cpus cpu mask and it will cause null pointer dereference.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.120, 6.11.11, 6.12.2, 6.6.64
- CVEs
- CVE-2024-53231
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 18:21 UTC · Revision 1
Source evidence
cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()
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 cpufreq_cpu_get_raw() cpufreq_cpu_get_raw() may return NULL if the cpu is not in policy->cpus cpu mask and it will cause null pointer dereference.
osv:CVE-2024-53231
Kernel
Fixed versions: 6.1.120, 6.6.64, 6.11.11, 6.12.2
Complete source record
{
"id": "092936da73be34229aad90c1f25d24dbf9c4e99a52bc4cafca5c8e3a4da81277",
"url": "https://osv.dev/vulnerability/CVE-2024-53231",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw() cpufreq_cpu_get_raw() may return NULL if the cpu is not in policy->cpus cpu mask and it will cause null pointer dereference.",
"evidence": "osv:CVE-2024-53231",
"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-53231",
"aliases": [
"CVE-2024-53231"
],
"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": "a357b63fd21e4b2791008c2175ba7a8c235ebce1"
},
{
"fixed": "e07570a8f2cfc51260c6266cb8e1bd4777a610d6"
},
{
"fixed": "e9b39f1924b76abc18881e4ce899fb232dd23d12"
},
{
"fixed": "65fe2f7fdafe2698a343661800434b3f2e51041e"
},
{
"fixed": "a78e7207564258db6e373e86294a85f9d646d35a"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53231.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-53231.json"
}
}
],
"modified": "2026-10-28T02:30:47.996046826Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/65fe2f7fdafe2698a343661800434b3f2e51041e",
"https://git.kernel.org/stable/c/a357b63fd21e4b2791008c2175ba7a8c235ebce1",
"https://git.kernel.org/stable/c/a78e7207564258db6e373e86294a85f9d646d35a",
"https://git.kernel.org/stable/c/e07570a8f2cfc51260c6266cb8e1bd4777a610d6",
"https://git.kernel.org/stable/c/e9b39f1924b76abc18881e4ce899fb232dd23d12",
"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53231.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-53231",
"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-53231.json"
}
},
"related_cves": [
{
"value": "CVE-2024-53231",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 515873,
"published_at": "2024-12-27T13:50:18.899+00:00"
}