CVE-2025-22041: ksmbd: fix use-after-free in ksmbd_sessions_deregister()
Vulnerability summary
CVE-2025-22041 is a high (CVSS 8.8) Use After Free vulnerability in linux. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 55% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 22 · Related 17Timeline
- 16-04-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_sessions_deregister() In multichannel mode, UAF issue can occur in session_deregister when the second channel sets up a session through the connection of the first channel. session that is freed through the global session table can be accessed again through ->sessions of connection.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.71%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.69% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu127 products
- linuxAll versions (No fix recorded) | < 6.8.0-86.87
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1041.43
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < f0eb3f575138b816da74697bd506682574742fcd | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < a8a8ae303a8395cbac270b5b404d85df6ec788f8 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8ed0e9d2f410f63525afb8351181eea36c80bcf1 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 33cc29e221df7a3085ae413e8c26c4e81a151153 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 15a9605f8d69dc85005b1a00c31a050b8625e1aa | 5.15
- linux_kernel< 6.1.134 | ≥ 6.2, < 6.6.87 | ≥ 6.7, < 6.12.13 | ≥ 6.13, < 6.13.11 | ≥ 6.14, < 6.14.2
Debian1 product
- linux< 6.1.135-1 | < 6.12.25-1
3 vendors · 130 products