CVE-2024-50120smb: client: Handle kstrdup failures for passwords
- 5.5MediumCVSS base score
- 0.22%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 15 days later
· 15 days later
Published
- 19 months later
· 19 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 88% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 7e8cffa4f85e6839335d75e6b47f918d90c1d194 – < 35dbac8c328d6afe937cd45ecd41d209d0b9f8b8
- affected c1eb537bf4560b3ad4df606c266c665624f3b502 – < 35488799b0ab6e4327f82e1d9209a60805665b37
- affected c1eb537bf4560b3ad4df606c266c665624f3b502 – < 9a5dd61151399ad5a5d69aad28ab164734c1e3bc
- affected e78308a6dcab1e53b38b8dd952e69c515cd324d7
- affected 2a0fc63f1f4fccfeb367d0c57b8a243cec60c26c
- affected 6.6.24 – < 6.6.59
- affected 6.7.12 – < 6.8
- affected 6.8.3 – < 6.9
- affected 6.9
- unaffected < 6.9
- unaffected 6.6.59 – ≤ 6.6.*
- unaffected 6.11.6 – ≤ 6.11.*
- unaffected 6.12 – ≤ *
References
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-44608 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-50120)Record last updated .