
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability was discovered in the tick/nohz component where the __init-annotated tick_nohz_full_setup() function was incorrectly exported. The issue was identified in June 2022 and affects the Linux kernel's timing subsystem. The vulnerability occurs because EXPORT_SYMBOL and __init is an unsafe combination, as the .init.text section is freed after initialization, making it impossible for modules to safely use __init annotated symbols (Kernel Git).
The vulnerability stems from a combination of EXPORT_SYMBOL and __init annotations in the kernel code. When a symbol is annotated with __init, its code resides in the .init.text section, which is freed after system initialization. However, the tick_nohz_full_setup() function was also exported using EXPORT_SYMBOL_GPL, allowing modules to access it even after the memory section was freed. This could lead to accessing freed memory, potentially resulting in a kernel panic (Debian Tracker).
If exploited, this vulnerability could lead to a kernel panic when a module attempts to access the freed tick_nohz_full_setup() function. This would result in system instability and potential denial of service conditions (Debian Tracker).
The vulnerability requires a module to attempt to use the exported tick_nohz_full_setup() function after system initialization. The issue was discovered when modpost started warning about the section mismatch between the exported symbol and its __init annotation (Kernel Git).
The issue has been fixed by removing the EXPORT_SYMBOL_GPL of tick_nohz_full_setup() since the function is only called from built-in code in kernel/sched/isolation.c. This fix has been implemented in various Linux distributions including Debian's bullseye (5.10.234-1) and bookworm (6.1.129-1) releases (Debian Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."