# CVE-2025-68784: xfs: fix a UAF problem in xattr repair

- Severity: not scored yet
- 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.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-01-13T15:28:58.255Z
- Modified: 2026-06-17T09:59:35.023Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e47dcf113ae348678143cc935a1183059c02c9ad before 1e2d3aa19c7962b9474b22893160cb460494c45f; from e47dcf113ae348678143cc935a1183059c02c9ad before d29ed9ff972afe17c215cab171761d7a15d7063f; from e47dcf113ae348678143cc935a1183059c02c9ad before 5990fd756943836978ad184aac980e2b36ab7e01; 6.10 (not affected: before 6.10; from 6.12.64 up to 6.12.*; from 6.18.3 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/1e2d3aa19c7962b9474b22893160cb460494c45f>
- <https://git.kernel.org/stable/c/d29ed9ff972afe17c215cab171761d7a15d7063f>
- <https://git.kernel.org/stable/c/5990fd756943836978ad184aac980e2b36ab7e01>

## Sources

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

---

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