diff options
author | 2023-05-26 14:30:29 +0200 | |
---|---|---|
committer | 2023-06-20 19:52:12 +0200 | |
commit | 2ed8b509753a0454b52b2d72e982265472c8d861 (patch) | |
tree | 97c2e60a9ef29b84f22cf366ed0687e4024286cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/crash: use the correct type for memory allocation (diff) | |
download | wireguard-linux-2ed8b509753a0454b52b2d72e982265472c8d861.tar.xz wireguard-linux-2ed8b509753a0454b52b2d72e982265472c8d861.zip |
s390/kasan: fix insecure W+X mapping warning
Since commit 3b5c3f000c2e ("s390/kasan: move shadow mapping
to decompressor") the decompressor establishes mappings for
the shadow memory and sets initial protection attributes to
RWX. The decompressed kernel resets protection to RW+NX
later on.
In case a shadow memory range is not aligned on page boundary
(e.g. as result of mem= kernel command line parameter use),
the "Checked W+X mappings: FAILED, 1 W+X pages found" warning
hits.
Reported-by: Vasily Gorbik <gor@linux.ibm.com>
Fixes: 557b19709da9 ("s390/kasan: move shadow mapping to decompressor")
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions