[Bug 1034010] Re: Incorrect check when executing copy_from_user in perf_event_period

2013-12-30 Thread Christopher M. Penalver
Andreas Sandberg, the upstream fix noted in 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1034010/comments/6 is 
available in Lucid+ as per 
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-lucid.git;a=commit;h=ad0cf3478de8677f720ee06393b3147819568d6a
 . Hence, this is considered closed. If this doesn't work out for you, please 
reopen by executing the following via a terminal:
apport-collect 1034010

** Changed in: linux (Ubuntu)
   Status: Triaged = Invalid

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

Title:
  Incorrect check when executing copy_from_user in perf_event_period

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1034010] Re: Incorrect check when executing copy_from_user in perf_event_period

2012-08-07 Thread Andreas Sandberg
** Patch added: Fix for the bug reported in this bug ticket
   
https://bugs.launchpad.net/bugs/1034010/+attachment/3251372/+files/0001-Perf-Correctly-check-the-return-value-from-copy_from.patch

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

Title:
  Incorrect check when executing copy_from_user in perf_event_period

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1034010] Re: Incorrect check when executing copy_from_user in perf_event_period

2012-08-07 Thread Andreas Sandberg
Adding kernel logs or similar to this bug wouldn't be useful since the
effect of the bug can not be seen in the log. I'm changing the status of
this bug to confirmed for the time being. I could upload a test case if
that is required.

This bug primarily affects the 2.6.32 series (Lucid Lynx). It probably
affects other kernels in the early 2.6.3x series as well.

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

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

Title:
  Incorrect check when executing copy_from_user in perf_event_period

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1034010] Re: Incorrect check when executing copy_from_user in perf_event_period

2012-08-07 Thread Joseph Salisbury
Do you happen to know if the fix has been proposed for inclusion in the
earlier linux-stable trees?

** Changed in: linux (Ubuntu)
   Importance: Undecided = Medium

** Tags added: lucid

** Changed in: linux (Ubuntu)
   Status: Confirmed = Triaged

** Tags added: kernel-da-key

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

Title:
  Incorrect check when executing copy_from_user in perf_event_period

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1034010] Re: Incorrect check when executing copy_from_user in perf_event_period

2012-08-07 Thread Andreas Sandberg
I don't know about any of the other threads. I only looked at the kernel
I'm currently running.

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

Title:
  Incorrect check when executing copy_from_user in perf_event_period

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1034010] Re: Incorrect check when executing copy_from_user in perf_event_period

2012-08-07 Thread Ubuntu Foundation's Bug Bot
** Tags added: patch

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

Title:
  Incorrect check when executing copy_from_user in perf_event_period

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1034010] Re: Incorrect check when executing copy_from_user in perf_event_period

2012-08-07 Thread Luis Henriques
This is fixed upstreams by commit
ad0cf3478de8677f720ee06393b3147819568d6a.

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

Title:
  Incorrect check when executing copy_from_user in perf_event_period

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1034010] Re: Incorrect check when executing copy_from_user in perf_event_period

2012-08-07 Thread Joseph Salisbury
Would it be possible for you to submit the patch to linux-stable[0] for
inclusion in the 2.6.32 series?

[0] http://vger.kernel.org/vger-lists.html#stable

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

Title:
  Incorrect check when executing copy_from_user in perf_event_period

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1034010] Re: Incorrect check when executing copy_from_user in perf_event_period

2012-08-07 Thread Andreas Sandberg
I don't really  know the routines for submitting patches or requesting
inclusion of fixes from other branches, so I'd prefer if someone else
could do it.

I should probably add that this is really a low-priority issue unless
there are security implications. As far as I know, nobody is using the
feature (neither PAPI nor Perfmon2). It seems like the Perfmon2 people
wanted to use it [0] but but couldn't due to funny semantics. The same
really goes for the use case I had in mind, even if this bug is fixed,
the feature remains largely useless due to the problems outlined in [0].

[0] http://www.mail-
archive.com/perfmon2-de...@lists.sourceforge.net/msg02657.html

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

Title:
  Incorrect check when executing copy_from_user in perf_event_period

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs