diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-10-12 23:05:28 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-14 09:49:28 +0200 |
| commit | c28b4b48deac17749ed1ebe4289a4ba73541ddc6 (patch) | |
| tree | 7c56f885c5c7f703d5bb38e3acf226ef8515504d /tools/perf/scripts/python/stackcollapse.py | |
| parent | e09438cab72c2c6a32665829d4186155346bfee8 (diff) | |
| download | linux-c28b4b48deac17749ed1ebe4289a4ba73541ddc6.tar.gz linux-c28b4b48deac17749ed1ebe4289a4ba73541ddc6.zip | |
xfs: don't overrun incore inode when cleaning attr forks
LOLLM noticed that xrep_dinode_check_afork doesn't check for a
di_forkoff value that is so large that the attr fork would begin after
the end of the inode space. This causes afork_{ptr,size} to be
nonsense. What we really ought to do here is zap the attr fork.
Cc: stable@vger.kernel.org # v6.8
Fixes: e744cef2060559 ("xfs: zap broken inode forks")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
