Re: [PATCH 7/9] riscv: bpf: Avoid breaking W^X

From: Andreas Schwab
Date: Fri Jun 11 2021 - 12:41:39 EST


On Jun 12 2021, Jisheng Zhang wrote:

> I reproduced an kernel panic with the defconfig on qemu, but I'm not sure whether
> this is the issue you saw, I will check.
>
> 0.161959] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
> [ 0.167028] pinctrl core: initialized pinctrl subsystem
> [ 0.190727] Unable to handle kernel paging request at virtual address ffffffff81651bd8
> [ 0.191361] Oops [#1]
> [ 0.191509] Modules linked in:
> [ 0.191814] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.0-rc5-default+ #3
> [ 0.192179] Hardware name: riscv-virtio,qemu (DT)
> [ 0.192492] epc : __memset+0xc4/0xfc
> [ 0.192712] ra : skb_flow_dissector_init+0x22/0x86

Yes, that's the same.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."