SecurityContext

CVE-2025-38269: Linux Kernel - Use After Free

  • Cve: CVE-2025-38269
  • Name: Linux Kernel - Use After Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: btrfs: exit after state insertion failure at btrfs_convert_extent_bit() If insert_state() state failed it returns an error pointer and we call extent_io_tree_panic() which will trigger a BUG() call. However if CONFIG_BUG is disabled, which is an uncommon and exotic scenario, then we fallthrough and call cache_state() which will dereference the error pointer, resulting in an invalid memory access. So jump to the 'out' label after calling extent_io_tree_panic(), it also makes the code more clear besides dealing with the exotic scenario where CONFIG_BUG is disabled.
  • Impact: Attackers can cause invalid memory access leading to system crash or denial of service.
  • Remediation: Update to the latest Linux kernel version with the fix applied.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirements: CONFIG_BUG must be disabled in the kernel configuration
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00192
  • Epss percentile: 0.08765
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-07-10T08:15:25Z
  • Age in days: 502
  • Modified at: 2026-06-17T09:16:31Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-38269
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/3bf179e36da917c5d9bec71c714573ed1649b7c1
https://git.kernel.org/stable/c/58c50f45e1821a04d61b62514f9bd34afe67c622
https://git.kernel.org/stable/c/8d9d32088e304e2bc444a3087cab0bbbd9951866

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.13, < 6.15.3; < 6.12.34nonvd/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