{"id":"CVE-2022-47941","published":"2022-12-23T00:00:00Z","modified":"2025-04-15T13:59:03Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0524,"percentile":0.92722,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.2","tags":[]},{"url":"https://github.com/torvalds/linux/commit/aa7253c2393f6dcd6a1468b0792f6da76edad917","tags":[]},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=aa7253c2393f6dcd6a1468b0792f6da76edad917","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/12/23/10","tags":[]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-22-1687/","tags":[]}],"priority":{"score":23.8,"factors":[{"name":"EPSS percentile","points":18.54},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-15T13:58:23.061788Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is a memory leak in the ksmbd SMB server component of the Linux kernel, in fs/ksmbd/smb2pdu.c, where a kfree call is omitted in certain smb2_handle_negotiate error conditions. An attacker with network access can trigger the leak without authentication or user interaction, exhausting kernel memory and impacting availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:54Z"},"euvd":{"id":"EUVD-2022-50674","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2022-47938-family-cve-2022-47938","parents":[{"from":"CVE-2022-47939","to":"CVE-2022-47941","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/ksmbd/smb2pdu.c"],"commits":["https://github.com/torvalds/linux/commit/cf6531d98190fa2cf92a6d8bbc8af0a4740a223c","https://github.com/torvalds/linux/commit/aa7253c2393f6dcd6a1468b0792f6da76edad917"],"basis":"shared function","functions":["ksmbd_work"]}]},{"from":"CVE-2022-47940","to":"CVE-2022-47941","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/ksmbd/smb2pdu.c"],"commits":["https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8e6","https://github.com/torvalds/linux/commit/aa7253c2393f6dcd6a1468b0792f6da76edad917"],"basis":"shared function","functions":["ksmbd_work"]}]}],"children":[{"from":"CVE-2022-47941","to":"CVE-2022-47942","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/ksmbd/smb2pdu.c"],"commits":["https://github.com/torvalds/linux/commit/aa7253c2393f6dcd6a1468b0792f6da76edad917","https://github.com/torvalds/linux/commit/8f0541186e9ad1b62accc9519cc2b7a7240272a7"],"basis":"shared function","functions":["ksmbd_work"]}]},{"from":"CVE-2022-47941","to":"CVE-2022-47943","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/ksmbd/smb2pdu.c"],"commits":["https://github.com/torvalds/linux/commit/aa7253c2393f6dcd6a1468b0792f6da76edad917","https://github.com/torvalds/linux/commit/ac60778b87e45576d7bfdbd6f53df902654e6f09"],"basis":"shared function","functions":["ksmbd_work"]}]}]}}