CVE-2025-22039: ksmbd: fix overflow in dacloffset bounds check
Vulnerability summary
CVE-2025-22039 is a high (CVSS 8.8) Out-of-bounds Read vulnerability in linux. EPSS estimates a 0.81% chance of exploitation in the next 30 days, higher than 58.2% 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 23 · Related 21Timeline
- 16-04-2025PublishedVulnerability first disclosed.
- 14-09-2026Last modifiedVulnerability information updated.
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.
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 · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HDiffers
- NVDNIST7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HDiffers
EPSS trend
Probability
0.81%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.79% 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 cause- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected 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) | < 5.15.0-202.212 | < 6.8.0-86.87
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1119.126 | < 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, < abbb4ec41867f2cd1c971258e493893bf43bcbd3 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8483d7b532be1d1bc149556a2fedf903868c6303 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 73f074fb5e139cd42ad75089abe4e28a49a30003 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6b8d379048b168a0dff5ab1acb975b933f368514 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 443b373a4df5a2cb9f7b8c4658b2afedeb16397f | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42 | 5.15
- linux_kernel≥ 5.15, < 6.12.23 | ≥ 6.13, < 6.13.11 | ≥ 6.14, < 6.14.2
Debian1 product
- linuxAll versions (No fix recorded) | < 6.1.190-1 | < 6.12.25-1
3 vendors · 130 products