Description
An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. fs/ksmbd/smb2pdu.c omits a kfree call in certain smb2_handle_negotiate error conditions, aka a memory leak.
References (5)
Core 5
Core References
Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2022/12/23/10
Mailing List, Patch, Vendor Advisory
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.2
Mailing List, Patch, Vendor Advisory
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=aa7253c2393f6dcd6a1468b0792f6da76edad917
Patch, Third Party Advisory
https://github.com/torvalds/linux/commit/aa7253c2393f6dcd6a1468b0792f6da76edad917
Third Party Advisory, VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-1687/
Scores
CVSS v3
7.5
EPSS
0.0201
EPSS Percentile
83.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-401
Status
published
Products (1)
linux/linux_kernel
5.15 - 5.15.61
Published
Dec 23, 2022
Tracked Since
Feb 18, 2026