VYPR
Medium severity5.5NVD Advisory· Published Nov 5, 2024· Updated Jun 17, 2026

CVE-2024-50120

CVE-2024-50120

Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: Handle kstrdup failures for passwords

In smb3_reconfigure(), after duplicating ctx->password and ctx->password2 with kstrdup(), we need to check for allocation failures.

If ses->password allocation fails, return -ENOMEM. If ses->password2 allocation fails, free ses->password, set it to NULL, and return -ENOMEM.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

16

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.