PT-2026-36341
CVE-2026-31711
·
Published
2026-04-14
·
Updated
2026-11-10
Description by
CVSS 4.0
8.2
HighMetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A leak of the
active num conn counter occurs in the ksmbd tcp new connection() function when alloc transport() fails. An unauthenticated remote attacker can trigger this by initiating TCP connections to port 445 or by creating memory pressure using connections with large RFC1002 lengths up to MAX STREAM PROT LEN. Because the counter is incremented in ksmbd kthread fn() but not decremented upon allocation failure, each failure permanently consumes a slot from the max connections pool. Once the threshold is reached, all subsequent connection attempts are rejected until the module is reloaded.Recommendations
Decrement
active num conn on the alloc transport() failure path, gated on server conf.max connections. Found an issue in the description? Have something to add? Feel free to write us 👾