From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
To: mhocko@suse.cz, rientjes@google.com
Cc: linux-mm@kvack.org
Subject: Re: [PATCH 1/5] mm: Introduce OOM kill timeout.
Date: Tue, 25 Nov 2014 21:54:23 +0900 [thread overview]
Message-ID: <201411252154.GEF09368.QOLFSFJOFtOMVH@I-love.SAKURA.ne.jp> (raw)
In-Reply-To: <20141125103820.GA4607@dhcp22.suse.cz>
Michal Hocko wrote:
> On Mon 24-11-14 14:29:00, David Rientjes wrote:
> > On Mon, 24 Nov 2014, Michal Hocko wrote:
> >
> > > > The problem described above is one of phenomena which is triggered by
> > > > a vulnerability which exists since (if I didn't miss something)
> > > > Linux 2.0 (18 years ago). However, it is too difficult to backport
> > > > patches which fix the vulnerability.
> > >
> > > What is the vulnerability?
> > >
> >
> > There have historically been issues when oom killed processes fail to
> > exit, so this is probably trying to address one of those issues.
Exactly.
>
> Let me clarify. The patch is sold as a security fix. In that context
> vulnerability means a behavior which might be abused by a user. I was
> merely interested whether there are some known scenarios which would
> turn a potential OOM killer deadlock into an exploitable bug. The
> changelog was rather unclear about it and rather strong in claims that
> any user might trigger OOM deadlock.
Well, both of you are in the CC: list of my mail which includes a reproducer
program which I sent on Thu, 26 Jun 2014 21:02:36 +0900.
Please prepare two VMs, one with XFS and one without XFS. Compile and run
the reproducer program as a local unpriviledged user and see what happens.
You will see stalled traces as with cited in this patchset.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2014-11-25 12:54 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-23 4:49 [RFC PATCH 0/5] mm: Patches for mitigating memory allocation stalls Tetsuo Handa
2014-11-23 4:50 ` [PATCH 1/5] mm: Introduce OOM kill timeout Tetsuo Handa
2014-11-24 16:50 ` Michal Hocko
2014-11-24 22:29 ` David Rientjes
2014-11-25 10:38 ` Michal Hocko
2014-11-25 12:54 ` Tetsuo Handa [this message]
2014-11-25 13:45 ` Michal Hocko
2014-11-26 11:58 ` Tetsuo Handa
2014-11-26 18:43 ` Michal Hocko
2014-11-27 14:49 ` Tetsuo Handa
2014-11-28 16:17 ` Michal Hocko
2014-11-23 4:50 ` [PATCH 2/5] mm: Kill shrinker's global semaphore Tetsuo Handa
2014-11-24 16:55 ` Michal Hocko
2014-11-23 4:51 ` [PATCH 3/5] mm: Remember ongoing memory allocation status Tetsuo Handa
2014-11-24 17:01 ` Michal Hocko
2014-11-23 4:52 ` [PATCH 4/5] mm: Drop __GFP_WAIT flag when allocating from shrinker functions Tetsuo Handa
2014-11-24 17:14 ` Michal Hocko
2014-11-23 4:53 ` [PATCH 5/5] mm: Insert some delay if ongoing memory allocation stalls Tetsuo Handa
2014-11-24 17:19 ` Michal Hocko
2014-11-24 17:25 ` [RFC PATCH 0/5] mm: Patches for mitigating " Michal Hocko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201411252154.GEF09368.QOLFSFJOFtOMVH@I-love.SAKURA.ne.jp \
--to=penguin-kernel@i-love.sakura.ne.jp \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.cz \
--cc=rientjes@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox