SRU-Template:
[Impact]
* killall with exactly 65 (33 in 32-bit environments) arguments can kill
random processes
* this can be accidentially or even maliciously used to kill processes
* root casue is an off-by-one error
[Test Case]
* as seen in the bug description above, but please note that this triggers the
bug only sometimes (1/3 of my tries)
ps xa | wc -l
for i in `seq 1 65`; do touch ~/tmp_tasks/test$i; done;
for i in `seq 1 65`; do echo ~/tmp_tasks/test$i; done | xargs killall
ps xa | wc -l
[Regression Potential]
* there should be no/minimal regression Potential
- the fix itself is minimal
- no solution (other than maybe exploits) should rely on this behaviour
** Changed in: psmisc (Ubuntu Precise)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1507681
Title:
killall with 65 arguments kills more than expected
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/psmisc/+bug/1507681/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs