diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2025-12-04 13:43:50 -0800 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2025-12-16 08:50:00 +0100 |
| commit | 5990fd756943836978ad184aac980e2b36ab7e01 (patch) | |
| tree | 2451e2e7f7e722254e7123696489c37badb56e9d /scripts/check-variable-fonts.py | |
| parent | 2145f447b79ab522667cbdbdab4525c903759f7c (diff) | |
xfs: fix a UAF problem in xattr repair
The xchk_setup_xattr_buf function can allocate a new value buffer, which
means that any reference to ab->value before the call could become a
dangling pointer. Fix this by moving an assignment to after the buffer
setup.
Cc: stable@vger.kernel.org # v6.10
Fixes: e47dcf113ae348 ("xfs: repair extended attributes")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/check-variable-fonts.py')
0 files changed, 0 insertions, 0 deletions
