futex(0x1ffffff81300000) on risc-v -> mm panic

Nam Cao namcao at linutronix.de
Wed Jun 18 06:25:59 PDT 2025


On Wed, Jun 18, 2025 at 07:10:28AM -0400, rtm at csail.mit.edu wrote:
> This program on risc-v:
> 
> main(){
>   futex((void*) 0x1ffffff81300000, FUTEX_WAIT, 0, 0, 0, 0);
> }
> 
> results in:
> 
> BUG: Bad page state in process a.out  pfn:81500

I cannot reproduce this issue. Can you please share your .config?

Also, your kernel seems to have some commits on top. Are you sure none of
those is the reason?

Best regards,
Nam



More information about the linux-riscv mailing list