/proc/self/stack does not exist in kvm kernel, causing failures in kernel security test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Linux larry 4.18.0-1005-kvm #5-Ubuntu SMP Thu Nov 15 20:22:03 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# ls /proc/self/stack
ls: cannot access '/proc/self/stack': No such file or directory
Thus:
FAIL: test_095_
kernel addresses in /proc/self/stack are zeroed out
-------
Traceback (most recent call last):
File "./test-
self._check_
File "./test-
test_function(
File "./test-
'/proc/self/stack does not exist')
AssertionError: /proc/self/stack does not exist
tags: | added: bionic cosmic |
no longer affects: | linux (Ubuntu) |
no longer affects: | linux-kvm (Ubuntu) |
no longer affects: | linux-kvm (Ubuntu Disco) |
no longer affects: | linux-kvm (Ubuntu Cosmic) |
no longer affects: | linux-kvm (Ubuntu Bionic) |
no longer affects: | linux-kvm (Ubuntu Xenial) |
no longer affects: | linux (Ubuntu Disco) |
no longer affects: | linux (Ubuntu Xenial) |
no longer affects: | linux (Ubuntu Cosmic) |
no longer affects: | linux (Ubuntu Bionic) |
I think it's the config was not enabled on all the KVM kernels:
# CONFIG_STACKTRACE is not set
This issue should be fixed in the QRT test suite.