CVE-2024-50088

High

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix uninitialized pointer free in add_inode_ref() The add_inode_ref() function does not initialize the "name" struct when it is declared. If any of the following calls to "read_one_inode() returns NULL, dir = read_one_inode(root, parent_objectid); if (!dir) { ret = -ENOENT; goto out; } inode = read_one_inode(root, inode_objectid); if (!inode) { ret = -EIO; goto out; } then "name.name" would be freed on "out" before being initialized. out: ... kfree(name.name); This issue was reported by Coverity with CID 1526744.

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

CVSS 3.1 score

7.8

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

Weakness type

CWE-824

CVE-2024-50088 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-50088 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-50088?

    CVE-2024-50088 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 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-50088 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-50088?

    CVE-2024-50088 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2024-50088?

    Yes — CVE-2024-50088 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-50088 actively exploited?

    No — CVE-2024-50088 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 →