[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175892300646.128029.17851339613487184890.b4-ty@mit.edu>
Date: Fri, 26 Sep 2025 17:47:39 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Deepanshu Kartikey <kartikey406@...il.com>
Cc: "Theodore Ts'o" <tytso@....edu>, adilger.kernel@...ger.ca,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
syzbot+4c9d23743a2409b80293@...kaller.appspotmail.com
Subject: Re: [PATCH v2] ext4: validate ea_ino and size in check_xattrs
On Tue, 23 Sep 2025 19:02:45 +0530, Deepanshu Kartikey wrote:
> During xattr block validation, check_xattrs() processes xattr entries
> without validating that entries claiming to use EA inodes have non-zero
> sizes. Corrupted filesystems may contain xattr entries where e_value_size
> is zero but e_value_inum is non-zero, indicating invalid xattr data.
>
> Add validation in check_xattrs() to detect this corruption pattern early
> and return -EFSCORRUPTED, preventing invalid xattr entries from causing
> issues throughout the ext4 codebase.
>
> [...]
Applied, thanks!
[1/1] ext4: validate ea_ino and size in check_xattrs
commit: 44d2a72f4d64655f906ba47a5e108733f59e6f28
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists