CVE-2024-50088
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-50088 affects the Linux kernel's BTRFS file system implementation. The vulnerability was discovered in the add_inode_ref() function where a 'name' struct is not properly initialized when declared, potentially leading to an uninitialized pointer being freed. This issue was identified by Coverity (CID 1526744) and affects Linux kernel versions from 6.1.57 up to 6.11.5 (NVD).

Technical details

The vulnerability exists in the add_inode_ref() function within the BTRFS file system code. When the function encounters certain error conditions and returns NULL from read_one_inode() calls, it attempts to free name.name in the error handling path before the structure is properly initialized. The specific code path occurs when either dir = read_one_inode(root, parent_objectid) returns NULL (resulting in -ENOENT) or inode = read_one_inode(root, inode_objectid) returns NULL (resulting in -EIO). The CVSS v3.1 base score is 7.8 HIGH with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could lead to a potential use-after-free condition when accessing uninitialized memory, which could result in system crashes or potential privilege escalation in the Linux kernel (NVD).

Mitigation and workarounds

The issue has been fixed in the Linux kernel through a patch that properly initializes the 'name' struct with zeros at declaration time. The fix has been implemented in multiple kernel versions through commit 66691c6e2f18d2aa4b22ffb624b9bdc97e9979e4 and its backports. Users should update their Linux kernel to a patched version (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-internal
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management