CVE-2025-22039ksmbd: fix overflow in dacloffset bounds check
- 8.8HighCVSS base score
- 0.81%Exploitation in 30 daysEPSS · top 42% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix overflow in dacloffset bounds check The dacloffset field was originally typed as int and used in an unchecked addition, which could overflow and bypass the existing bounds check in both smb_check_perm_dacl() and smb_inherit_dacl(). This could result in out-of-bounds memory access and a kernel crash when dereferencing the DACL pointer. This patch converts dacloffset to unsigned int and uses check_add_overflow() to validate access to the DACL.
Timeline
ID reserved
By Linux
- 4 months later
· 4 months later
Published
- 17 months later
· 17 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.81% · top 42% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < abbb4ec41867f2cd1c971258e493893bf43bcbd3
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 8483d7b532be1d1bc149556a2fedf903868c6303
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 73f074fb5e139cd42ad75089abe4e28a49a30003
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 6b8d379048b168a0dff5ab1acb975b933f368514
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 443b373a4df5a2cb9f7b8c4658b2afedeb16397f
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42
- affected 5.15
- unaffected < 5.15
- unaffected 5.15.221 – ≤ 5.15.*
- unaffected 6.1.188 – ≤ 6.1.*
- unaffected 6.6.157 – ≤ 6.6.*
- unaffected 6.12.23 – ≤ 6.12.*
- unaffected 6.13.11 – ≤ 6.13.*
- unaffected 6.14.2 – ≤ 6.14.*
- unaffected 6.15 – ≤ *
References
References7
- https://git.kernel.org/stable/c/abbb4ec41867f2cd1c971258e493893bf43bcbd3 (opens in a new tab)
- https://git.kernel.org/stable/c/8483d7b532be1d1bc149556a2fedf903868c6303 (opens in a new tab)
- https://git.kernel.org/stable/c/73f074fb5e139cd42ad75089abe4e28a49a30003 (opens in a new tab)
- https://git.kernel.org/stable/c/6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc (opens in a new tab)
- https://git.kernel.org/stable/c/6b8d379048b168a0dff5ab1acb975b933f368514 (opens in a new tab)
- https://git.kernel.org/stable/c/443b373a4df5a2cb9f7b8c4658b2afedeb16397f (opens in a new tab)
- https://git.kernel.org/stable/c/beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-11246 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-22039)Record last updated .