← CVE Intelligence

CVE-2026-23223

xfs: fix UAF in xchk_btree_check_block_owner PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected ec793e690f801d97a7ae2a0d429fea1fee4d44aa before 1d411278dda293a507cb794db7d9ed3511c685c6; affected ec793e690f801d97a7ae2a0d429fea1fee4d44aa before ed82e7949f5cac3058f4100f3cd670531d41a266; affected ec793e690f801d97a7ae2a0d429fea1fee4d44aa before ba5264610423d9653aa36920520902d83841bcfd; affected ec793e690f801d97a7ae2a0d429fea1fee4d44aa before 1c253e11225bc5167217897885b85093e17c2217
Linux / Linuxaffected 6.9; unaffected 0 before 6.9; unaffected 6.12.72 through 6.12.*; unaffected 6.18.11 through 6.18.*; unaffected 6.19.1 through 6.19.*; unaffected 7.0 through *

CWE

No CWE identifiers supplied.

References