CVE-2024-56768: bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP

Published Jan 6, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix bpfgetsmpprocessorid() on !CONFIGSMP

On x86-64 calling bpfgetsmpprocessorid() in a kernel with CONFIGSMP disabled can trigger the following bug, as pcpuhot 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: errorcode(0x0000) - not-present page

Fix by inlining a return 0 in the !CONFIGSMP case.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=6.10<6.12.8
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Event History

Jan 6, 2025
CVE Published
via MITRE·04:20 PM
Data Sourced
via MITRE·04:20 PM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Launchpad·06:47 PM
Description
Apr 4, 2025
Data Sourced
via Ubuntu·06:46 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-56768?

CVE-2024-56768 has a high severity due to the potential for bugs to occur when calling bpf_get_smp_processor_id() with CONFIG_SMP disabled.

2

How do I fix CVE-2024-56768?

To fix CVE-2024-56768, update your Linux kernel to version 6.12.9 or above.

3

Which versions of the Linux kernel are affected by CVE-2024-56768?

CVE-2024-56768 affects Linux kernel versions 6.10 to 6.12.8 and 6.13-rc1, 6.13-rc2, and 6.13-rc3.

4

What impact does CVE-2024-56768 have on system performance?

CVE-2024-56768 can lead to system instability and crashes when the bpf_get_smp_processor_id() function is improperly executed.

5

Is CVE-2024-56768 specific to any hardware architecture?

Yes, CVE-2024-56768 specifically impacts x86-64 architecture when CONFIG_SMP is disabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203