CVE-2025-40268 — Incomplete Cleanup in Linux
Severity
3.2LOWOSV
No vectorEPSS
0.0%
top 88.26%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 6
Latest updateApr 9
Description
In the Linux kernel, the following vulnerability has been resolved:
cifs: client: fix memory leak in smb3_fs_context_parse_param
The user calls fsconfig twice, but when the program exits, free() only
frees ctx->source for the second fsconfig, not the first.
Regarding fc->source, there is no code in the fs context related to its
memory reclamation.
To fix this memory leak, release the source memory corresponding to ctx
or fc before each parsing.
syzbot reported:
BUG: memory leak
unreferenced …
Affected Packages6 packages
▶CVEListV5linux/linuxaf1a3d2ba9543e99d78914d8fb88b61d0531d9a1 — 868fc62811d3fabcf5685e14f36377a855d5412d+4