Skip to content
Heist/ feed
Unrated

cachefiles: Fix potential UAF/KASAN warning

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-98117

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98117

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "229105e5cfd9832a9ef1368c96e0098ec3a5fbf0",
        "lessThan": "68d459e6e609c31f96a203dd6eec60c634f155e1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "229105e5cfd9832a9ef1368c96e0098ec3a5fbf0",
        "lessThan": "93488ea378b4427598cace558236c110515d743b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "229105e5cfd9832a9ef1368c96e0098ec3a5fbf0",
        "lessThan": "a67632c8c2688d6e0091529bcefe54bc5ee80e9b",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/cachefiles/xattr.c",
      "include/trace/events/cachefiles.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.14"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.14",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/cachefiles/xattr.c",
      "include/trace/events/cachefiles.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98117

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38217 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement