← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1805105] Re: /proc/self/stack does not exist in kvm kernel, causing failures in kernel security test

 

By the way, on 4.19, this is now only readable by root. So, now returns
EACCESS when user tries to read it.

$ cat /proc/self/stack
cat: /proc/self/stack: Permission denied

f8a00cef17206ecd1b30d3d9f99e10d9fa707aa7 proc: restrict kernel stack
dumps to root

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: linux-kvm (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux-kvm (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: linux-kvm (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: linux-kvm (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Xenial)
       Status: New => Invalid

** Changed in: linux (Ubuntu Bionic)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1805105

Title:
  /proc/self/stack does not exist in kvm kernel, causing failures in
  kernel security test

Status in QA Regression Testing:
  Fix Released
Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux-kvm package in Ubuntu:
  New
Status in linux source package in Xenial:
  Invalid
Status in linux-kvm source package in Xenial:
  New
Status in linux source package in Bionic:
  Invalid
Status in linux-kvm source package in Bionic:
  New
Status in linux source package in Cosmic:
  Incomplete
Status in linux-kvm source package in Cosmic:
  New
Status in linux source package in Disco:
  Incomplete
Status in linux-kvm source package in Disco:
  New

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_symbols_missing_proc_self_stack (__main__.KernelSecurityTest)
  kernel addresses in /proc/self/stack are zeroed out
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  File "./test-kernel-security.py", line 1352, in test_095_kernel_symbols_missing_proc_self_stack
  self._check_pK_files(self._095_kernel_symbols_missing_proc_self_stack, expected=expected)
  File "./test-kernel-security.py", line 1199, in _check_pK_files
  test_function(expected_restricted)
  File "./test-kernel-security.py", line 1296, in _095_kernel_symbols_missing_proc_self_stack
  '/proc/self/stack does not exist')
  AssertionError: /proc/self/stack does not exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/1805105/+subscriptions