SecurityContext

CVE-2024-50088: Linux Kernel - Use After Free

  • Cve: CVE-2024-50088
  • Name: Linux Kernel - Use After Free
  • Description: 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.
  • Impact: Potential kernel crash or privilege escalation due to use-after-free vulnerability.
  • Remediation: Update to the latest Linux kernel version where the issue is fixed.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00214
  • Epss percentile: 0.11644
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-10-29T01:15:05Z
  • Age in days: 756
  • Modified at: 2026-06-17T08:03:33Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-50088
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-824Access of Uninitialized Pointer

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/12cf028381aa19bc38465341512c280256e8d82dPatch
https://git.kernel.org/stable/c/66691c6e2f18d2aa4b22ffb624b9bdc97e9979e4Patch
https://git.kernel.org/stable/c/a941f3d5b1469c60a7e70e775584f110b47e0d16Patch
https://git.kernel.org/stable/c/e11ce03b58743bf1e096c48fcaa7e6f08eb75dfaPatch
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.12 rc1; = 6.12 rc2; = 6.12 rc3; >= 6.7, < 6.11.5; >= 6.2, < 6.6.58; >= 6.1.57, < 6.1.114nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports