diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-10-12 08:23:12 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-14 09:34:54 +0200 |
| commit | 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb (patch) | |
| tree | 16f8f36f6c6a7854ed46c212a885c031b3c1c5eb /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 9eb04a6d41c7e474d4665118895c3c2d8e5a2741 (diff) | |
| download | linux-91c41f9524906a8ebd2ae68c98a07b4bd5255ddb.tar.gz linux-91c41f9524906a8ebd2ae68c98a07b4bd5255ddb.zip | |
xfs: check for buffer overruns when examining local/remote xattr entries
LOLLM noticed that the xattr scrub and repair code can walk off the end
of the buffer if the xattr entry record starts so close to the end of
the buffer that there's not even space for the entry structure itself.
Strengthen the bounds checking here.
Cc: stable@vger.kernel.org # v4.15
Fixes: 13791d3b833428 ("xfs: scrub extended attribute leaf space")
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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
