CVE-2024-50087

Medium

In 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").

Package Linux Kernel
Published 2024-10-29
Last modified 2025-11-03
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-824

CVE-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.

Affected from
≥ 6.1.57 ≥ 6.2
Fixed in
✓ 6.1.114 6.1.x ✓ 6.6.58 6.6.x ✓ 6.11.5 6.11.x ✓ 6.12

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.

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 →