# CVE-2026-98117: cachefiles: Fix potential UAF/KASAN warning

- 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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-25T10:36:02.319Z
- Modified: 2026-10-28T16:02:20.483Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 229105e5cfd9832a9ef1368c96e0098ec3a5fbf0 before 68d459e6e609c31f96a203dd6eec60c634f155e1; from 229105e5cfd9832a9ef1368c96e0098ec3a5fbf0 before 93488ea378b4427598cace558236c110515d743b; from 229105e5cfd9832a9ef1368c96e0098ec3a5fbf0 before a67632c8c2688d6e0091529bcefe54bc5ee80e9b; 6.14 (not affected: before 6.14; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 6.14 before 6.18.53; from 6.19 before 7.2.7; 7.3

## References

- <https://git.kernel.org/stable/c/68d459e6e609c31f96a203dd6eec60c634f155e1> (patch)
- <https://git.kernel.org/stable/c/93488ea378b4427598cace558236c110515d743b> (patch)
- <https://git.kernel.org/stable/c/a67632c8c2688d6e0091529bcefe54bc5ee80e9b> (patch)

## Sources

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

---

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