CVEvulnerability

CVE-2024-50120

5.5 MEDIUM Published 2024-11-05 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-11-05
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Affected configurations

• linux linux kernel (>= 6.6.24 < 6.6.59) • linux linux kernel (>= 6.7.12 < 6.8) • linux linux kernel (>= 6.8.3 < 6.11.6) • linux linux kernel 6.12

References