{"id":"CVE-2026-68148","title":"kernel: fscrypt: Add missing superblock check in find_or_insert_direct_key() (CVE-2026-68148)","summary":"A flaw was found in the Linux kernel's fscrypt component. A missing superblock check in the `find_or_insert_direct_key()` function could allow inodes from different filesystems to incorrectly share encryption keys. This can lead to a use-a…","severity":"high","cvss":7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"vendor","cwe":"CWE-772","vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","affected":["enterprise_linux 10","enterprise_linux 9"],"published":"2026-08-10","updated":"2026-10-16","sourceUpdated":"2026-10-16T23:12:24+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68148.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68148.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-68148"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2513211"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-68148"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68148"},{"url":"https://lore.kernel.org/linux-cve-announce/2026081001-CVE-2026-68148-7d8c@gregkh/T"},{"url":"https://git.kernel.org/stable/c/965b5bc8cf5031225e057979ce660fec2bd5fbfc"},{"url":"https://git.kernel.org/stable/c/330249609b70778094a7a36f5b6bcfa6362121d4"},{"url":"https://git.kernel.org/stable/c/deff41898a5ae3a47db5fa1896a494aa95efda5d"},{"url":"https://git.kernel.org/stable/c/95376fe9c145be35566991df99c53134943d992f"},{"url":"https://git.kernel.org/stable/c/466f187b501a5ac8e1ea2ccf3ccd5c46108d8830"},{"url":"https://git.kernel.org/stable/c/b5fa40226e71c17847b9ff2816c6ca4133d0d994"}],"tags":["csaf","vex","red-hat","cve.org"],"epss":0.00091,"epssPercentile":0.00462,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:44:51.705940Z"},"scores":{"vendor":7,"cna":7.8},"ingestedAt":"2026-10-16T17:24:46.845Z","slug":"CVE-2026-68148","body":"## Overview\n\nA flaw was found in the Linux kernel's fscrypt component. A missing superblock check in the `find_or_insert_direct_key()` function could allow inodes from different filesystems to incorrectly share encryption keys. This can lead to a use-after-free vulnerability, potentially allowing an attacker to cause a denial of service, disclose sensitive information, or execute arbitrary code.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68148.json)\n\n**kernel: fscrypt: Add missing superblock check in find_or_insert_direct_key()** — rated Moderate by Red Hat. Released 2026-08-10, updated 2026-10-16.\n\nAffected:\n\n- Red Hat Enterprise Linux 10\n- Red Hat Enterprise Linux 9\n\nNo fix planned:\n\n- Red Hat Enterprise Linux 10\n- Red Hat Enterprise Linux 9\n\nNot affected:\n\n- Red Hat Enterprise Linux 6\n- Red Hat Enterprise Linux 7\n- Red Hat Enterprise Linux 8\n- Red Hat Enterprise Linux for NVIDIA 26\n- Red Hat OpenShift Container Platform 4\n\n## Remediation\n\nAffected\n\nWorkarounds / mitigations:\n\n- Systems can reduce exposure to this issue by avoiding legacy v1 fscrypt encryption policies that set the FSCRYPT_POLICY_FLAG_DIRECT_KEY flag: v2 encryption policies are not affected because their per-mode key structures are maintained per superblock. For existing deployments where switching to v2 encryption policies is not practical, mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and d…","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":223656,"id":"CVE-2026-68148","ts":1792238350185,"field":"cvss","old":"7.8","new":"7"}]}