{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99909","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.444Z","datePublished":"2026-11-30T13:18:11.275Z","dateUpdated":"2026-11-30T13:18:11.275Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:18:11.275Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfscrypt: Fix missing barrier in fscrypt_find_mode_key()\n\nfscrypt_find_mode_key() walks an RCU list and hands out a per-mode\nkey without an acquire:\n\n  setup task\n  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n  setup_per_mode_enc_key()\n   ├─ fscrypt_prepare_key()\n   │  └─ fscrypt_prepare_inline_crypt_key()\n   │     └─ blk_crypto_start_using_key()\n   │        └─ blk_crypto_fallback_start_using_mode()\n   │           ├─ init profile, keyslots, tfms[]\n   │           └─ smp_store_release(tfms_inited[mode])  # init order\n   └─ list_add_tail_rcu(&new_node->link, ...)  # release -> finder\n\n  finding task (later submits the I/O itself)\n  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n  fscrypt_find_mode_key()\n   ├─ list_for_each_entry_rcu(node, ...)\n   └─ return &node->key                 # no acquire, chain breaks\n  ...\n  blk_crypto_fallback_bio_prep()        # WRITE path\n   ├─ tfms_inited[mode]                 # addr-dep, reads true\n   ├─ blk_crypto_fallback_profile       # no dependency\n   ├─ blk_crypto_keyslots               # no dependency\n   └─ slotp->tfms[mode]                 # no dependency\n\nRCU publishes the node and the key reachable from it, so\ntfms_inited[mode] reads true through the address dependency.  The\nindependent fallback globals are not covered by it and can be read as\nuninitialized.\n\nOn a weakly ordered machine, a WRITE bio can crash in\nblk_crypto_get_keyslot() or crypto_sync_skcipher_setkey().\n\nOther tasks reach the key through fscrypt_inode_info's\ncmpxchg_release()/smp_load_acquire(), which is already ordered after\nthe list walk; only the finding task's own later I/O was not.\n\nFix this by upgrading the control dependency to an acquire with\nsmp_acquire__after_ctrl_dep() once a matching entry has been found."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/crypto/keysetup.c"],"versions":[{"version":"eff39322a57ce396f6fa67a671f4c59af6c4b796","lessThan":"bed2155d85a86568b4b867546f8fa60175c154af","status":"affected","versionType":"git"},{"version":"85f8b440a09bad8d8f75156c89f72ac37c9d0d48","lessThan":"e87cd6f7507f682f0f32ef83917b6729738bce7c","status":"affected","versionType":"git"},{"version":"dd015b566d505d698386103e9c80b739c7336eb8","lessThan":"e9520ef59b30c85b9e27503853202c3674eb3e04","status":"affected","versionType":"git"},{"version":"dd015b566d505d698386103e9c80b739c7336eb8","lessThan":"cf66375465b9ca531f5c294f468db1df293c178c","status":"affected","versionType":"git"},{"version":"43e40c7a7b26d89d4bc268346962999d814ed8e3","status":"affected","versionType":"git"},{"version":"6.12.97","lessThan":"6.12.117","status":"affected","versionType":"semver"},{"version":"6.18.39","lessThan":"6.18.63","status":"affected","versionType":"semver"},{"version":"7.1.3","lessThan":"7.2","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/crypto/keysetup.c"],"versions":[{"version":"7.2","status":"affected"},{"version":"0","lessThan":"7.2","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.97","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.39","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/bed2155d85a86568b4b867546f8fa60175c154af"},{"url":"https://git.kernel.org/stable/c/e87cd6f7507f682f0f32ef83917b6729738bce7c"},{"url":"https://git.kernel.org/stable/c/e9520ef59b30c85b9e27503853202c3674eb3e04"},{"url":"https://git.kernel.org/stable/c/cf66375465b9ca531f5c294f468db1df293c178c"}],"title":"fscrypt: Fix missing barrier in fscrypt_find_mode_key()","x_generator":{"engine":"bippy-1.2.0"}}}}