arm/mm: Found insecure W+X mapping at address 0xe001b000

From: Matwey V. Kornilov <hidden>
Date: 2019-01-18 20:53:37

Hello,

I am running linux kernel 5.0-rc1 on BeagleBone Black board and see
the following message during the boot.

[   23.344422] ------------[ cut here ]------------
[   23.349157] WARNING: CPU: 0 PID: 1 at
/home/matwey/lab/linux/arch/arm/mm/dump.c:253 note_page+0x38c/0x3c0
[   23.358804] arm/mm: Found insecure W+X mapping at address 0xe001b000
[   23.365205] Modules linked in:
[   23.368304] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.0.0-rc1-default+ #1
[   23.375295] Hardware name: Generic AM33XX (Flattened Device Tree)
[   23.381456] [<c031f2e0>] (unwind_backtrace) from [<c03186d0>]
(show_stack+0x18/0x1c)
[   23.389248] [<c03186d0>] (show_stack) from [<c0c528b0>]
(dump_stack+0xa0/0xd8)
[   23.396517] [<c0c528b0>] (dump_stack) from [<c0360f8c>] (__warn+0xd4/0x100)
[   23.403516] [<c0360f8c>] (__warn) from [<c0360ff8>]
(warn_slowpath_fmt+0x40/0x50)
[   23.411038] [<c0360ff8>] (warn_slowpath_fmt) from [<c0329490>]
(note_page+0x38c/0x3c0)
[   23.418993] [<c0329490>] (note_page) from [<c03295cc>] (walk_pmd+0x108/0x16c)
[   23.426163] [<c03295cc>] (walk_pmd) from [<c0329724>]
(ptdump_check_wx+0x6c/0xd0)
[   23.433685] [<c0329724>] (ptdump_check_wx) from [<c0c6a2ac>]
(kernel_init+0x34/0x120)
[   23.441554] [<c0c6a2ac>] (kernel_init) from [<c03010ac>]
(ret_from_fork+0x14/0x28)
[   23.449155] Exception stack(0xdb10bfb0 to 0xdb10bff8)
[   23.454230] bfa0:                                     00000000
00000000 00000000 00000000
[   23.462445] bfc0: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[   23.470658] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   23.477341] ---[ end trace cc475e67fdb0f809 ]---
[   23.482562] Checked W+X mappings: FAILED, 1 W+X pages found

-- 
With best regards,
Matwey V. Kornilov

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help