CVE-2026-99909
Received
Received - Intake
Race Condition in Linux Kernel fscrypt Component
Vulnerability report for CVE-2026-99909, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-30
Last updated on: 2026-11-30
Assigner: kernel.org
Description
Description
In the Linux kernel, the following vulnerability has been resolved:
fscrypt: Fix missing barrier in fscrypt_find_mode_key()
fscrypt_find_mode_key() walks an RCU list and hands out a per-mode
key without an acquire:
setup task
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
setup_per_mode_enc_key()
ββ fscrypt_prepare_key()
β ββ fscrypt_prepare_inline_crypt_key()
β ββ blk_crypto_start_using_key()
β ββ blk_crypto_fallback_start_using_mode()
β ββ init profile, keyslots, tfms[]
β ββ smp_store_release(tfms_inited[mode]) # init order
ββ list_add_tail_rcu(&new_node->link, ...) # release -> finder
finding task (later submits the I/O itself)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fscrypt_find_mode_key()
ββ list_for_each_entry_rcu(node, ...)
ββ return &node->key # no acquire, chain breaks
...
blk_crypto_fallback_bio_prep() # WRITE path
ββ tfms_inited[mode] # addr-dep, reads true
ββ blk_crypto_fallback_profile # no dependency
ββ blk_crypto_keyslots # no dependency
ββ slotp->tfms[mode] # no dependency
RCU publishes the node and the key reachable from it, so
tfms_inited[mode] reads true through the address dependency. The
independent fallback globals are not covered by it and can be read as
uninitialized.
On a weakly ordered machine, a WRITE bio can crash in
blk_crypto_get_keyslot() or crypto_sync_skcipher_setkey().
Other tasks reach the key through fscrypt_inode_info's
cmpxchg_release()/smp_load_acquire(), which is already ordered after
the list walk; only the finding task's own later I/O was not.
Fix this by upgrading the control dependency to an acquire with
smp_acquire__after_ctrl_dep() once a matching entry has been found.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |