{"id":"CVE-2025-68784","state":"PUBLISHED","title":"xfs: fix a UAF problem in xattr repair","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix a UAF problem in xattr repair\n\nThe xchk_setup_xattr_buf function can allocate a new value buffer, which\nmeans that any reference to ab->value before the call could become a\ndangling pointer.  Fix this by moving an assignment to after the buffer\nsetup.","publishedAt":"2026-01-13T15:28:58.255Z","updatedAt":"2026-05-11T21:53:17.447Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e47dcf113ae348678143cc935a1183059c02c9ad","status":"affected","lessThan":"1e2d3aa19c7962b9474b22893160cb460494c45f","versionType":"git"},{"version":"e47dcf113ae348678143cc935a1183059c02c9ad","status":"affected","lessThan":"d29ed9ff972afe17c215cab171761d7a15d7063f","versionType":"git"},{"version":"e47dcf113ae348678143cc935a1183059c02c9ad","status":"affected","lessThan":"5990fd756943836978ad184aac980e2b36ab7e01","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/attr_repair.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.64","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.3","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/attr_repair.c"]}],"references":["https://git.kernel.org/stable/c/1e2d3aa19c7962b9474b22893160cb460494c45f","https://git.kernel.org/stable/c/d29ed9ff972afe17c215cab171761d7a15d7063f","https://git.kernel.org/stable/c/5990fd756943836978ad184aac980e2b36ab7e01"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68784.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68784","state":"PUBLISHED","datePublished":"2026-01-13T15:28:58.255Z","dateUpdated":"2026-05-11T21:53:17.447Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-24T10:30:51.036Z"},"containers":{"cna":{"title":"xfs: fix a UAF problem in xattr repair","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix a UAF problem in xattr repair\n\nThe xchk_setup_xattr_buf function can allocate a new value buffer, which\nmeans that any reference to ab->value before the call could become a\ndangling pointer.  Fix this by moving an assignment to after the buffer\nsetup."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e47dcf113ae348678143cc935a1183059c02c9ad","status":"affected","lessThan":"1e2d3aa19c7962b9474b22893160cb460494c45f","versionType":"git"},{"version":"e47dcf113ae348678143cc935a1183059c02c9ad","status":"affected","lessThan":"d29ed9ff972afe17c215cab171761d7a15d7063f","versionType":"git"},{"version":"e47dcf113ae348678143cc935a1183059c02c9ad","status":"affected","lessThan":"5990fd756943836978ad184aac980e2b36ab7e01","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/attr_repair.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.64","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.3","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/attr_repair.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1e2d3aa19c7962b9474b22893160cb460494c45f"},{"url":"https://git.kernel.org/stable/c/d29ed9ff972afe17c215cab171761d7a15d7063f"},{"url":"https://git.kernel.org/stable/c/5990fd756943836978ad184aac980e2b36ab7e01"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:53:17.447Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}