PT-2026-162927
CVE-2026-99960
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
nvmet: take subsys->lock while force-reconnecting in nvmet subsys attr qid max store()
nvmet subsys attr qid max store() sets subsys->max qid and then walks
subsys->ctrls to force every controller to reconnect, but it holds only
nvmet config sem (for write). subsys->ctrls is protected by subsys->lock:
nvmet alloc ctrl() adds an entry under subsys->lock, and nvmet ctrl free()
removes it under subsys->lock with list del() + kfree() (not kfree rcu).
The free path takes no nvmet config sem, so the two locks are independent.
A controller teardown (host disconnect, keep-alive timeout or fatal error
-> nvmet sq destroy() -> nvmet ctrl put() -> nvmet ctrl free()) can
therefore list del() an entry while qid max store() is iterating the list,
corrupting the walk.
KASAN, concurrent "echo 128 > .../subsystems//attr qid max" racing
nvme-loop controllers connecting and disconnecting, panics in seconds:
BUG: KASAN: null-ptr-deref in nvmet subsys attr qid max store+0x10d/0x1b0
Read of size 8 at addr 0000000000000090
Call Trace:
nvmet subsys attr qid max store+0x10d/0x1b0
configfs write iter+0x1a7/0x250
vfs write+0x5df/0x940
ksys write+0xfd/0x1e0
(also seen as a general-protection fault dereferencing a LIST POISON
pointer at the same instruction.)
Take subsys->lock around the list for each entry() loop, matching every
other subsys->ctrls accessor. ->delete ctrl() only queues asynchronous
controller teardown, so it does not re-enter subsys->lock under the loop.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾