CVE-2025-40052 — Always-Incorrect Control Flow Implementation in Linux
Severity
3.2LOWOSV
No vectorEPSS
0.0%
top 92.27%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedOct 28
Latest updateApr 9
Description
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix crypto buffers in non-linear memory
The crypto API, through the scatterlist API, expects input buffers to be
in linear memory. We handle this with the cifs_sg_set_buf() helper
that converts vmalloc'd memory to their corresponding pages.
However, when we allocate our aead_request buffer (@creq in
smb2ops.c::crypt_message()), we do so with kvzalloc(), which possibly
puts aead_request->__ctx in vmalloc area.
AE…
Affected Packages6 packages
▶CVEListV5linux/linuxd08089f649a0cfb2099c8551ac47eef0cc23fdf2 — ba905a567105dde21cdb8e6d3a87110fa434b393+4