[PATCH 0/4] ext4: avoid OOB when system.data xattr changes underneath the filesystem

Thadeu Lima de Souza Cascardo posted 4 patches 1 year, 5 months ago
fs/ext4/inline.c | 35 +++++++++++++++++++++++++----------
fs/ext4/namei.c  | 14 ++++++++------
2 files changed, 33 insertions(+), 16 deletions(-)
[PATCH 0/4] ext4: avoid OOB when system.data xattr changes underneath the filesystem
Posted by Thadeu Lima de Souza Cascardo 1 year, 5 months ago
This patchset changes some of the error paths involving dir entries lookups
and recheck that xattrs are valid after an inode is potentially reread from
disk.

Thadeu Lima de Souza Cascardo (4):
  ext4: ext4_search_dir should return a proper error
  ext4: return error on ext4_find_inline_entry
  ext4: explicitly exit when ext4_find_inline_entry returns an error
  ext4: avoid OOB when system.data xattr changes underneath the
    filesystem

 fs/ext4/inline.c | 35 +++++++++++++++++++++++++----------
 fs/ext4/namei.c  | 14 ++++++++------
 2 files changed, 33 insertions(+), 16 deletions(-)

-- 
2.34.1
Re: [PATCH 0/4] ext4: avoid OOB when system.data xattr changes underneath the filesystem
Posted by Theodore Ts'o 1 year, 5 months ago
On Wed, 21 Aug 2024 12:23:20 -0300, Thadeu Lima de Souza Cascardo wrote:
> This patchset changes some of the error paths involving dir entries lookups
> and recheck that xattrs are valid after an inode is potentially reread from
> disk.
> 
> Thadeu Lima de Souza Cascardo (4):
>   ext4: ext4_search_dir should return a proper error
>   ext4: return error on ext4_find_inline_entry
>   ext4: explicitly exit when ext4_find_inline_entry returns an error
>   ext4: avoid OOB when system.data xattr changes underneath the
>     filesystem
> 
> [...]

Applied, thanks!

[1/4] ext4: ext4_search_dir should return a proper error
      commit: cd69f8f9de280e331c9e6ff689ced0a688a9ce8f
[2/4] ext4: return error on ext4_find_inline_entry
      commit: 4d231b91a944f3cab355fce65af5871fb5d7735b
[3/4] ext4: explicitly exit when ext4_find_inline_entry returns an error
      commit: 51e14e78b5fb3e6f839393cd2d34386ee7b69af3
[4/4] ext4: avoid OOB when system.data xattr changes underneath the filesystem
      commit: c6b72f5d82b1017bad80f9ebf502832fc321d796

Best regards,
-- 
Theodore Ts'o <tytso@mit.edu>