Bug 2323933 (CVE-2024-50120) - CVE-2024-50120 kernel: smb: client: Handle kstrdup failures for passwords
Summary: CVE-2024-50120 kernel: smb: client: Handle kstrdup failures for passwords
Keywords:
Status: NEW
Alias: CVE-2024-50120
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2324024
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-05 18:03 UTC by OSIDB Bzimport
Modified: 2025-05-13 08:32 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:6966 0 None None None 2025-05-13 08:32:48 UTC

Description OSIDB Bzimport 2024-11-05 18:03:08 UTC
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.

Comment 2 errata-xmlrpc 2025-05-13 08:32:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:6966 https://access.redhat.com/errata/RHSA-2025:6966


Note You need to log in before you can comment on or make changes to this bug.