PT-2026-151736
CVE-2026-99525
·
Published
2026-11-19
·
Updated
2026-11-19
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾