В ядре Linux устранена следующая уязвимость:
riscv: stacktrace: отключить проверки KASAN для нетекущих задач.
Разматывая стек задачи, отличной от текущей, КАСАН сообщал
«ОШИБКА: KASAN: выход за пределы в walk_stackframe+0x41c/0x460»
Та же проблема существует на x86 и решена коммитом.
84936118bdf3 («x86/unwind: отключить проверки KASAN на нетекущие задачи»)
Это решение можно применить и к RISC-V.
Этот патч также может решить проблему:
https://seclists.org/oss-sec/2025/q4/23
[pjw@kernel.org: устранить проблемы с проверочными патчами]
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: riscv: stacktrace: Disable KASAN checks for non-current tasks Unwinding the stack of a task other than current, KASAN would report "BUG: KASAN: out-of-bounds in walk_stackframe+0x41c/0x460" There is a same issue on x86 and has been resolved by the commit 84936118bdf3 ("x86/unwind: Disable KASAN checks for non-current tasks") The solution could be applied to RISC-V too. This patch also can solve the issue: https://seclists.org/oss-sec/2025/q4/23 [pjw@kernel.org: clean up checkpatch issues]
Характеристики атаки
Последствия
Строка CVSS v3.1