CVE-2024-50120: Linux Kernel
Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.
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.
Affected products
- Linux Linux Kernel: from 6.6.24, before 6.6.59 (fixed in 6.6.59); from 6.7.12, before 6.8 (fixed in 6.8); from 6.8.3, before 6.11.6 (fixed in 6.11.6); version 6.12 only
Published 2024-11-05. Last modified 2026-06-17.