Re: [PATCH] jbd2: Fix use after free in kjournald2()
From: Theodore Ts'o
Date: Wed Feb 01 2017 - 20:56:49 EST
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