CVE-2025-22039CWE-125CWE-190

CVE-2025-22039

High · published April 16, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
55.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00788 · 55.7th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-190 · Integer Overflow or Wraparound
Published
2025-04-16T19:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 6.12.236.12.23
linux/linux_kernel≥ 6.13, < 6.13.116.13.11
linux/linux_kernel≥ 6.14, < 6.14.26.14.2
References (7)
EPSS history
Timeline
  • 16 APR 14:11Z
    ksmbd: fix overflow in dacloffset bounds check
    cvelistv5