NetSight
medium5.5

CVE-2024-50120

In the Linux kernel, the following vulnerability has been resolved: smb: client: Handle kstrdup failures for passwords In smb3_reconfigure(), after duplicating…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 6.6.24 before 6.6.59
from 6.7.12 before 6.8
from 6.8.3 before 6.11.6
Version 6.12

References