CVE-2026-139797: Linux kernel · ocfs2/cluster: hold a reference on the heartbeat thread
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 2 Dec 2026, 18:37 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available that properly manages the reference counting of the heartbeat thread's task_struct to prevent use-after-free. Users should apply the updated Linux kernel versions that include this fix. No additional mitigation is indicated.
Description
A use-after-free vulnerability exists in the ocfs2 cluster heartbeat thread handling in the Linux kernel. The issue arises because the heartbeat thread's task_struct reference is not properly held, leading to potential access of freed memory when reading the region's pid attribute or stopping the region. This can cause kernel crashes (KASAN detected) due to use-after-free errors. The vulnerability is fixed by ensuring a reference is taken on the thread before it is woken and properly dropped with kthread_stop_put().
References
- ubuntu.com/security/CVE-2026-139797 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139797 (opens in a new tab)
- git.kernel.org/stable/c/aa2e38aabaae87236290e486a2b77cfa3adfbebe (opens in a new tab)
- git.kernel.org/stable/c/db6ad77a25a168756be394806bd65d8a9d267fc4 (opens in a new tab)
- git.kernel.org/stable/c/209d372db6827617329f7129253044d0fcd854bb (opens in a new tab)
- git.kernel.org/stable/c/d8db249281cc185ad7d25051c85b3dcc3a697bee (opens in a new tab)
- git.kernel.org/stable/c/4d1f1994f2aba4a4851c8fbea7f2c12a7c27164d (opens in a new tab)