CVE Catalog

CVE-2026-98117

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel cachefiles subsystem, trace_cachefiles_coherency() is passed a pointer to a __be64 overlaid on variable-length coherency data (which may even be 0 bytes), potentially leading to a UAF or KASAN warning. The fix ensures the buffer has room for at least 8 pre-cleared bytes and extracts the data as four 2-byte words.

Risk Assessment

An out-of-bounds read or use-after-free may trigger a KASAN warning, a kernel crash, or potentially lead to data disclosure.

Recommendation

Update the Linux kernel to a version containing the fix for this issue (cachefiles: Fix potential UAF/KASAN warning).

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS