Skip to main content
Network Thinking Solutions Logo

CVE-2025-22039

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().

All CVEs
CVE-2025-22039Published 4/16/2025

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().

Vendor advisory
CVSS8.8High

Overview

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.

Published
4/16/2025
Last modified
9/14/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15, < 6.12.23

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.11

Verify advisory

Source
linux kernel
linux
≥ 6.14, < 6.14.2

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < abbb4ec41867f2cd1c971258e493893bf43bcbd3

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8483d7b532be1d1bc149556a2fedf903868c6303

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 73f074fb5e139cd42ad75089abe4e28a49a30003

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6b8d379048b168a0dff5ab1acb975b933f368514

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 443b373a4df5a2cb9f7b8c4658b2afedeb16397f

Verify advisory

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42

Verify advisory

Source
Linux
Linux
5.15

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.