Public bug reported:

Description:  kvm: fix deadlock when killed by oom

Symptom:      oom killer leaves processes in a deadlock state.

Problem:      The problem arises in the rare cases in which
                  handle_mm_fault does not release the mm_sem.

Solution:     Correct the issue by manually relaese the mm_sem
                  when needed.

Reproduction: Create numerous KVM guests so that the host starts
                  swapping and memory becomes overcomitted and the oom
                  killer is triggered.


kernel 4.19
Upstream-ID:  306d6c49ac9ded11114cb53b0925da52f2c2ada1

** Affects: ubuntu-z-systems
     Importance: High
     Assignee: Canonical Kernel Team (canonical-kernel-team)
         Status: Triaged

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: New


** Tags: architecture-s39064 bugnameltc-172752 severity-high 
targetmilestone-inin1810

** Tags added: architecture-s39064 bugnameltc-172752 severity-high
targetmilestone-inin1810

** Changed in: ubuntu
     Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)

** Package changed: ubuntu => linux (Ubuntu)

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

Title:
  [Ubuntu] kvm: fix deadlock when killed by oom

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1800849/+subscriptions

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

Reply via email to