← VULNERABILITIES

DEBIAN-CVE-2026-99525

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-19
Age
15d old
Modified
2026-11-22
Product
Debian:13 linux

Description

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.

Fixed in

6.12.117-1 · 6.12.117-1~deb12u1 · 7.3.3-1

Affected packages

EcosystemPackageRangeFixed
Debian:12linux-6.12>=0, <6.12.117-1~deb12u16.12.117-1~deb12u1
Debian:13linux>=0, <6.12.117-16.12.117-1
Debian:14linux>=0, <7.3.3-17.3.3-1

Sources

  • OSV · first seen 15d ago · CC-BY 4.0

References

JSON