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.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Use‑After‑Free in kernel memory
Action: Patch Now
AI Analysis

Impact

The cachefiles subsystem of the Linux kernel contained a potential use‑after‑free where the trace_cachefiles_coherency function was given a pointer to a __be64 over a variable‑length buffer that could be zero bytes long. The description indicates a potential use‑after‑free or KASAN warning that could allow memory corruption. Based on the description, it is inferred that an attacker with local access could read or corrupt kernel memory, potentially leading to privilege escalation or a kernel crash. The flaw is a classic use‑after‑free weakness.

Affected Systems

All Linux kernel releases that incorporated the original cachefiles_xattr implementation prior to the commit that introduced this patch are affected. This includes any distribution that ships a kernel version containing the vulnerable code before the patch was applied. The precise list of affected kernel versions is not numbered in the advisory, but any unpatched kernel before the commit is at risk.

Risk and Exploitability

The EPSS score is < 1% and the CISA KEV catalog does not list this vulnerability, indicating no known widespread exploitation. Based on the description, it is inferred that a use‑after‑free in kernel space could pose a risk for local attackers, potentially enabling arbitrary code execution with root privileges or causing a denial‑of‑service by crashing the kernel. The CVSS score is 5.5, indicating a medium severity.

Generated by OpenCVE AI on September 30, 2026 at 13:39 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the cachefiles UAF fix (commit 68d459e6e609c31f96a203dd6eec60c634f155e1).
  • Disable the cachefiles subsystem while the kernel is patched, for example by using the boot parameter "cachefiles.disabled=1" or compiling the kernel without this module.
  • If the kernel upgrade cannot be performed immediately, remove the cachefiles module with modprobe -r cachefiles to prevent the vulnerable code from loading.

Generated by OpenCVE AI on September 30, 2026 at 13:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 05:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 25 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title cachefiles: Fix potential UAF/KASAN warning
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T10:36:02.319Z

Reserved: 2026-09-25T10:25:14.317Z

Link: CVE-2026-98117

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-25T11:17:42.920

Modified: 2026-09-30T14:10:59.253

Link: CVE-2026-98117

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98117 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T13:45:16Z

Weaknesses