cve/2024/CVE-2024-50120.md
2025-09-29 21:09:30 +02:00

1.4 KiB

CVE-2024-50120

Description

In the Linux kernel, the following vulnerability has been resolved:smb: client: Handle kstrdup failures for passwordsIn smb3_reconfigure(), after duplicating ctx->password andctx->password2 with kstrdup(), we need to check for allocationfailures.If ses->password allocation fails, return -ENOMEM.If ses->password2 allocation fails, free ses->password, set itto NULL, and return -ENOMEM.

POC

Reference

No PoCs from references.

Github