[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164342850388.815473.363466652526479494.b4-ty@mit.edu>
Date: Fri, 28 Jan 2022 22:55:13 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: linux-ext4@...r.kernel.org, Lukas Czerner <lczerner@...hat.com>
Cc: "Theodore Ts'o" <tytso@....edu>,
Dan Carpenter <dan.carpenter@...cle.com>,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] ext4: fix potential NULL pointer dereference in ext4_fill_super()
On Wed, 19 Jan 2022 14:02:09 +0100, Lukas Czerner wrote:
> By mistake we fail to return an error from ext4_fill_super() in case
> that ext4_alloc_sbi() fails to allocate a new sbi. Instead we just set
> the ret variable and allow the function to continue which will later
> lead to a NULL pointer dereference. Fix it by returning -ENOMEM in the
> case ext4_alloc_sbi() fails.
>
>
> [...]
Applied, thanks!
[1/1] ext4: fix potential NULL pointer dereference in ext4_fill_super()
commit: 7c6bb3d664aa05bf4366fd79a13921acfca28a6d
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists