Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* How to debug "insecure W+X mapping"?
@ 2017-12-12 22:57 Timur Tabi
  2017-12-12 23:30 ` Laura Abbott
  0 siblings, 1 reply; 6+ messages in thread
From: Timur Tabi @ 2017-12-12 22:57 UTC (permalink / raw)
  To: linux-arm-kernel

We have a 4.10-based kernel that occasionally displays an insecure W+X 
mapping (courtesy of CONFIG_DEBUG_WX):

[    7.151680] arm64/mm: Found insecure W+X mapping at address 
0000345a049d2000/0x345a049d2000
...
[    7.435481] Checked W+X mappings: FAILED, 4 W+X pages found, 0 
non-UXN pages found

The number of actual W+X pages varies, e.g. sometimes it says 6 pages.

How do I go about debugging this? How do I identify the source of 
0000345a049d2000?

-- 
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc.  Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-14 21:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-12 22:57 How to debug "insecure W+X mapping"? Timur Tabi
2017-12-12 23:30 ` Laura Abbott
2017-12-13 11:58   ` [PATCH] arm64: fix CONFIG_DEBUG_WX address reporting (was: Re: How to debug "insecure W+X mapping"?) Mark Rutland
2017-12-14 19:02     ` [PATCH] arm64: fix CONFIG_DEBUG_WX address reporting Laura Abbott
2017-12-14 21:34       ` Timur Tabi
2017-12-14 19:03     ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox