2018-02-06 09:56:52 |
Po-Hsu Lin |
description |
This issue can be reproduced in 3.2.0-133 in proposed and 3.2.0-131. So it should not be considered as a regression.
We didn't spot this issue before, until I'm testing 3.2 kernel on one of the laptop (CID 201307-13930) in Cert lab this cycle.
======================================================================
FAIL: test_022_aslr_hardy_vdso (__main__.KernelSecurityTest)
ASLR of vdso
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 1863, in test_022_aslr_hardy_vdso
self._test_aslr('vdso', expected)
File "./test-kernel-security.py", line 1795, in _test_aslr
self._test_aslr_all(area, expected, "unlimited stack %s" % area)
File "./test-kernel-security.py", line 1772, in _test_aslr_all
self._test_aslr_exec(area, expected, target, name)
File "./test-kernel-security.py", line 1765, in _test_aslr_exec
self.assertShellExitEquals(aslr_expected, ["./%s" % (target), area, "--verbose"], msg="%s:\n" % name)
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1134, in assertShellExitEquals
self.assertEqual(expected, rc, msg + result + report)
AssertionError: unlimited stack vdso native:
Got exit code 1, expected 0
Command: './aslr', 'vdso', '--verbose'
Output:
Checking ASLR of vdso:
0x40022000
0x40022000
0x40022000
FAIL: ASLR not functional (vdso always at 0x40022000) |
This issue can be reproduced in 3.2.0-133 in proposed and 3.2.0-131. So it should not be considered as a regression.
We didn't spot this issue before, until I'm testing 3.2 kernel on one of the laptop (CID 201307-13930) in Cert lab instead of using our regular regression-testing test pool from kernel team this cycle.
======================================================================
FAIL: test_022_aslr_hardy_vdso (__main__.KernelSecurityTest)
ASLR of vdso
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 1863, in test_022_aslr_hardy_vdso
self._test_aslr('vdso', expected)
File "./test-kernel-security.py", line 1795, in _test_aslr
self._test_aslr_all(area, expected, "unlimited stack %s" % area)
File "./test-kernel-security.py", line 1772, in _test_aslr_all
self._test_aslr_exec(area, expected, target, name)
File "./test-kernel-security.py", line 1765, in _test_aslr_exec
self.assertShellExitEquals(aslr_expected, ["./%s" % (target), area, "--verbose"], msg="%s:\n" % name)
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1134, in assertShellExitEquals
self.assertEqual(expected, rc, msg + result + report)
AssertionError: unlimited stack vdso native:
Got exit code 1, expected 0
Command: './aslr', 'vdso', '--verbose'
Output:
Checking ASLR of vdso:
0x40022000
0x40022000
0x40022000
FAIL: ASLR not functional (vdso always at 0x40022000) |
|