[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174775151765.432196.16616898847416276522.b4-ty@mit.edu>
Date: Tue, 20 May 2025 10:40:09 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: jack@...e.cz, Jeongjun Park <aha310510@...il.com>
Cc: "Theodore Ts'o" <tytso@....edu>, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org,
syzbot+de24c3fe3c4091051710@...kaller.appspotmail.com
Subject: Re: [PATCH v2] jbd2: fix data-race and null-ptr-deref in jbd2_journal_dirty_metadata()
On Wed, 14 May 2025 22:08:55 +0900, Jeongjun Park wrote:
> Since handle->h_transaction may be a NULL pointer, so we should change it
> to call is_handle_aborted(handle) first before dereferencing it.
>
> And the following data-race was reported in my fuzzer:
>
> ==================================================================
> BUG: KCSAN: data-race in jbd2_journal_dirty_metadata / jbd2_journal_dirty_metadata
>
> [...]
Applied, thanks!
[1/1] jbd2: fix data-race and null-ptr-deref in jbd2_journal_dirty_metadata()
commit: af98b0157adf6504fade79b3e6cb260c4ff68e37
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists