bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP On x86-64 calling bpf_get_smp_processor_id() in a kernel with CONFIG_SMP disabled can trigger the following bug, as pcpu_hot is unavailable: [ 8.471774] BUG: unable to handle page fault for address: 00000000936a290c [ 8.471849] #PF: supervisor read access in kernel mode [ 8.471881] #PF: error_code(0x0000) - not-present page Fix by inlining a return 0 in the !CONFIG_SMP case.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.8
- CVEs
- CVE-2024-56768
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 08:45 UTC · Revision 1
Source evidence
bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP
core-osv · Original sourcePublished 6 Jan 2025, 16:20 UTC
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP On x86-64 calling bpf_get_smp_processor_id() in a kernel with CONFIG_SMP disabled can trigger the following bug, as pcpu_hot is unavailable: [ 8.471774] BUG: unable to handle page fault for address: 00000000936a290c [ 8.471849] #PF: supervisor read access in kernel mode [ 8.471881] #PF: error_code(0x0000) - not-present page Fix by inlining a return 0 in the !CONFIG_SMP case.
osv:CVE-2024-56768
Kernel
Fixed versions: 6.12.8
Complete source record
{
"id": "baa7adfc5bfdaf15266fc4b35898a2abb8cedb477d3756f9439163806cd87231",
"url": "https://osv.dev/vulnerability/CVE-2024-56768",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP",
"summary": "In the Linux kernel, the following vulnerability has been resolved: bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP On x86-64 calling bpf_get_smp_processor_id() in a kernel with CONFIG_SMP disabled can trigger the following bug, as pcpu_hot is unavailable: [ 8.471774] BUG: unable to handle page fault for address: 00000000936a290c [ 8.471849] #PF: supervisor read access in kernel mode [ 8.471881] #PF: error_code(0x0000) - not-present page Fix by inlining a return 0 in the !CONFIG_SMP case.",
"evidence": "osv:CVE-2024-56768",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2024-56768",
"aliases": [
"CVE-2024-56768"
],
"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": "1ae6921009e5d72787e07ccc04754514ccf6bc99"
},
{
"fixed": "f4ab7d74247b0150547cf909b3f6f24ee85183df"
},
{
"fixed": "23579010cf0a12476e96a5f1acdf78a9c5843657"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56768.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.10.0"
},
{
"fixed": "6.12.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56768.json"
}
}
],
"modified": "2026-10-28T02:30:34.198763101Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/23579010cf0a12476e96a5f1acdf78a9c5843657",
"https://git.kernel.org/stable/c/f4ab7d74247b0150547cf909b3f6f24ee85183df",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56768.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-56768",
"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/56xxx/CVE-2024-56768.json"
}
},
"related_cves": [
{
"value": "CVE-2024-56768",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 501230,
"published_at": "2025-01-06T16:20:46.133+00:00"
}