CVE-2026-72382
ksmbd: reject undersized DACLs before parsing ACEs
Check your servers for CVE-2026-72382
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-72382 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: reject undersized DACLs before parsing ACEs
parse_dacl() limits the attacker-controlled ACE count by comparing it with the number of minimal ACEs that fit in the DACL size. The DACL size field is 16 bits, but the expression subtracts sizeof(struct smb_acl). Because sizeof() is unsigned, a DACL size smaller than the ACL header underflows to a large size_t.
A malicious client can reach this with:
SMB2_SET_INFO (InfoType=SMB2_O_INFO_SECURITY) -> smb2_set_info_sec() -> set_info_sec() -> parse_sec_desc() -> parse_dacl() -> init_acl_state(..., 0xffff) -> init_acl_state(..., 0xffff) -> kmalloc_objs(..., 0xffff)
Thus a malformed security descriptor can make num_aces pass the guard and drive large temporary ACL state and pointer-array allocations.
Reject DACLs smaller than struct smb_acl before doing the subtraction, so the ACE count check cannot be bypassed by the underflow.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 8dc949061e35427433feac3ebe5ec089f2aa857e affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 16fb65ec15fe7c90f50a2115854bfd9a032d4023 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 282847c0cf22f2e961155ac8e42f6eeab7e16049 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before d020e7f27bf65eecd3805404702f716b2b6d9e73 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 15a9e9b8f7f5d7f380ae54c6f5bcbc0bdcb0f3cd affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 60908f7ebcd9b6cde74ad5711fab0f49c7970949
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-72382 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72382
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-72382
trivy image --scanners vuln IMAGE | grep CVE-2026-72382
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8dc949061e35427433feac3ebe5ec089f2aa857e git.kernel.org
- https://git.kernel.org/stable/c/16fb65ec15fe7c90f50a2115854bfd9a032d4023 git.kernel.org
- https://git.kernel.org/stable/c/282847c0cf22f2e961155ac8e42f6eeab7e16049 git.kernel.org
- https://git.kernel.org/stable/c/d020e7f27bf65eecd3805404702f716b2b6d9e73 git.kernel.org
- https://git.kernel.org/stable/c/15a9e9b8f7f5d7f380ae54c6f5bcbc0bdcb0f3cd git.kernel.org
- https://git.kernel.org/stable/c/60908f7ebcd9b6cde74ad5711fab0f49c7970949 git.kernel.org
Source: the record CVE-2026-72382 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse