Vulnerability record
powerpc/ftrace: Don't restore r13 during ftrace_regs_caller
In the Linux kernel, the following vulnerability has been resolved:
powerpc/ftrace: Don't restore r13 during ftrace_regs_caller
Michal reported a stack-protector failure and subsequent panic when running kernel builds. This was observed with full/lazy preemption. Initially it was suspected as KVM, but later turned out to be due to a bcc tool running in parallel.
Issue was recreated using a bcc tool. For example, running below in parallel leads to crash. ./funccount sched* -d 100 and make -j 64
The same crash was observed when running kprobe for schedule() function, while simpler function…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources