Kernel crash via non-linear AEAD context allocation
Published Oct 28, 2025 · Updated Oct 28, 2025
Denial of service in the Linux kernel SMB client allows local users to crash the kernel through encrypted-mount I/O. The crypt_message function allocates the AEAD request with kvzalloc, which can place its private context in vmalloc memory even though sg_set_buf requires linear memory. Systems with CONFIG_VMAP_STACK enabled reach the failing address range under many parallel reads and writes on an encrypted SMB mount, causing a kernel BUG and service interruption.
Summary
What happened
Denial of service in the Linux kernel SMB client allows local users to crash the kernel through encrypted-mount I/O. The crypt_message function allocates the AEAD request with kvzalloc, which can place its private context in vmalloc memory even though sg_set_buf requires linear memory. Systems with CONFIG_VMAP_STACK enabled reach the failing address range under many parallel reads and writes on an encrypted SMB mount, causing a kernel BUG and service interruption.
The record
- CVE
- CVE-2025-40052
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 28, 2025CVE publishedPublication date reported by the CVE source.
- Oct 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.3
- Affected versionversion=d08089f649a0cfb2099c8551ac47eef0cc23fdf2 <4a61b68abd2788db0364c9a0b6a39f1699fea440
- Affected versionversion=d08089f649a0cfb2099c8551ac47eef0cc23fdf2 <7a8a8c15468f0c99685e9964451feffd1a3cc859
- Affected versionversion=d08089f649a0cfb2099c8551ac47eef0cc23fdf2 <998a67b954680f26f3734040aeeed08642d49721
- Affected versionversion=d08089f649a0cfb2099c8551ac47eef0cc23fdf2 <ba905a567105dde21cdb8e6d3a87110fa434b393
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo