CVE-2026-98117

cachefiles: Fix potential UAF/KASAN warning

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 229105e5cfd9832a9ef1368c96e0098ec3a5fbf0 to before 68d459e6e609c31f96a203dd6eec60c634f155e1Affected
  • 229105e5cfd9832a9ef1368c96e0098ec3a5fbf0 to before 93488ea378b4427598cace558236c110515d743bAffected
  • 229105e5cfd9832a9ef1368c96e0098ec3a5fbf0 to before a67632c8c2688d6e0091529bcefe54bc5ee80e9bAffected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.