CVE-2025-22039

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLinux Kernel
PublishedApr 16, 2025
First seenApr 16, 2025

How to fix

Update
  • linux linux_kernel6.12.23, 6.13.11, 6.14.2 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15 ≤ v < 6.12.23, 6.13 ≤ v < 6.13.11, 6.14 ≤ v < 6.14.26.12.23, 6.13.11, 6.14.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.