Files
linux/fs/xfs/scrub
Darrick J. Wong 5990fd7569 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: e47dcf113a ("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>
2025-12-16 08:50:00 +01:00
..
2024-04-15 14:58:53 -07:00
2025-10-20 20:22:27 +02:00
2024-11-05 13:38:34 -08:00
2024-11-05 13:38:34 -08:00
2024-11-05 13:38:34 -08:00
2025-03-03 08:16:45 -07:00
2025-10-20 20:22:27 +02:00
2024-04-26 11:21:46 +05:30
2024-04-23 07:47:02 -07:00
2024-12-23 13:06:17 -08:00
2025-01-13 14:57:08 +01:00
2024-12-23 13:06:14 -08:00
2024-04-15 14:58:58 -07:00
2025-10-31 13:11:38 +01:00
2024-04-15 14:58:53 -07:00
2024-04-15 14:58:55 -07:00
2024-04-15 14:58:53 -07:00
2024-04-23 16:55:18 -07:00