test_021_aslr_dapper_mmap from ubuntu_qrt_kernel_security failed on J-OEM-6.0 /J-OEM-6.1 AMD64

Bug #2016296 reported by Manuel Diewald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
New
Undecided
Unassigned
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue was found on Jammy 6.0.0-1014.14 AMD64 running on an openstack instance (cpu4-ram4-disk20).

Log:

Running test: './test-kernel-security.py' distro: 'Ubuntu 22.04' kernel: '6.0.0-1014.14 (Ubuntu 6.0.0-1014.14-oem 6.0.9)' arch: 'amd64' uid: 0/0 SUDO_USER: 'ubuntu')
test_021_aslr_dapper_mmap (__main__.KernelSecurityTest)
ASLR of mmap ... (default mmap native) (default mmap native rekey) (default mmap COMPAT) FAIL

======================================================================
FAIL: test_021_aslr_dapper_mmap (__main__.KernelSecurityTest)
ASLR of mmap
----------------------------------------------------------------------
Traceback (most recent call last):
  File /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py, line 1765, in test_021_aslr_dapper_mmap
    self._test_aslr('mmap', expected)
  File /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py, line 1737, in _test_aslr
    self._test_aslr_all(area, expected, default %s % area)
  File /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py, line 1730, in _test_aslr_all
    self._test_aslr_exec(area, expected, target, name)
  File /home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py, line 1713, 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 1216, in assertShellExitEquals
    self.assertEqual(expected, rc, msg + result + report)
AssertionError: 0 != 1 : default mmap COMPAT:
Got exit code 1, expected 0
Command: './aslr32', 'mmap', '--verbose'
Output:
Checking ASLR of mmap:
    0xf7aff010
    0xf7aff010
    0xf7aff010
FAIL: ASLR not functional (mmap always at 0xf7aff010)

----------------------------------------------------------------------
Ran 1 test in 0.439s

FAILED (failures=1)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue can be found on J-oem-6.1 openstack as well (passed with bare-metal).

tags: added: 6.0 6.1 jammy oem sru-20230320 ubuntu-qrt-kernel-security
summary: test_021_aslr_dapper_mmap from ubuntu_qrt_kernel_security failed on
- J-OEM-6.0 AMD64
+ J-OEM-6.0 /J-OEM-6.1 AMD64
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.