There is a thread here:
https://lore.kernel.org/linux-riscv/20210520173859.7441aed8@xhacker.debian/T/

Looks like this has landed:
https://github.com/torvalds/linux/commit/8a4102a0cf07cc76a18f373f6b49485258cc6af4#diff-2db30a5588193fbb572fc2b96f3b47ae2e7e83351c5122c368b2b6fa56f38cda

And here is another patch from Alex, another fix to 2bfc6cd
("riscv: Move kernel mapping outside of linear mapping") as well.
https://github.com/torvalds/linux/commit/e5c35fa0401971701dcd7675f471b664698244dd#diff-2db30a5588193fbb572fc2b96f3b47ae2e7e83351c5122c368b2b6fa56f38cda

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-riscv in Ubuntu.
https://bugs.launchpad.net/bugs/1905728

Title:
  log_check / tainted_check failed in ubuntu_boot because of warnings
  (Found insecure W+X mapping at address) found on F/G/H-riscv

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-riscv package in Ubuntu:
  New
Status in linux source package in Groovy:
  New
Status in linux-riscv source package in Groovy:
  Confirmed

Bug description:
  Issue found on 5.8.0-10-generic riscv

  Message reported on boot.

  [   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 ]---

  Please find attachment for the boot dmesg log.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1905728/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to