[PATCH] perf: RISC-V: check cpu_hw_evt before dereference in overflow IRQ
Paul Walmsley
pjw at kernel.org
Fri Aug 7 17:45:00 PDT 2026
Hi,
On Fri, 7 Aug 2026, Xixin Liu wrote:
> The overflow IRQ handler dereferences cpu_hw_evt before the null check.
> Move the check first. Defensive only; the cookie is valid on the normal
> path today.
>
> Signed-off-by: Xixin Liu <liuxixin at kylinos.cn>
Could you please add a Fixes: tag? Also, if it was written with LLM
assistance, please add the appropriate Assisted-by: tag.
thanks
- Paul
More information about the linux-arm-kernel
mailing list