Public bug reported:

[Impact]
perf_event_open is not restricted by default, which means unprivileged users 
may have access to information they should not have.

[Test case]
Run as an unprivileged user:
perf stat true
and check that it fails.

[Potential regression]
Users who expect to be able to use perf will not be able to do it. The fix 
might also cause the build to fail, in case it doesn't match enforced config 
options.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: linux-raspi2 (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
         Status: Invalid

** Affects: linux-raspi2 (Ubuntu Bionic)
     Importance: Medium
     Assignee: Thadeu Lima de Souza Cascardo (cascardo)
         Status: In Progress

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

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

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

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

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

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

** Changed in: linux-raspi2 (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: linux-raspi2 (Ubuntu Bionic)
     Assignee: (unassigned) => Thadeu Lima de Souza Cascardo (cascardo)

** Changed in: linux-raspi2 (Ubuntu Bionic)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1905786

Title:
  perf_event_open is not restricted to admin by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1905786/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to