CVE-2024-50152
MediumIn the Linux kernel, the following vulnerability has been resolved: smb: client: fix possible double free in smb2_set_ea() Clang static checker(scan-build) warning: fs/smb/client/smb2ops.c:1304:2: Attempt to free released memory. 1304 | kfree(ea); | ^~~~~~~~~ There is a double free in such case: 'ea is initialized to NULL' -> 'first successful memory allocation for ea' -> 'something failed, goto sea_exit' -> 'first memory release for ea' -> 'goto replay_again' -> 'second goto sea_exit before allocate memory for ea' -> 'second memory release for ea resulted in double free'. Re-initialie 'ea' to NULL near to the replay_again label, it can fix this double free problem.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-415CVE-2024-50152 is classified as CWE-415
See CWE-415 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
6.6.32,
6.8
and later are affected. Fixed in
6.6.59,
6.11.6,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-50152 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/19ebc1e6cab334a8193398d4152deb76019b5d34
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b1813c220b76f60b1727984794377c4aa849d4c1
-
PatchKernel patch commithttps://git.kernel.org/stable/c/c9f758ecf2562dfdd4adf12c22921b5de8366123
Frequently asked questions
-
What is CVE-2024-50152?
CVE-2024-50152 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.6.32 onward and has been patched in 6.6.59, 6.11.6 and 6.12. CVE-2024-50152 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50152?
CVE-2024-50152 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-50152?
Yes — CVE-2024-50152 has been patched. Fixed versions include 6.6.59, 6.11.6 and 6.12. If you are running Linux kernel 6.6.32 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50152 actively exploited?
No — CVE-2024-50152 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.