VYPR
High severity8.8NVD Advisory· Published Apr 16, 2025· Updated Jul 30, 2026

CVE-2025-22039

CVE-2025-22039

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

4
  • Linux/Kernel3 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.15,<6.12.23
    • (no CPE)
    • (no CPE)range: 5.15
  • osv-coords
    Range: >= 5.15.0, < 6.12.23

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.