В ядре Linux была устранена следующая уязвимость: cpufreq/longhaul: handle NULL policy in longhaul_exit longhaul_exit() вызывал cpufreq_cpu_get(0) без проверки на указатель политики NULL. В некоторых системах это может привести к смещению NULL и предупреждению ядра или панике. Этот патч добавляет проверку с использованием norbidden() и возвращается раньше, если политика является NULL.
Багзилла: 219962
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: cpufreq/longhaul: handle NULL policy in longhaul_exit longhaul_exit() was calling cpufreq_cpu_get(0) without checking for a NULL policy pointer. On some systems, this could lead to a NULL dereference and a kernel warning or panic. This patch adds a check using unlikely() and returns early if the policy is NULL. Bugzilla: #219962