task can administer some sibling cgroups

Bug #1421068 reported by Serge Hallyn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cgmanager (Ubuntu)
Fix Released
High
Unassigned
Trusty
Fix Released
High
Unassigned
Utopic
Fix Released
High
Unassigned

Bug Description

If a task is in cgroup /xxx/yyy, and /xxx/yyy2 exists where the task owns /xxx/yyy2, then the task can administer /xxx/yyy2, which it should not be able to

Test case: The folllowing is supposed to fail:

    cgm create freezer xxx; cgm create freezer xxx2; base=`cgm getpidcgroupabs freezer $$`; cgm movepid freezer xxx $$; cgm getvalue freezer ${base}/xxx2

Changed in cgmanager (Ubuntu):
importance: Undecided → High
status: New → In Progress
Changed in cgmanager (Ubuntu Trusty):
importance: Undecided → High
Changed in cgmanager (Ubuntu Utopic):
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Serge, or anyone else affected,

Accepted cgmanager into utopic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cgmanager/0.32-4ubuntu1.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in cgmanager (Ubuntu Utopic):
status: New → Fix Committed
tags: added: verification-needed
Changed in cgmanager (Ubuntu Trusty):
status: New → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Serge, or anyone else affected,

Accepted cgmanager into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cgmanager/0.24-0ubuntu7.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Verified on trusty and utopic.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cgmanager - 0.24-0ubuntu7.3

---------------
cgmanager (0.24-0ubuntu7.3) trusty-proposed; urgency=medium

  * 0010-Fix-subdirectory-check.patch: prevent a task from administering
    sibling cgroups (LP: #1421068)
 -- Serge Hallyn <email address hidden> Wed, 11 Feb 2015 23:17:19 -0600

Changed in cgmanager (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for cgmanager has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cgmanager - 0.32-4ubuntu1.3

---------------
cgmanager (0.32-4ubuntu1.3) utopic-proposed; urgency=medium

  * 0010-Fix-subdirectory-check.patch: prevent a task from administering
    sibling cgroups (LP: #1421068)
 -- Serge Hallyn <email address hidden> Wed, 11 Feb 2015 23:13:31 -0600

Changed in cgmanager (Ubuntu Utopic):
status: Fix Committed → Fix Released
Changed in cgmanager (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.