In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in xchk_btree_check_block_owner We cannot dereference bs->cur when trying to determine if bs->cur aliases bs->sc->sa.{bno,rmap}_cur after the latter has been freed. Fix this by sampling before type before any freeing could happen. The correct temporal ordering was broken when we removed xfs_btnum_t.
https://git.kernel.org/stable/c/ed82e7949f5cac3058f4100f3cd670531d41a266
https://git.kernel.org/stable/c/ba5264610423d9653aa36920520902d83841bcfd
https://git.kernel.org/stable/c/1d411278dda293a507cb794db7d9ed3511c685c6