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.
https://www.zerodayinitiative.com/advisories/ZDI-22-1687/
https://github.com/torvalds/linux/commit/aa7253c2393f6dcd6a1468b0792f6da76edad917
http://www.openwall.com/lists/oss-security/2022/12/23/10
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=aa7253c2393f6dcd6a1468b0792f6da76edad917
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.2
Source: Mitre, NVD
Published: 2022-12-23
Updated: 2025-04-15
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 7.5
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.00278