SEVERITY AND EXPLOITATION CONTEXT
CVE-2022-49899: fscrypt: stop using keyrings subsystem for fscrypt_master_key
Review published vectors, EPSS probability and CISA KEV status independently.
Browse all 394,234 published CVEs
Published CVE assessments
Explore dated records with provider-attributed vectors and metric explanations. Open a record to refresh its CVSS, EPSS and KEV context.
- CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
- CVE-2023-34362: MOVEit Transfer SQL Injection
- CVE-2024-3094: Xz: malicious code in distributed source
- CVE-2023-4966: Unauthenticated sensitive information disclosure
- CVE-2024-3400: PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtect
- CVE-2022-22965: Spring Framework Remote Code Execution (Spring4Shell)
- CVE-2025-5095: Burk Technology ARC Solo Missing Authentication for Critical Function
- CVE-2025-14945: Events Manager - Calendar, Bookings, Tickets, and more! <= 7.3.3 - Unauthenticated Stored Cross-Site Scripting via Event Attributes
Three signals, different questions
CVSS describes technical severity under the assumptions in a vector. EPSS estimates the probability of exploitation of a published CVE in the next 30 days. CISA KEV records vulnerabilities known to have been exploited. These signals are displayed separately; this tool does not combine them into an invented risk score.
Review the source and date
Published vectors may come from the CNA or additional record providers. Review their assumptions before using them in an assessment. Missing EPSS data is not zero probability. Absence from a retrieved KEV catalog does not prove that exploitation has never occurred. A failed source request is shown as unavailable, not as a negative result.
Sources: CVE Program, FIRST EPSS and CISA KEV mirror. Check vendor advisories for affected versions and remediation guidance.
fscrypt: stop using keyrings subsystem for fscrypt_master_key
In the Linux kernel, the following vulnerability has been resolved:
fscrypt: stop using keyrings subsystem for fscrypt_master_key
The approach of fs/crypto/ internally managing the fscrypt_master_key
structs as the payloads of "struct key" objects contained in a
"struct key" keyring has outlived its usefulness. The original idea was
to simplify the code by reusing code from the keyrings subsystem.
However, several issues have arisen that can't easily be resolved:
- When a master key struct is destroyed, blk_crypto_evict_key() must be
called on any per-mode keys embedded in it. (This started being the
case when inline encryption support was added.) Yet, the keyrings
subsystem can arbitrarily delay the destruction of keys, even past the
time the filesystem was unmounted. Therefore, currently there is no
easy way to call blk_crypto_evict_key() when a master key is
destroyed. Currently, this is worked around by holding an extra
reference to the filesystem's request_queue(s). But it was overlooked
that the request_queue reference is *not* guaranteed to pin the
corresponding blk_crypto_profile too; for device-mapper devices that
support inline crypto, it doesn't. This can cause a use-after-free.
- When the last inode that was using an incompletely-removed master key
is evicted, the master key removal is completed by removing the key
struct from the keyring. Currently this is done via key_invalidate().
Yet, key_invalidate() takes the key semaphore. This can deadlock when
called from the shrinker, since in fscrypt_ioctl_add_key(), memory is
allocated with GFP_KERNEL under the same semaphore.
- More generally, the fact that the keyrings subsystem can arbitrarily
delay the destruction of keys (via garbage collection delay, or via
random processes getting temporary key references) is undesirable, as
it means we can't strictly guarantee that all secrets are ever wiped.
- Doing the master key lookups via the keyrings subsystem results in the
key_permission LSM hook being called. fscrypt doesn't want this, as
all access control for encrypted files is designed to happen via the
files themselves, like any other files. The workaround which SELinux
users are using is to change their SELinux policy to grant key search
access to all domains. This works, but it is an odd extra step that
shouldn't really have to be done.
The fix for all these issues is to change the implementation to what I
should have done originally: don't use the keyrings subsystem to keep
track of the filesystem's fscrypt_master_key structs. Instead, just
store them in a regular kernel data structure, and rework the reference
counting, locking, and lifetime accordingly. Retain support for
RCU-mode key lookups by using a hash table. Replace fscrypt_sb_free()
with fscrypt_sb_delete(), which releases the keys synchronously and runs
a bit earlier during unmount, so that block devices are still available.
A side effect of this patch is that neither the master keys themselves
nor the filesystem keyrings will be listed in /proc/keys anymore.
("Master key users" and the master key users keyrings will still be
listed.) However, this was mostly an implementation detail, and it was
intended just for debugging purposes. I don't know of anyone using it.
This patch does *not* change how "master key users" (->mk_users) works;
that still uses the keyrings subsystem. That is still needed for key
quotas, and changing that isn't necessary to solve the issues listed
above. If we decide to change that too, it would be a separate patch.
I've marked this as fixing the original commit that added the fscrypt
keyring, but as noted above the most important issue that this patch
fixes wasn't introduced until the addition of inline encryption support.
Published CVE snapshot: 2026-10-22. Record last updated: 2026-08-05T08:56:37.385Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.
View the CVE Program source record
Linux · CVSS 3.1: 7.8 High
Calculated from the published vector. Base score: 7.8. Provider-reported Base score: 7.8.
Vector and metric explanations
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H| Metric | Value | Meaning |
|---|
| Attack vector (AV) | L | Requires local access, a local execution path, or a user opening an attacker-supplied file. |
| Attack complexity (AC) | L | Exploitation does not depend on special conditions beyond the attacker’s control. |
| Privileges required (PR) | L | The attacker needs basic user capabilities before exploitation. |
| User interaction (UI) | N | No other user must participate for exploitation to succeed. |
| Scope (S) | U | Consequences stay within resources managed by the same security authority. |
| Confidentiality (C) | H | All information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence. |
| Integrity (I) | H | Integrity is completely lost, or modification has a direct, serious consequence. |
| Availability (A) | H | Availability is completely lost, or the disruption has a direct, serious consequence. |
These definitions explain provider selections; they do not independently verify exploitation.
Review vector in calculatorCISA-ADP · CVSS 3.1: 5.5 Medium
Calculated from the published vector. Base score: 5.5. Provider-reported Base score: 5.5.
Vector and metric explanations
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H| Metric | Value | Meaning |
|---|
| Attack vector (AV) | L | Requires local access, a local execution path, or a user opening an attacker-supplied file. |
| Attack complexity (AC) | L | Exploitation does not depend on special conditions beyond the attacker’s control. |
| Privileges required (PR) | L | The attacker needs basic user capabilities before exploitation. |
| User interaction (UI) | N | No other user must participate for exploitation to succeed. |
| Scope (S) | U | Consequences stay within resources managed by the same security authority. |
| Confidentiality (C) | N | No confidentiality impact is demonstrated. |
| Integrity (I) | N | No integrity impact is demonstrated. |
| Availability (A) | H | Availability is completely lost, or the disruption has a direct, serious consequence. |
These definitions explain provider selections; they do not independently verify exploitation.
Review vector in calculatorAffected products reported by the provider
- Linux · Linux
- Linux · Linux
Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.
Source references (4)
Interpret severity and exploitation separately
CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.
Browse CVEs from 2022 · All published CVEs · Calculation methodology