Skip to main content
Network Thinking Solutions Logo

CVE-2024-50120

Linux kernel: smb: client: Handle kstrdup failures for passwords

All CVEs
CVE-2024-50120Published 11/5/2024

Linux kernel: smb: client: Handle kstrdup failures for passwords

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
11/5/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.6.24, < 6.6.59

Verify advisory

Source
linux kernel
linux
≥ 6.7.12, < 6.8

Verify advisory

Source
linux kernel
linux
≥ 6.8.3, < 6.11.6

Verify advisory

Source
linux kernel
linux
6.12

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 7e8cffa4f85e6839335d75e6b47f918d90c1d194, < 35dbac8c328d6afe937cd45ecd41d209d0b9f8b8

Verify advisory

Source
Linux
Linux
≥ c1eb537bf4560b3ad4df606c266c665624f3b502, < 35488799b0ab6e4327f82e1d9209a60805665b37

Verify advisory

Source
Linux
Linux
≥ c1eb537bf4560b3ad4df606c266c665624f3b502, < 9a5dd61151399ad5a5d69aad28ab164734c1e3bc

Verify advisory

Source
Linux
Linux
e78308a6dcab1e53b38b8dd952e69c515cd324d7

Verify advisory

Source
Linux
Linux
2a0fc63f1f4fccfeb367d0c57b8a243cec60c26c

Verify advisory

Source
Linux
Linux
≥ 6.6.24, < 6.6.59

Verify advisory

Source
Linux
Linux
≥ 6.7.12, < 6.8

Verify advisory

Source
Linux
Linux
≥ 6.8.3, < 6.9

Verify advisory

Source
Linux
Linux
6.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.