# smb: client: Handle kstrdup failures for passwords

CVE record · `CVE-2024-50120`

- **Identifiers:** `CVE-2024-50120`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 5 Nov 2024
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 5 Nov 2024, 17:10 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `7e8cffa4f85e6839335d75e6b47f918d90c1d194 to before 35dbac8c328d6afe937cd45ecd41d209d0b9f8b8` (git)
  - affected: `c1eb537bf4560b3ad4df606c266c665624f3b502 to before 35488799b0ab6e4327f82e1d9209a60805665b37` (git)
  - affected: `c1eb537bf4560b3ad4df606c266c665624f3b502 to before 9a5dd61151399ad5a5d69aad28ab164734c1e3bc` (git)
  - affected: `e78308a6dcab1e53b38b8dd952e69c515cd324d7` (git)
  - affected: `2a0fc63f1f4fccfeb367d0c57b8a243cec60c26c` (git)
  - affected: `6.6.24 to before 6.6.59` (semver)
  - affected: `6.7.12 to before 6.8` (semver)
  - affected: `6.8.3 to before 6.9` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.9`
  - unaffected: `before 6.9` (semver)
  - unaffected: `6.6.59 to 6.6.*, inclusive` (semver)
  - unaffected: `6.11.6 to 6.11.*, inclusive` (semver)
  - unaffected: `6.12 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 12th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 5 Nov 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-50120](https://www.cve.org/CVERecord?id=CVE-2024-50120)
- [NVD: CVE-2024-50120](https://nvd.nist.gov/vuln/detail/CVE-2024-50120)

### References from the CNA

- <https://git.kernel.org/stable/c/35dbac8c328d6afe937cd45ecd41d209d0b9f8b8>
- <https://git.kernel.org/stable/c/35488799b0ab6e4327f82e1d9209a60805665b37>
- <https://git.kernel.org/stable/c/9a5dd61151399ad5a5d69aad28ab164734c1e3bc>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-50120>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-50120/>. Everything for agents: <https://agentprime.io/llms.txt>.
