CVE-2026-99909
publishedfscrypt: Fix missing barrier in fscrypt_find_mode_key()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxeff39322a57ce396f6fa67a671f4c59af6c4b796 to < bed2155d85a86568b4b867546f8fa60175c154af · 85f8b440a09bad8d8f75156c89f72ac37c9d0d48 to < e87cd6f7507f682f0f32ef83917b6729738bce7c · dd015b566d505d698386103e9c80b739c7336eb8 to < e9520ef59b30c85b9e27503853202c3674eb3e04 · dd015b566d505d698386103e9c80b739c7336eb8 to < cf66375465b9ca531f5c294f468db1df293c178c · 43e40c7a7b26d89d4bc268346962999d814ed8e3 · 6.12.97 to < 6.12.117 · 6.18.39 to < 6.18.63 · 7.1.3 to < 7.2 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.2 (affected) · 0 to < 7.2 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | eff39322a57ce396f6fa67a671f4c59af6c4b796 to < bed2155d85a86568b4b867546f8fa60175c154af (affected · git)85f8b440a09bad8d8f75156c89f72ac37c9d0d48 to < e87cd6f7507f682f0f32ef83917b6729738bce7c (affected · git)dd015b566d505d698386103e9c80b739c7336eb8 to < e9520ef59b30c85b9e27503853202c3674eb3e04 (affected · git)dd015b566d505d698386103e9c80b739c7336eb8 to < cf66375465b9ca531f5c294f468db1df293c178c (affected · git)43e40c7a7b26d89d4bc268346962999d814ed8e3 (affected · git)6.12.97 to < 6.12.117 (affected · semver)6.18.39 to < 6.18.63 (affected · semver)7.1.3 to < 7.2 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 7.2 (affected)0 to < 7.2 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
fscrypt: Fix missing barrier in fscrypt_find_mode_key()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2339758c8fb52e16b3a9799174ccecdc03d916405daff635ec60b28e5f00b41a
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record