[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240821152324.3621860-1-cascardo@igalia.com>
Date: Wed, 21 Aug 2024 12:23:20 -0300
From: Thadeu Lima de Souza Cascardo <cascardo@...lia.com>
To: linux-ext4@...r.kernel.org
Cc: Theodore Ts'o <tytso@....edu>,
linux-kernel@...r.kernel.org,
Tao Ma <boyu.mt@...bao.com>,
Andreas Dilger <adilger.kernel@...ger.ca>,
kernel-dev@...lia.com,
Thadeu Lima de Souza Cascardo <cascardo@...lia.com>
Subject: [PATCH 0/4] ext4: avoid OOB when system.data xattr changes underneath the filesystem
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
Powered by blists - more mailing lists