В ядре Linux была устранена следующая уязвимость: rv: Fully конвертирует enabled_monitors в использование list_head в качестве итератора Обратные вызовы в enabled_monitors_seq_ops непоследовательны. Некоторые рассматривают итератор как struct rv_monitor *, в то время как другие рассматривают итератор как struct list_head *. Это приводит к неправильному набору типов и сбоям системы, как сообщает Nathan.
Преобразуйте все, чтобы использовать struct list_head * в качестве итератора. Это также делает enabled_monitors совместимым с available_monitors.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: rv: Fully convert enabled_monitors to use list_head as iterator The callbacks in enabled_monitors_seq_ops are inconsistent. Some treat the iterator as struct rv_monitor *, while others treat the iterator as struct list_head *. This causes a wrong type cast and crashes the system as reported by Nathan. Convert everything to use struct list_head * as iterator. This also makes enabled_monitors consistent with available_monitors.