CVE-2024-50120

smb: client: Handle kstrdup failures for passwords

published November 5, 2024

CVSS
—
EPSS
0%
Percentile
11.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00216 · 11.4th percentile
Published
2024-11-05T17:10Z
EPSS history
Timeline
  • 05 NOV 17:10Z
    smb: client: Handle kstrdup failures for passwords
    cvelistv5