Comment 0 for bug 1905728

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Found insecure W+X mapping at address on Groovy RISCV

Issue found on 5.8.0-10-generic riscv

[ 13.483103] ------------[ cut here ]------------
[ 13.483711] riscv/mm: Found insecure W+X mapping at address (____ptrval____)/0xffffffdff8000000
[ 13.484542] WARNING: CPU: 5 PID: 1 at arch/riscv/mm/ptdump.c:200 note_page+0x24c/0x252
[ 13.485175] Modules linked in:
[ 13.485606] CPU: 5 PID: 1 Comm: swapper/0 Not tainted 5.8.0-10-generic #12-Ubuntu
[ 13.486091] epc: ffffffe000208f18 ra : ffffffe000208f18 sp : ffffffe1f5bfbb30
[ 13.486471] gp : ffffffe001728ee0 tp : ffffffe1f5bf5080 t0 : ffffffe00173ed88
[ 13.486850] t1 : ffffffe00173ed20 t2 : 00000001fecbe000 s0 : ffffffe1f5bfbb80
[ 13.487250] s1 : ffffffe1f5bfbe10 a0 : 0000000000000053 a1 : 0000000000000020
[ 13.487633] a2 : ffffffe1f5bfb870 a3 : 0000000000000000 a4 : ffffffe0016200f8
[ 13.488040] a5 : ffffffe0016200f8 a6 : 00000000000000b5 a7 : ffffffe0006f2806
[ 13.488421] s2 : ffffffdff8001000 s3 : 0000000000000000 s4 : 0000000000000004
[ 13.488800] s5 : 0000000000000000 s6 : 0000000000000000 s7 : ffffffe1f5bfbd20
[ 13.489322] s8 : ffffffdff8001000 s9 : ffffffe00172a148 s10: ffffffdff8002000
[ 13.489738] s11: ffffffe000c16e20 t3 : 000000000003cec0 t4 : 000000000003cec0
[ 13.490119] t5 : 0000000000000000 t6 : ffffffe001739462
[ 13.490406] status: 0000000000000120 badaddr: 0000000000000000 cause: 0000000000000003
[ 13.490849] ---[ end trace 607c551edff1ef12 ]---