VYPR
High severity7.8NVD Advisory· Published Jun 18, 2025· Updated Jun 17, 2026

CVE-2025-38076

CVE-2025-38076

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

11
  • Linux/Kernel10 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 9 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.13,<6.14.9
    • cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.15:rc7:*:*:*:*:*:*
    • (no CPE)
    • (no CPE)range: 6.13
  • osv-coords
    Range: >= 6.13.0, < 6.14.9

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.