mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Sahitya Tummala <stummala@codeaurora.org>
Cc: Jan Kara <jack@suse.com>,
	linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] jbd2: Fix use after free in kjournald2()
Date: Wed, 1 Feb 2017 20:56:28 -0500	[thread overview]
Message-ID: <20170202015628.xl3vtta466ikeve6@thunk.org> (raw)
In-Reply-To: <1485970311-22014-1-git-send-email-stummala@codeaurora.org>

On Wed, Feb 01, 2017 at 11:01:51PM +0530, Sahitya Tummala wrote:
> Below is the synchronization issue between unmount and kjournald2
> contexts, which results into use after free issue in kjournald2().
> Fix this issue by using journal->j_state_lock to synchronize the
> wait_event() done in journal_kill_thread() and the wake_up() done
> in kjournald2().

Thanks, applied.

					- Ted

  reply	other threads:[~2017-02-02  1:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01 17:31 Sahitya Tummala
2017-02-02  1:56 ` Theodore Ts'o [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-01-31 14:38 Sahitya Tummala
2017-01-31 15:51 ` Jan Kara
2017-02-01  4:22   ` Tummala, Sahitya

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=20170202015628.xl3vtta466ikeve6@thunk.org \
    --to=tytso@mit.edu \
    --cc=jack@suse.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stummala@codeaurora.org \
    /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

all inboxes | Powered by JetHome®