Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-68148

published high CVSS 3.1 · 7.8

fscrypt: Add missing superblock check in find_or_insert_direct_key()

Published
10 Aug 2026, 11:59:13 UTC
Updated
19 Oct 2026, 20:58:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux22e9947a4b2ba255888541bd0111cf00b9b16586 to < 965b5bc8cf5031225e057979ce660fec2bd5fbfc · 22e9947a4b2ba255888541bd0111cf00b9b16586 to < 330249609b70778094a7a36f5b6bcfa6362121d4 · 22e9947a4b2ba255888541bd0111cf00b9b16586 to < deff41898a5ae3a47db5fa1896a494aa95efda5d · 22e9947a4b2ba255888541bd0111cf00b9b16586 to < 95376fe9c145be35566991df99c53134943d992f · 22e9947a4b2ba255888541bd0111cf00b9b16586 to < 466f187b501a5ac8e1ea2ccf3ccd5c46108d8830 · 22e9947a4b2ba255888541bd0111cf00b9b16586 to < b5fa40226e71c17847b9ff2816c6ca4133d0d994 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.183 through 6.1.* (unaffected · semver) · 6.6.148 through 6.6.* (unaffected · semver) · 6.12.101 through 6.12.* (unaffected · semver) · 6.18.42 through 6.18.* (unaffected · semver) · 7.1.6 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-doc Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-headers Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-tools Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 libperf Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 perf Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 python3-perf Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 rtla Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 10 rv Advisory build 6.12.0-264.19.1.el10_3 ALSA-2026:102168
AlmaLinux 9 kernel Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-core Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-debug Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-741.24.1.el9_9 ALSA-2026:100662

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: fscrypt: Add missing superblock check in find_or_insert_direct_key() The legacy 'fscrypt_direct_keys' table caches master keys that are used by v1 encryption policies that have FSCRYPT_POLICY_FLAG_DIRECT_KEY. It's just a global table for all filesystems (since the keys can be provided by the legacy process-subscribed keyrings mechanism, which makes it difficult to reuse super_block::s_master_keys). The entries in it ('struct fscrypt_direct_key') do contain a super_block pointer, though, for passing to fscrypt_destroy_inline_crypt_key() when the last inode that references the key is evicted. However, when finding the fscrypt_direct_key for an inode, we weren't actually comparing the super_block pointer. As a result, inodes with different super_blocks could point to the same fscrypt_direct_key. That could extend the lifetime of a fscrypt_direct_key beyond the super_block it points to, causing a use-after-free later. Fix this by creating distinct fscrypt_direct_key structs for distinct super_block structs. Note that this problem doesn't exist in the v2 policy equivalent ("per-mode keys"), since the data structures there are per super_block.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

43

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The flaw is reached only through local syscalls (mount/umount, FS_IOC_SET_ENCRYPTION_POLICY, and file I/O that calls fscrypt_get_encryption_info -> find_or_insert_direct_key); fscrypt is not invoked from network-facing kernel services. AC:L - An attacker who can mount two encrypted filesystems with the same v1 DIRECT_KEY master key, share the global cache entry, then unmount the first superblock can deterministically trigger eviction-time cleanup on a freed super_block without races or victim-dependent timing. PR:L - Exploitation requires mounting/unmounting filesystems and setting v1 DIRECT_KEY policies (CAP_SYS_ADMIN in a user/mount namespace) or supplying keys via process keyrings; per kernel guidance, CAP_SYS_ADMIN obtainable in user namespaces maps to PR:L. UI:N - No separate victim action is required; the attacker sets v1 DIRECT_KEY policies, accesses encrypted inodes on two mounts, and controls unmount/eviction to hit the vulnerable refcount and cleanup path. S:U - The use-after-free corrupts kernel heap memory and enables local privilege escalation within the same kernel; it does not cross VM, hypervisor, or IOMMU security boundaries. C:H - Extending a fscrypt_direct_key past its super_block lifetime causes cleanup to dereference a freed super_block in fscrypt_destroy_inline_crypt_key(), a use-after-free that can leak kernel memory and support arbitrary-read exploitation primitives. I:H - Use-after-free during inline-crypto key destruction on a dangling super_block pointer can be leveraged for heap corruption and arbitrary kernel writes, enabling local privilege escalation rather than only a controlled crash. A:H - Evicting the last inode holding the mismatched fscrypt_direct_key dereferences a freed super_block during key teardown, which can cause kernel oops/panic and complete local denial of service on encrypted mobile/embedded and server systems using inline encryption.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 22e9947a4b2ba255888541bd0111cf00b9b16586 to < 965b5bc8cf5031225e057979ce660fec2bd5fbfc (affected · git)22e9947a4b2ba255888541bd0111cf00b9b16586 to < 330249609b70778094a7a36f5b6bcfa6362121d4 (affected · git)22e9947a4b2ba255888541bd0111cf00b9b16586 to < deff41898a5ae3a47db5fa1896a494aa95efda5d (affected · git)22e9947a4b2ba255888541bd0111cf00b9b16586 to < 95376fe9c145be35566991df99c53134943d992f (affected · git)22e9947a4b2ba255888541bd0111cf00b9b16586 to < 466f187b501a5ac8e1ea2ccf3ccd5c46108d8830 (affected · git)22e9947a4b2ba255888541bd0111cf00b9b16586 to < b5fa40226e71c17847b9ff2816c6ca4133d0d994 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.183 through 6.1.* (unaffected · semver)6.6.148 through 6.6.* (unaffected · semver)6.12.101 through 6.12.* (unaffected · semver)6.18.42 through 6.18.* (unaffected · semver)7.1.6 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

6

Provider assertions

2

Linux · cna

fscrypt: Add missing superblock check in find_or_insert_direct_key()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
001cd5bfe280b8e656268c9baaa7976dd51ae576602d9d6f1cebe08699709c78
Ingested
19 Oct 2026, 21:04:33 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected