PoC Monitor
← All CVEs
CVE-2025-38076published 18 Jun 2025 09:33 UTCData: JSON · API

Linux

alloc_tag: allocate percpu counters for module tags dynamically

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by NVD · CWE-416
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 0db6f8d7820a4b788565dac8eed52bfc2c3216da, < 3cc733e6d96c938d2b82be96858a0ab900eb6fdc
  • >= 0db6f8d7820a4b788565dac8eed52bfc2c3216da, < 12ca42c237756182aad8ab04654c952765cb9061

Fixed in 3cc733e6d96c938d2b82be96858a0ab900eb6fdc, 12ca42c237756182aad8ab04654c952765cb9061

Linux Linux
  • 6.13

Fixed in 0, 6.14.9, 6.15

Mitigation

Upgrade Linux to 3cc733e6d96c938d2b82be96858a0ab900eb6fdc or 12ca42c237756182aad8ab04654c952765cb9061 or later.

Upgrade Linux to 0 or 6.14.9 or 6.15 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published18 Jun 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.