Description of problem: Additional info: reporter: libreport-2.10.0 WARNING: CPU: 0 PID: 1 at arch/arm/mm/dump.c:252 note_page+0x158/0x31c arm/mm: Found insecure W+X mapping at address 0xf0879000 Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.0.6-300.fc30.armv7hl #1 Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [<c0312580>] (unwind_backtrace) from [<c030c9ac>] (show_stack+0x18/0x1c) [<c030c9ac>] (show_stack) from [<c0b31b60>] (dump_stack+0x80/0x9c) [<c0b31b60>] (dump_stack) from [<c03505b4>] (__warn+0xdc/0xf8) [<c03505b4>] (__warn) from [<c035060c>] (warn_slowpath_fmt+0x3c/0x4c) [<c035060c>] (warn_slowpath_fmt) from [<c031b488>] (note_page+0x158/0x31c) [<c031b488>] (note_page) from [<c031b714>] (walk_pgd+0xc8/0xe0) [<c031b714>] (walk_pgd) from [<c031b7f0>] (ptdump_check_wx+0x58/0xac) [<c031b7f0>] (ptdump_check_wx) from [<c0b45f40>] (kernel_init+0x34/0x11c) [<c0b45f40>] (kernel_init) from [<c03010e8>] (ret_from_fork+0x14/0x2c) Exception stack(0xee917fb0 to 0xee917ff8) 7fa0: 00000000 00000000 00000000 00000000 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Created attachment 1553930 [details] File: dmesg
Crash happened when booting the XFCE spin on a Wandboard Quad.
Hmmmm, is this reproducible? That address looks like it's from the vmalloc space. If you can reproduce this, can you share dmesg + the out put cat /proc/vmallocinfo?
Yes, looks like it happens on every boot. requested output attached.
Created attachment 1553943 [details] wandboard-dmesg
Created attachment 1553944 [details] wandboard vmallocinfo
Thanks for the dumps. I think this is from arch/arm/mach-imx/pm-imx6.c calling __arm_ioremap_exec which deliberately maps everything as RWX. The warning is correctly flagging it as something bad but it's otherwise harmless. I don't see a super easy way to fix this but I'll give it some thought.
*********** MASS BUG UPDATE ************** We apologize for the inconvenience. There are a large number of bugs to go through and several of them have gone stale. Due to this, we are doing a mass bug update across all of the Fedora 30 kernel bugs. Fedora 30 has now been rebased to 5.2.9-200.fc30. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel. If you have moved on to Fedora 31, and are still experiencing this issue, please change the version to Fedora 31. If you experience different issues, please open a new bug report for those.
*********** MASS BUG UPDATE ************** This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 3 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.
Hi, I see this happening on a Wandboard Quad IMX6Q-BW Rev D1 with 5.4.17-200.fc31.armv7hl. This is on a system that started at F25 and was upgraded all the way to F31 step-by-step using dnf system-upgrade. Note that if I use Fedora-Minimal-31 directly on the quad system I do NOT see this issue (running 5.3.7-301.fc31.armv7hl). I am working to reproduce it using "old" and "new" system disks with the same kernel to see if it's specifically a kernel version issue or if there is something residual on the old filesystem that might be causing this. I'll note that this appears to prevent certain other parts of the system from starting up later.. [ 6.841555] Freeing unused kernel memory: 2048K [ 6.848283] ------------[ cut here ]------------ [ 6.852985] WARNING: CPU: 2 PID: 1 at arch/arm/mm/dump.c:248 note_page+0x1604 [ 6.860609] arm/mm: Found insecure W+X mapping at address 0xf0879000 [ 6.866994] Modules linked in: [ 6.870093] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.4.17-200.fc31.armv7h1 [ 6.877494] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 6.884062] [<c0311264>] (unwind_backtrace) from [<c030b744>] (show_stack+0x) [ 6.891825] [<c030b744>] (show_stack) from [<c0b2d580>] (dump_stack+0xb4/0xd) [ 6.899068] [<c0b2d580>] (dump_stack) from [<c034d5bc>] (__warn+0xdc/0xf8) [ 6.905958] [<c034d5bc>] (__warn) from [<c034d96c>] (warn_slowpath_fmt+0x70/) [ 6.913455] [<c034d96c>] (warn_slowpath_fmt) from [<c03197a8>] (note_page+0x) [ 6.921383] [<c03197a8>] (note_page) from [<c0319a34>] (walk_pgd+0xc8/0xe0) [ 6.928357] [<c0319a34>] (walk_pgd) from [<c0319b10>] (ptdump_check_wx+0x58/) [ 6.935858] [<c0319b10>] (ptdump_check_wx) from [<c0b4182c>] (kernel_init+0x) [ 6.943706] [<c0b4182c>] (kernel_init) from [<c03010e8>] (ret_from_fork+0x14) [ 6.951281] Exception stack(0xee943fb0 to 0xee943ff8) [ 6.956339] 3fa0: 00000000 00000000 00000 [ 6.964524] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000 [ 6.972708] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 6.979365] ---[ end trace eb98c3200f90d0b6 ]--- [ 6.984352] Checked W+X mappings: FAILED, 1 W+X pages found [ 6.989965] rodata_test: test data was not read only