2084AI Security Observatory

CVE

CVE-2025-38076

CVE-2025-38076HIGH 7.8EPSS 9%

CNA description

In the Linux kernel, the following vulnerability has been resolved: alloc_tag: allocate percpu counters for module tags dynamically When a module gets unloaded it checks whether any of its tags are still in use and if so, we keep the memory containing module's allocation tags alive until all tags are unused. However percpu counters referenced by the tags are freed by free_module(). This will lead to UAF if the memory allocated by a module is accessed after module was unloaded. To fix this we allocate percpu counters for module allocation tags dynamically and we keep it alive for tags which are still in use after module unloading. This also removes the requirement of a larger PERCPU_MODULE_RESERVE when memory allocation profiling is enabled because percpu memory for counters does not need to be reserved anymore.

Affected versions

All Linux kernel vulnerabilities →

  • 6.15-rc7This version only
  • 6.15-rc6This version only
  • 6.15-rc5This version only
  • 6.15-rc4This version only
  • 6.15-rc3This version only
  • 6.15-rc2This version only
  • 6.15-rc1This version only
  • ≥ 6.13, < 6.14.9Fixed in 6.14.9

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.