[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mu3tb4xb466rbfvnqkd7dwitbxqdkpf26oitf6lvn4j2kubpgf@evsyze7an3xd>
Date: Wed, 23 Oct 2024 22:37:47 -0400
From: Kent Overstreet <kent.overstreet@...ux.dev>
To: Jeongjun Park <aha310510@...il.com>
Cc: linux-bcachefs@...r.kernel.org, linux-kernel@...r.kernel.org,
syzbot+b468b9fef56949c3b528@...kaller.appspotmail.com
Subject: Re: [PATCH] bcachefs: fix null-ptr-deref in have_stripes()
On Thu, Oct 24, 2024 at 01:13:45AM +0900, Jeongjun Park wrote:
> c->btree_roots_known[i].b can be NULL. In this case, a NULL pointer dereference
> occurs, so you need to add code to check the variable.
>
> Reported-by: syzbot+b468b9fef56949c3b528@...kaller.appspotmail.com
> Fixes: ("bcachefs: metadata version bucket_stripe_sectors")
> Signed-off-by: Jeongjun Park <aha310510@...il.com>
Thanks, applied
Powered by blists - more mailing lists