So the root issue behind this was stress-ng was calling
prctl(PR_SET_DUMPABLE) which causes the oom-adjustments to not be set.
This in turn meant that running the sockpair stressor as root let do
non-oomable processes when memory got tight and we end up in locked in
kernel space looking for free pages to create a socket pair.

This is a kind of DoS, however, it is running as root on a low memory
i386 system, so I'm currently fixing the stress-ng oom-adjustments issue
so at least the kernel can OOM the stressor.  I've also added oom
detecting in the stressor and auto-respawning to keep the pressure up
when a process gets killed.

See commits:
http://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=4e098f94e6366bf096506d8c78fd9f96a0a59950
http://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=47eb86ed8e13bd9171672f7b5b98773452e4fd16


** Changed in: linux (Ubuntu)
       Status: In Progress => Fix Committed

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

Title:
  linux 4.4.0-59.80 ADT test failure with linux 4.4.0-59.80

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

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

Reply via email to