CVE-2025-40285: linux
CVSS: 7.5v3.1HighDeferred
AliasesUBUNTU-CVE-2025-40285DEBIAN-CVE-2025-40285
Published 06-12-2025Last modified 05-08-2026
Vulnerability summary
CVE-2025-40285 is a high (CVSS 7.5) vulnerability in linux. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34.1% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (CVE.org)EPSS score
0.41%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 18 · Related 15Timeline
- 06-12-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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().
CVSS metrics
5 scores · 4 sources · 2 versionsMedium 6.0Preferred score · OSV · Ubuntu (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NSourcesSingle source
High 7.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
0.00 pp
From 0.41% on 21-09-2026
21-09-202621-10-2026
EPSS score0.41%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Ubuntu154 products
- linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.159-1 | < 6.12.63-1 | < 6.17.9-1
Linux1 product
- linux≥ 37a0e2b362b3150317fb6e2139de67b1e29ae5ff, < 6fc935f798d44a8eb8a5e6659198399fbf57b981 | ≥ 450a844c045ff0895d41b05a1cbe8febd1acfcfd, < e671f9bb97805771380c98de944e2ceab6949188 | ≥ a39e31e22a535d47b14656a7d6a893c7f6cf758c, < dcc51dfe6ff26b52cac106865a172ac982d78401 | ≥ b95629435b84b9ecc0c765995204a4d8a913ed52, < d37b2c81c83d6c0d5ca582f4fe73c672983f9e0d | ≥ b95629435b84b9ecc0c765995204a4d8a913ed52, < 379510a815cb2e64eb0a379cb62295d6ade65df0 | 2107ab40629aeabbec369cf34b8cf0f288c3eb1b | ≥ 6.1.121, < 6.1.159 | ≥ 6.6.67, < 6.6.117 | ≥ 6.12.6, < 6.12.59 | ≥ 5.15.176, < 5.16 | 6.13
3 vendors · 156 products