Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-139797

ocfs2/cluster: hold a reference on the heartbeat thread

Products / packages Linux

Published

Share

Severity and exploitation

Not in CISA KEVNo CVSS score

KEV coverage does not rule out exploitation.

KEV checked 30/11/2026, 22:55:31 UTC

Severity

unknown

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Fix status not established

No structured fix or guidance is available here. Check the latest publisher advisory.

What this means

The Linux kernel's ocfs2/cluster is vulnerable due to a use-after-free bug in the heartbeat thread. Affected versions include various git commits and semver versions. The vulnerability may cause a slab-use-after-free error.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

Linux · Linux

Linux

12 ranges

Compare with this publisher’s ranges. This does not inspect your installation.

affected

d64708cc119db01fbc55017ee6e987b680ebd59c → before d8db249281cc185ad7d25051c85b3dcc3a697bee

git versions

8e5cb90f212fda9f6cd29915a1ed74353108ceb3 → before 4d1f1994f2aba4a4851c8fbea7f2c12a7c27164d

git versions

8abb2b7c60d2b2c0f40606048c873096c03874d2 → before db6ad77a25a168756be394806bd65d8a9d267fc4

git versions

688bc88e2046dd6ce81ce18079b5254cb8dadc0e → before 209d372db6827617329f7129253044d0fcd854bb

git versions

688bc88e2046dd6ce81ce18079b5254cb8dadc0e → before aa2e38aabaae87236290e486a2b77cfa3adfbebe

git versions

d429482a67df16a30afaf9a3f1fe239fe73b44de

git versions

70d7bb7a0be033e5ebe8a2c48974692b1318891c

git versions

6.6.160 → before 6.6.163

semver versions

6.12.110 → before 6.12.119

semver versions

6.18.52 → before 6.18.65

semver versions

6.1.191 → before 6.2

semver versions

7.2.6 → before 7.3

semver versions

unaffected

unknown

Other versions: unaffected

Linux · Linux

Linux

7 ranges

Compare with this publisher’s ranges. This does not inspect your installation.

affected

7.3

unaffected

0 → before 7.3

semver versions

6.6.163 → through 6.6.*

semver versions

6.12.119 → through 6.12.*

semver versions

6.18.65 → through 6.18.*

semver versions

7.3.6 → through 7.3.*

semver versions

7.4-rc1 → through *

original_commit_for_fix versions

unknown

Other versions: affected

Automatic dependency matching is unavailable for this record. Use the product evidence and publisher’s instructions to check your installation.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher description

In the Linux kernel, the following vulnerability has been resolved:

ocfs2/cluster: hold a reference on the heartbeat thread

Since commit 688bc88e2046 ("ocfs2/cluster: keep heartbeat local node stable"), o2hb_thread() leaves its loop and returns when the local node changes, for example after "echo 0 > node/<name>/local". The thread was started with kthread_run() and nothing holds a reference to its task_struct, so the task is freed once it exits, while reg->hr_task still points to it.

Reading the region's pid attribute then reads the freed task, and removing the region calls kthread_stop() on it:

BUG: KASAN: slab-use-after-free in o2hb_region_pid_show+0xb3/0xc0 refcount_t: addition on 0; use-after-free. Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:kthread_stop+0xb1/0x390

The thread could already return by itself before, when heartbeat start was aborted or on an unclean stop, but the local node change makes it reachable from userspace at any time.

Create the thread, take a reference on it and only then wake it, so the reference cannot race with the thread exiting. Drop it with kthread_stop_put().

References

5 sources

Inside the record

Evidence available

Package identity · not supplied
Version evidence
Remediation guidance · not supplied
Weakness classification · not supplied
Additional publishers · not supplied

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-139797

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Environment requirements

These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.

Linux · platform conditions

Any condition may hold

Vulnerable product

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

From (inclusive): 6.6.160

Before: 6.6.163

Vulnerable product

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

From (inclusive): 6.12.110

Before: 6.12.119

Vulnerable product

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

From (inclusive): 6.18.52

Before: 6.18.65

Vulnerable product

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

From (inclusive): 7.3

Before: 7.3.6

Vulnerable product

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

From (inclusive): 7.3

Before: 7.4-rc1

Vulnerable product

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

From (inclusive): 6.1.191

Vulnerable product

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

From (inclusive): 7.2.6

Applicability preview
[
  {
    "nodes": [
      {
        "operator": "OR",
        "negate": false,
        "cpeMatch": [
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "6.6.160",
            "versionEndExcluding": "6.6.163"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "6.12.110",
            "versionEndExcluding": "6.12.119"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "6.18.52",
            "versionEndExcluding": "6.18.65"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "7.3",
            "versionEndExcluding": "7.3.6"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "7.3",
            "versionEndExcluding": "7.4-rc1"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "6.1.191"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "7.2.6"
          }
        ]
      }
    ]
  }
]
Contributing organizations · 1
Linux

Assigning organization

2026-11-30

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.

unknown
CVE-2026-139800

9p/xen: drain response work after unbinding IRQ

In the Linux kernel, the following vulnerability has been resolved:

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

Linux · Linux / Linux · Linux
unknown
CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

In the Linux kernel, the following vulnerability has been resolved:

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

Linux · Linux / Linux · Linux
unknown
CVE-2026-139798

mm: do not unintentionally overwrite atomic VMA flags

In the Linux kernel, the following vulnerability has been resolved:

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

Linux · Linux / Linux · Linux
unknown
CVE-2026-139795

net: mana: Add support to process throttled EQEs

In the Linux kernel, the following vulnerability has been resolved:

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

Linux · Linux / Linux · Linux