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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Radim,

On 8/12/25 15:09, Radim Krčmář wrote:
2025-08-12T13:37:16+02:00, Alexandre Ghiti <alex@xxxxxxxx>:
@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.)


Ok thanks, I don't have any better idea than eye scrubbing so I'll take another look to improve our confidence. One good thing is that now I don't let them pass in reviews :)

Thanks for noticing this class of bugs!

Alex



_______________________________________________
linux-riscv mailing list
linux-riscv@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-riscv




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux