In the Linux kernel, the following vulnerability has been resolved: cachefiles: Fix potential UAF/KASAN warning Currently, trace_cachefiles_coherency() is being passed a pointer to a __be64 lain over the coherency data in struct cachefiles_xattr so that it can display the first 8 bytes. However, the data is of variable length and could even be 0 bytes. This could lead to a UAF or KASAN warning. Fix this by making sure the buffer has room for at least 8 bytes and that those 8 bytes are pre-cleared. Further, those bytes are not 8-byte aligned, so fix the tracepoint to extract the data as four 2-byte words (they are 2-byte aligned) and reassemble the __be64. The compiler will convert this into a single 8-byte load where the CPU supports it.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://git.kernel.org/stable/c/68d459e6e609c31f96a203dd6eec60c634f155e1 Patch
- https://git.kernel.org/stable/c/93488ea378b4427598cace558236c110515d743b Patch
- https://git.kernel.org/stable/c/a67632c8c2688d6e0091529bcefe54bc5ee80e9b Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 6
- CwesCWE-416NVD modified 2026-10-28 16:02
- Cpes+3 CPE criteria (now 3)NVD modified 2026-10-28 16:02
- StatusPublished → AnalyzedNVD modified 2026-10-28 16:02
- CVSS7.8 (v3.1, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)NVD modified 2026-10-28 16:02
- StatusUndergoing Analysis → PublishedNVD modified 2026-10-19 09:14
- First seenunscoredNVD modified 2026-10-19 10:18
Affected (CPE criteria) 3
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.3:rc2:*:*:*:*:*:*