PT-2026-162876
CVE-2026-99909
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾