cbcvebase.
CVE-2025-22039
published 2025-04-16

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…

PriorityP433high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.66%
48.2th percentile
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

17 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.12.25-1 (forky)linux 6.12.25-1 (forky)
linuxlinux
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc6a9cd9ff0fa2bcc30b2bfb8bdb161eb20e44b9dc
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 6b8d379048b168a0dff5ab1acb975b933f3685146b8d379048b168a0dff5ab1acb975b933f368514
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 443b373a4df5a2cb9f7b8c4658b2afedeb16397f443b373a4df5a2cb9f7b8c4658b2afedeb16397f
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42beff0bc9d69bc8e733f9bca28e2d3df5b3e10e42
linuxlinux_kernel>= 0 < 6.12.25-16.12.25-1
linuxlinux_kernel>= 0 < 6.12.25-16.12.25-1
linuxlinux_kernel>= 0 < 6.8.0-86.876.8.0-86.87
linuxlinux_kernel>= 0 < 6.14.0-22.226.14.0-22.22
linuxlinux_kernel>= 5.15 < 6.12.236.12.23
linuxlinux_kernel>= 6.13 < 6.13.116.13.11
linuxlinux_kernel>= 6.14 < 6.14.26.14.2
msrcazl3_kernel_6.6.104.2-4_on_azure_linux_3.0
msrcazl3_kernel_6.6.96.2-1_on_azure_linux_3.0
msrcazl3_kernel_6.6.96.2-2_on_azure_linux_3.0
msrccbl2_kernel_5.15.186.1-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
vendor_ubuntu7.1HIGH
vendor_msrc5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.