summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-09-22 22:58:08 -0700
committerCarlos Maiolino <cem@kernel.org>2026-10-05 10:04:42 +0200
commit0b9081a774ee7b9dff1e9ac3765b73c1d6bba5b2 (patch)
treefd684b5b7f2c0fb35cdc76399b348597c1a5adcf /tools/perf/scripts/python/stackcollapse.py
parent244425cf63d7e3a0ff5736b41f0e0afe807f7031 (diff)
xfs: fix buffer overruns in xfs_ioc_attr_list
When we converted the al_offset array in struct xfs_attrlist into a VLA, the size of the object shrank by 4 bytes. Unfortunately, the buffer size validation in the attrlist ioctl wasn't updated to notice this, so the al_offset[0] assignment blindly writes off the end of the buffer. LOLLM noticed the omitted check and complained. Cc: stable@vger.kernel.org # v6.5 Fixes: 371baf5c9750a2 ("xfs: convert flex-array declarations in struct xfs_attrlist*") 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