2017-02-17 09:32:45 |
Po-Hsu Lin |
description |
It looks like this test case failed on arm64 Xenial (I think this is the first time we run this for arm64 SRU):
bss: 0x4220c8
brk: 0xf6c1020
rw: 0xffff9e9a3000
rwx: 0xffff9e9a2000
stack: 0xffffc8e37da8
Dump of /proc/self/maps:
00400000-00402000 r-xp 00000000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00411000-00412000 r--p 00001000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00412000-00413000 rw-p 00002000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00413000-00423000 rw-p 00000000 00:00 0
0f6c0000-0f6e2000 rw-p 00000000 00:00 0 [heap]
ffff9e835000-ffff9e963000 r-xp 00000000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e963000-ffff9e972000 ---p 0012e000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e972000-ffff9e976000 r--p 0012d000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e976000-ffff9e978000 rw-p 00131000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e978000-ffff9e97c000 rw-p 00000000 00:00 0
ffff9e97c000-ffff9e998000 r-xp 00000000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e99c000-ffff9e99e000 rw-p 00000000 00:00 0
ffff9e9a2000-ffff9e9a3000 rwxp 00000000 00:00 0
ffff9e9a3000-ffff9e9a6000 rw-p 00000000 00:00 0
ffff9e9a6000-ffff9e9a7000 r--p 00000000 00:00 0 [vvar]
ffff9e9a7000-ffff9e9a8000 r-xp 00000000 00:00 0 [vdso]
ffff9e9a8000-ffff9e9a9000 r--p 0001c000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e9a9000-ffff9e9ab000 rw-p 0001d000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffffc8e18000-ffffc8e39000 rw-p 00000000 00:00 0 [stack]
Attempting to execute function at 0x4120a8
If this program seg-faults, the region was enforced as non-executable...
Full log: http://pastebin.ubuntu.com/24012563/ |
It looks like this test case failed on arm64 Xenial (I think this is the first time we run this for arm64 SRU):
FAIL: test_060_nx (__main__.KernelSecurityTest)
NX bit is working
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 455, in test_060_nx
self.assertShellExitEquals(expected, ["./nx-test", "data"])
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
self.assertEqual(expected, rc, msg + result + report)
AssertionError: Got exit code -11, expected 0
Command: './nx-test', 'data'
Output:
rodata:0x401120
data: 0x4120a8
bss: 0x4220c8
brk: 0xf6c1020
rw: 0xffff9e9a3000
rwx: 0xffff9e9a2000
stack: 0xffffc8e37da8
Dump of /proc/self/maps:
00400000-00402000 r-xp 00000000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00411000-00412000 r--p 00001000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00412000-00413000 rw-p 00002000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00413000-00423000 rw-p 00000000 00:00 0
0f6c0000-0f6e2000 rw-p 00000000 00:00 0 [heap]
ffff9e835000-ffff9e963000 r-xp 00000000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e963000-ffff9e972000 ---p 0012e000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e972000-ffff9e976000 r--p 0012d000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e976000-ffff9e978000 rw-p 00131000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e978000-ffff9e97c000 rw-p 00000000 00:00 0
ffff9e97c000-ffff9e998000 r-xp 00000000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e99c000-ffff9e99e000 rw-p 00000000 00:00 0
ffff9e9a2000-ffff9e9a3000 rwxp 00000000 00:00 0
ffff9e9a3000-ffff9e9a6000 rw-p 00000000 00:00 0
ffff9e9a6000-ffff9e9a7000 r--p 00000000 00:00 0 [vvar]
ffff9e9a7000-ffff9e9a8000 r-xp 00000000 00:00 0 [vdso]
ffff9e9a8000-ffff9e9a9000 r--p 0001c000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e9a9000-ffff9e9ab000 rw-p 0001d000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffffc8e18000-ffffc8e39000 rw-p 00000000 00:00 0 [stack]
Attempting to execute function at 0x4120a8
If this program seg-faults, the region was enforced as non-executable...
Full log: http://pastebin.ubuntu.com/24012563/ |
|
2017-02-17 09:33:20 |
Po-Hsu Lin |
description |
It looks like this test case failed on arm64 Xenial (I think this is the first time we run this for arm64 SRU):
FAIL: test_060_nx (__main__.KernelSecurityTest)
NX bit is working
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 455, in test_060_nx
self.assertShellExitEquals(expected, ["./nx-test", "data"])
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
self.assertEqual(expected, rc, msg + result + report)
AssertionError: Got exit code -11, expected 0
Command: './nx-test', 'data'
Output:
rodata:0x401120
data: 0x4120a8
bss: 0x4220c8
brk: 0xf6c1020
rw: 0xffff9e9a3000
rwx: 0xffff9e9a2000
stack: 0xffffc8e37da8
Dump of /proc/self/maps:
00400000-00402000 r-xp 00000000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00411000-00412000 r--p 00001000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00412000-00413000 rw-p 00002000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00413000-00423000 rw-p 00000000 00:00 0
0f6c0000-0f6e2000 rw-p 00000000 00:00 0 [heap]
ffff9e835000-ffff9e963000 r-xp 00000000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e963000-ffff9e972000 ---p 0012e000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e972000-ffff9e976000 r--p 0012d000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e976000-ffff9e978000 rw-p 00131000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e978000-ffff9e97c000 rw-p 00000000 00:00 0
ffff9e97c000-ffff9e998000 r-xp 00000000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e99c000-ffff9e99e000 rw-p 00000000 00:00 0
ffff9e9a2000-ffff9e9a3000 rwxp 00000000 00:00 0
ffff9e9a3000-ffff9e9a6000 rw-p 00000000 00:00 0
ffff9e9a6000-ffff9e9a7000 r--p 00000000 00:00 0 [vvar]
ffff9e9a7000-ffff9e9a8000 r-xp 00000000 00:00 0 [vdso]
ffff9e9a8000-ffff9e9a9000 r--p 0001c000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e9a9000-ffff9e9ab000 rw-p 0001d000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffffc8e18000-ffffc8e39000 rw-p 00000000 00:00 0 [stack]
Attempting to execute function at 0x4120a8
If this program seg-faults, the region was enforced as non-executable...
Full log: http://pastebin.ubuntu.com/24012563/ |
It looks like this test case failed on arm64 Xenial (I think this is the first time we run this for arm64 SRU):
Kernel version: 4.4.0-63.84
FAIL: test_060_nx (__main__.KernelSecurityTest)
NX bit is working
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 455, in test_060_nx
self.assertShellExitEquals(expected, ["./nx-test", "data"])
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
self.assertEqual(expected, rc, msg + result + report)
AssertionError: Got exit code -11, expected 0
Command: './nx-test', 'data'
Output:
rodata:0x401120
data: 0x4120a8
bss: 0x4220c8
brk: 0xf6c1020
rw: 0xffff9e9a3000
rwx: 0xffff9e9a2000
stack: 0xffffc8e37da8
Dump of /proc/self/maps:
00400000-00402000 r-xp 00000000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00411000-00412000 r--p 00001000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00412000-00413000 rw-p 00002000 08:02 925290 /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/kernel-security/nx/nx-test
00413000-00423000 rw-p 00000000 00:00 0
0f6c0000-0f6e2000 rw-p 00000000 00:00 0 [heap]
ffff9e835000-ffff9e963000 r-xp 00000000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e963000-ffff9e972000 ---p 0012e000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e972000-ffff9e976000 r--p 0012d000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e976000-ffff9e978000 rw-p 00131000 08:02 1179945 /lib/aarch64-linux-gnu/libc-2.23.so
ffff9e978000-ffff9e97c000 rw-p 00000000 00:00 0
ffff9e97c000-ffff9e998000 r-xp 00000000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e99c000-ffff9e99e000 rw-p 00000000 00:00 0
ffff9e9a2000-ffff9e9a3000 rwxp 00000000 00:00 0
ffff9e9a3000-ffff9e9a6000 rw-p 00000000 00:00 0
ffff9e9a6000-ffff9e9a7000 r--p 00000000 00:00 0 [vvar]
ffff9e9a7000-ffff9e9a8000 r-xp 00000000 00:00 0 [vdso]
ffff9e9a8000-ffff9e9a9000 r--p 0001c000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffff9e9a9000-ffff9e9ab000 rw-p 0001d000 08:02 1179933 /lib/aarch64-linux-gnu/ld-2.23.so
ffffc8e18000-ffffc8e39000 rw-p 00000000 00:00 0 [stack]
Attempting to execute function at 0x4120a8
If this program seg-faults, the region was enforced as non-executable...
Full log: http://pastebin.ubuntu.com/24012563/ |
|