test_180_config_stack_protector failed on ARM64 Trusty (CONFIG_CC_STACKPROTECTOR is not set)

Bug #1712007 reported by Po-Hsu Lin on 2017-08-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
Undecided
Unassigned
ubuntu-kernel-tests
Undecided
Unassigned
linux (Ubuntu)
Medium
Unassigned

Bug Description

FAIL: test_075_config_stack_protector (__main__.KernelSecurityTest)
CONFIG_CC_STACKPROTECTOR set
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test-kernel-security.py", line 855, in test_075_config_stack_protector
    self.assertEqual(self._get_config('CC_STACKPROTECTOR'), expected)
AssertionError: None != 'y'

$ cat /boot/config-3.13.0-128-generic | grep CC_STACKPROTECTOR
# CONFIG_CC_STACKPROTECTOR is not set

$ uname -a
Linux ms10-35-mcdivittB0-kernel 3.13.0-128-generic #177-Ubuntu SMP Tue Aug 8 11:41:40 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux

Not sure if this is a kernel or a test case issue.

Po-Hsu Lin (cypressyew) on 2017-08-21
summary: test_075_config_stack_protector failed on ARM64 Trusty
+ (CONFIG_CC_STACKPROTECTOR is not set)

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1712007

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
tags: added: kernel-da-key
Po-Hsu Lin (cypressyew) wrote :

Test renamed to test_180_config_stack_protector

summary: - test_075_config_stack_protector failed on ARM64 Trusty
+ test_180_config_stack_protector failed on ARM64 Trusty
(CONFIG_CC_STACKPROTECTOR is not set)
Steve Beattie (sbeattie) wrote :

According to https://wiki.debian.org/Arm64Port, gcc-4.8 did not support libssp/-fstack-protector on arm64. I've committed a fix that should address this in QRT in https://git.launchpad.net/qa-regression-testing/commit/?id=63a5c8e6ab8f82817337ffdac0258c17ef443b48

Please let me know if this does not address the issue. Thanks!

Changed in linux (Ubuntu):
status: Triaged → Invalid
Changed in qa-regression-testing:
status: New → Fix Committed
Po-Hsu Lin (cypressyew) wrote :

Retested and this has passed on Trusty ARM64.

Changed in qa-regression-testing:
status: Fix Committed → Fix Released
Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers