CVE-2024-44968: tick/broadcast: Move per CPU pointer access into the atomic section
In the Linux kernel, the following vulnerability has been resolved:
tick/broadcast: Move per CPU pointer access into the atomic section
The recent fix for making the take over of the broadcast timer more reliable retrieves a per CPU pointer in preemptible context.
This went unnoticed as compilers hoist the access into the non-preemptible region where the pointer is actually used. But of course it's valid that the compiler keeps it at the place where the code puts it which rightfully triggers:
BUG: using smpprocessorid() in preemptible [00000000] code: caller is hotplugcpubroadcasttickpull+0x1c/0xc0
Move it to the actual usage site which is in a non-preemptible region.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.106-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.10.6-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Compensating control
In tick/broadcast, move the per-CPU pointer access into the atomic, non-preemptible section where the pointer is actually used.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-44968?
CVE-2024-44968 has a medium severity level due to its potential impact on system reliability.
How do I fix CVE-2024-44968?
To fix CVE-2024-44968, you should update the Linux kernel to a version that is not vulnerable, specifically above versions 6.1.105, 6.6.46, 6.10.5, or 6.11-rc1.
What systems are affected by CVE-2024-44968?
CVE-2024-44968 affects specific versions of the Linux kernel between 6.1.103 and 6.1.105, 6.6.44 and 6.6.46, 6.10.3 and 6.10.5, as well as version 6.11-rc1.
Is there a workaround for CVE-2024-44968?
No specific workaround is recommended for CVE-2024-44968; the best course of action is to apply the appropriate kernel update.
What type of vulnerability is CVE-2024-44968?
CVE-2024-44968 is a potential reliability issue within the Linux kernel related to the handling of per CPU pointers in preemptible contexts.