CVE-2025-40285
smb/server: fix possible refcount leak in smb2_sess_setup()
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
In the Linux kernel, the following vulnerability has been resolved: smb/server: fix possible refcount leak in smb2_sess_setup() Reference count of ksmbd_session will leak when session need reconnect. Fix this by adding the missing ksmbd_user_session_put().
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Dec 6, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
37a0e2b362b3150317fb6e2139de67b1e29ae5ff < 6fc935f798d44a8eb8a5e6659198399fbf57b981 450a844c045ff0895d41b05a1cbe8febd1acfcfd < e671f9bb97805771380c98de944e2ceab6949188 a39e31e22a535d47b14656a7d6a893c7f6cf758c < dcc51dfe6ff26b52cac106865a172ac982d78401 b95629435b84b9ecc0c765995204a4d8a913ed52 < d37b2c81c83d6c0d5ca582f4fe73c672983f9e0d b95629435b84b9ecc0c765995204a4d8a913ed52 < 379510a815cb2e64eb0a379cb62295d6ade65df0 2107ab40629aeabbec369cf34b8cf0f288c3eb1b
Linux / Linux
6.13
References
git.kernel.org: https://git.kernel.org/stable/c/6fc935f798d44a8eb8a5e6659198399fbf57b981 git.kernel.org: https://git.kernel.org/stable/c/e671f9bb97805771380c98de944e2ceab6949188 git.kernel.org: https://git.kernel.org/stable/c/dcc51dfe6ff26b52cac106865a172ac982d78401 git.kernel.org: https://git.kernel.org/stable/c/d37b2c81c83d6c0d5ca582f4fe73c672983f9e0d git.kernel.org: https://git.kernel.org/stable/c/379510a815cb2e64eb0a379cb62295d6ade65df0