CVE-2024-50087
MediumIn the Linux kernel, the following vulnerability has been resolved: btrfs: fix uninitialized pointer free on read_alloc_one_name() error The function read_alloc_one_name() does not initialize the name field of the passed fscrypt_str struct if kmalloc fails to allocate the corresponding buffer. Thus, it is not guaranteed that fscrypt_str.name is initialized when freeing it. This is a follow-up to the linked patch that fixes the remaining instances of the bug introduced by commit e43eec81c516 ("btrfs: use struct qstr instead of name and namelen pairs").
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-824CVE-2024-50087 is a Access of Uninitialized Pointer vulnerability
What is Access of Uninitialized Pointer?
The product accesses or uses a pointer that has not been initialised, leading to undefined behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.1.57,
6.2
and later are affected. Fixed in
6.1.114,
6.6.58,
6.11.5,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-50087 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/1ec28de5e476913ae51f909660b4447eddb28838
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2ab5e243c2266c841e0f6904fad1514b18eaf510
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577f
Frequently asked questions
-
What is CVE-2024-50087?
CVE-2024-50087 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Access of Uninitialized Pointer flaw (CWE-824) . It affects Linux kernel versions from 6.1.57 onward and has been patched in 6.1.114, 6.6.58, 6.11.5 and others. CVE-2024-50087 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50087?
CVE-2024-50087 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-50087?
Yes — CVE-2024-50087 has been patched. Fixed versions include 6.1.114, 6.6.58, 6.11.5 and others. If you are running Linux kernel 6.1.57 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50087 actively exploited?
No — CVE-2024-50087 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Access of Uninitialized Pointer (CWE-824)?
The product accesses or uses a pointer that has not been initialised, leading to undefined behaviour. View CWE-824 on MITRE CWE →