Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-22039

HIGH 8.8EPSS 57%

ksmbd: fix overflow in dacloffset bounds check

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < abbb4ec41867f2cd1c971258e493893bf43bcbd3; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8483d7b532be1d1bc149556a2fedf903868c6303; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 73f074fb5e139cd42ad75089abe4e28a49a30003; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6b8d379048b168a0dff5ab1acb975b933f368514; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 443b373a4df5a2cb9f7b8c4658b2afedeb16397f; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42
  • Anyone running Linux 5.15

Vulnerability facts

Affected
Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < abbb4ec41867f2cd1c971258e493893bf43bcbd3; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8483d7b532be1d1bc149556a2fedf903868c6303; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 73f074fb5e139cd42ad75089abe4e28a49a30003; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6b8d379048b168a0dff5ab1acb975b933f368514; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 443b373a4df5a2cb9f7b8c4658b2afedeb16397f; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42; Linux 5.15
Fixed in
Linux 8483d7b532be1d1bc149556a2fedf903868c6303, Linux 73f074fb5e139cd42ad75089abe4e28a49a30003, Linux 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc, Linux 6b8d379048b168a0dff5ab1acb975b933f368514, Linux 443b373a4df5a2cb9f7b8c4658b2afedeb16397f
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.87% chance of exploitation in 30 days (percentile 57, 2026-11-26)
CWE
CWE-125, CWE-190
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 0626e6641f6b467447c81dd7678a69c66f7746cf, < abbb4ec41867f2cd1c971258e493893bf43bcbd3; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8483d7b532be1d1bc149556a2fedf903868c6303; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 73f074fb5e139cd42ad75089abe4e28a49a30003; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6b8d379048b168a0dff5ab1acb975b933f368514; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 443b373a4df5a2cb9f7b8c4658b2afedeb16397f; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42—cvelist
Linux5.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-22039. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22039.md
Affected: Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < abbb4ec41867f2cd1c971258e493893bf43bcbd3; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8483d7b532be1d1bc149556a2fedf903868c6303; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 73f074fb5e139cd42ad75089abe4e28a49a30003; >= 0626e6641f6b467447c81dd…
Fixed in: Linux 8483d7b532be1d1bc149556a2fedf903868c6303, Linux 73f074fb5e139cd42ad75089abe4e28a49a30003, Linux 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc, Linux 6b8d379048b168a0dff5ab1acb975b933f368514, Linux 443b373a4df5a2cb9f7b8c4658b2afedeb16397f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-22039 being exploited?

There is no confirmed exploitation: CVE-2025-22039 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.87% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-22039?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2025-22039?

Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < abbb4ec41867f2cd1c971258e493893bf43bcbd3; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8483d7b532be1d1bc149556a2fedf903868c6303; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 73f074fb5e139cd42ad75089abe4e28a49a30003; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6b8d379048b168a0dff5ab1acb975b933f368514; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 443b373a4df5a2cb9f7b8c4658b2afedeb16397f; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42; Linux 5.15.

Is there a fix for CVE-2025-22039?

Yes. Fixed in Linux 8483d7b532be1d1bc149556a2fedf903868c6303, Linux 73f074fb5e139cd42ad75089abe4e28a49a30003, Linux 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc, Linux 6b8d379048b168a0dff5ab1acb975b933f368514, Linux 443b373a4df5a2cb9f7b8c4658b2afedeb16397f. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-22039?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors