[PATCH 0/2] riscv, bpf: fix reads of thread_info.cpu

Radim Krčmář rkrcmar at ventanamicro.com
Tue Aug 12 06:09:09 PDT 2025


2025-08-12T13:37:16+02:00, Alexandre Ghiti <alex at ghiti.fr>:
> @Radim: This is the third similar bug, did you check all assembly code 
> (and bpf) to make sure we don't have anymore left or should I?

I looked at load/store instructions, including bpf, and focussed on
patterns where we access non-xlen sized data through an offset.

(Nothing else popped up, but I mostly used grep and cscope as I don't
 know of any semantic tool, so my confidence levels are low.)



More information about the linux-riscv mailing list