Use-After-Free in Kernel
Summary
Vulnerability in Kernel (CVE-2025-39776). Successful exploitation can lead to full system takeover. Mitigation: upgrade to 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4 or later.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2025-39776 has been found in Kernel.
Successful exploitation can lead to full system takeover. CVSS score: 7.0/10.
What to do: upgrade Kernel to 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4 or later.
If unsure, ask your IT team or search "Kernel CVE-2025-39776" on the vendor's site.
CVE-2025-39776 (Kernel) — CWE-416 / CVSS v3 7.0
Attack vector: local / no user interaction
Patched: 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Use-after-free (CWE-416) exists in Kernel.
Check the vendor advisory for the affected versions of Kernel.
Severity: High (CVSS 7.0/10). Successful exploitation can lead to full system takeover.
Update to 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Kernel' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'Kernel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Kernelを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade Kernel to 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4ステージング環境で 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxKernel |
≥ 5.15.0, < 5.15.190→ 5.15.190 ≥ 5.16.0, < 6.1.149→ 6.1.149 ≥ 6.2.0, < 6.6.103→ 6.6.103 ≥ 6.7.0, < 6.12.44→ 6.12.44 ≥ 6.13.0, < 6.16.4→ 6.16.4 |
5.15.190 6.1.149 6.6.103 6.12.44 6.16.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2025-39776 linux-lts Fix available
- Debian DEBIAN-CVE-2025-39776 linux-6.1, linux Fix available
- Ubuntu UBUNTU-CVE-2025-39776 linux-xilinx-zynqmp, linux-xilinx, linux-riscv-6.8 +46 more Fix available
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
mm/debug_vm_pgtable: clear page table entries at destroy_args()
The mm/debug_vm_pagetable test allocates manually page table entries for
the tests it runs, using also its manually allocated mm_struct. That in
itself is ok, but when it exits, at destroy_args() it fails to clear those
entries with the *_clear functions.
The problem is that leaves stale entries. If another process allocates an
mm_struct with a pgd at the same address, it may end up running into the
stale entry. This is happening in practice on a debug kernel with
CONFIG_DEBUG_VM_PGTABLE=y, for example this is the output with some extra
debugging I added (it prints a warning trace if pgtables_bytes goes
negative, in addition to the warning at check_mm() function):
[ 2.539353] debug_vm_pgtable: [get_random_vaddr ]: random_vaddr is 0x7ea247140000
[ 2.539366] kmem_cache info
[ 2.539374] kmem_cachep 0x000000002ce82385 - freelist 0x0000000000000000 - offset 0x508
[ 2.539447] debug_vm_pgtable: [init_args ]: args->mm is 0x000000002267cc9e
(...)
[ 2.552800] WARNING: CPU: 5 PID: 116 at include/linux/mm.h:2841 free_pud_range+0x8bc/0x8d0
[ 2.552816] Modules linked in:
[ 2.552843] CPU: 5 UID: 0 PID: 116 Comm: modprobe Not tainted 6.12.0-105.debug_vm2.el10.ppc64le+debug #1 VOLUNTARY
[ 2.552859] Hardware name: IBM,9009-41A POWER9 (architected) 0x4e0202 0xf000005 of:IBM,FW910.00 (VL910_062) hv:phyp pSeries
[…
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web lists.debian.org
- web cert-portal.siemens.com
- web github.com