CVE-2026-99909: fscrypt: Fix missing barrier in fscrypt_find_mode_key()
fscrypt: Fix missing barrier in fscryptfindmodekey()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.2 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Compensating control
In fscrypt_find_mode_key(), call smp_acquire__after_ctrl_dep() after finding a matching entry and before returning the per-mode key.
Event History
Frequently Asked Questions
Which systems are in the affected execution path?
The affected path involves fscrypt per-mode key lookup together with the block-layer crypto fallback on write I/O. It is relevant when a per-mode encryption key is being set up and another task subsequently finds that key and submits I/O.
What can go wrong during the race?
A task can observe that tfms_inited[mode] is true through an address dependency while independently accessed fallback globals, keyslots, or slot transforms are not yet observed as initialized. The missing acquire operation when returning the RCU-published key breaks the required initialization ordering.
Are fixes identified in the provided data?
Yes. The provided references identify fixes in stable kernel commits bed2155d85a86568b4b867546f8fa60175c154af, e87cd6f7507f682f0f32ef83917b6729738bce7c, and e9520ef59b30c85b9e27503853202c3674eb3e04. The data does not map these commits to kernel version numbers.