PT-2026-151736
CVE-2026-99525
·
تاريخ النشر
2026-11-19
·
تاريخ التحديث
2026-11-19
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix use-after-free in cifs ses add channel()
The error path of cifs ses add channel() calls cifs put tcp session()
before cifs chan clear need reconnect(). The latter reaches
cifs ses get chan index(), which dereferences server->terminate; if
the put was the final reference, TCP Server Info is already freed and
this is a use-after-free. Same put-then-use pattern as the recently
fixed sibling in commit 717e0a25036b ("cifs: Fix server use-after-free
in cifs chan skip or disable()").
Move the put last, but do not read chan->server after dropping
chan lock: chan points into ses->chans[], and once chan count is
decremented a concurrent add channel can reuse the slot and overwrite
the pointer, so the put would act on the new channel's server. Cache
the pointer under chan lock, clear the reconnect bit and decrement
chan count while still holding the reference, and release it after
the unlock.
This issue was discovered by Tencent CodeBuddy Security.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾