# CVE-2026-23223: xfs: fix UAF in xchk_btree_check_block_owner

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-02-18T14:53:26.603Z
- Modified: 2026-11-05T22:18:07.787Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from ec793e690f801d97a7ae2a0d429fea1fee4d44aa before 1d411278dda293a507cb794db7d9ed3511c685c6; from ec793e690f801d97a7ae2a0d429fea1fee4d44aa before ed82e7949f5cac3058f4100f3cd670531d41a266; from ec793e690f801d97a7ae2a0d429fea1fee4d44aa before ba5264610423d9653aa36920520902d83841bcfd; from ec793e690f801d97a7ae2a0d429fea1fee4d44aa before 1c253e11225bc5167217897885b85093e17c2217; 6.9 (not affected: before 6.9; from 6.12.72 up to 6.12.*; from 6.18.11 up to 6.18.*; from 6.19.1 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.9 before 6.12.72; from 6.13 before 6.18.11; from 6.19 before 6.19.1

## References

- <https://git.kernel.org/stable/c/1d411278dda293a507cb794db7d9ed3511c685c6> (patch)
- <https://git.kernel.org/stable/c/ed82e7949f5cac3058f4100f3cd670531d41a266> (patch)
- <https://git.kernel.org/stable/c/ba5264610423d9653aa36920520902d83841bcfd> (patch)
- <https://git.kernel.org/stable/c/1c253e11225bc5167217897885b85093e17c2217> (patch)

## Sources

- CVE List: [CVE-2026-23223](https://www.cve.org/CVERecord?id=CVE-2026-23223), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23223](https://nvd.nist.gov/vuln/detail/CVE-2026-23223), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23223 · Whole record: https://cve.day/CVE-2026-23223.json · Rebuilt by cve.day 2026-11-25T22:59:13.996Z
