[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176340680641.138575.14674529109795333702.b4-ty@mit.edu>
Date: Mon, 17 Nov 2025 14:13:33 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: Karina Yankevich <k.yankevich@....ru>
Cc: "Theodore Ts'o" <tytso@....edu>, Andreas Dilger <adilger.kernel@...ger.ca>,
Bhupesh <bhupesh@...lia.com>, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org, lvc-patches@...uxtesting.org,
Sergey Shtylyov <s.shtylyov@....ru>
Subject: Re: [PATCH] ext4: xattr: fix null pointer deref in ext4_raw_inode()
On Wed, 22 Oct 2025 12:32:53 +0300, Karina Yankevich wrote:
> If ext4_get_inode_loc() fails (e.g. if it returns -EFSCORRUPTED),
> iloc.bh will remain set to NULL. Since ext4_xattr_inode_dec_ref_all()
> lacks error checking, this will lead to a null pointer dereference
> in ext4_raw_inode(), called right after ext4_get_inode_loc().
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> [...]
Applied, thanks!
[1/1] ext4: xattr: fix null pointer deref in ext4_raw_inode()
commit: b97cb7d6a051aa6ebd57906df0e26e9e36c26d14
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists