Skip to main content
CVE Radar

CVE-2026-139796

CVE-2026-139796 — ocfs2/heartbeat: serialize concurrent writes to a region's dev attribute

In the Linux kernel, the following vulnerability has been resolved: ocfs2/heartbeat: serialize concurrent writes to a region's dev attribute o2hb_region_dev_store() checks reg->hr_bdev_file to see if the region is already started, but nothing stops two writers from doing that at the same time. configfs only serializes writes through the same open file, so two processes that each open the dev attribute can both get past the check: A: hr_bdev_file is NULL, opens file A, sets hr_bdev_file = A B: hr_bdev_file is NULL, opens file B, sets hr_bdev_file = B A: start fails, fput(hr_bdev_file) drops B, sets it to NULL B: start fails, fput(NULL) Both calls also use the same hr_slots, hr_slot_data and hr_tmp_block, so the error paths can free the slot data twice. syzbot hit the fput(NULL) with an unbound loop device, where every start fails with -EIO. With four threads doing the same thing on a KASAN kernel I get both crashes within a second: BUG: KASAN: double-free in o2hb_unmap_slot_data+0x14d/0x2f0 BUG: kernel NULL pointer dereference, address: 0000000000000158 Add a mutex to the region and hold it in dev_store(), in the block_bytes, start_block and blocks stores, and in dev_show(), since they all look at hr_bdev_file. dev_store() cleans up with goto, so it takes the mutex in a small wrapper rather than with guard(). The mutex is dropped while dev_store() waits for the heartbeat to become steady, which takes seconds, so a read of dev doesn't stall behind a start. hr_bdev_file is already set at that point, so other writers still get -EINVAL, and the cleanup after the wait retakes the mutex. With the patch the same test ran for 10 minutes with lockdep on and nothing was reported. So did a second one, with a working loop device, that interrupts starts during the wait while other threads read and write the attributes.

Published Updated Sources: NVD, Linux (CNA), GitHub

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Unreported

no source claims exploitation

EPSS

n/a

FIRST has not published a score

Affects

Linux

18 products listed

CVSS base

Unscored

no source published a base score

Remediation

The vendor's own words where we have them.

Upgrade Linux to a fixed release (0 to < 2.6.16). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.

First 24 hours

Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.

  • Identify exposed assets running affected vendor/product/version combinations.
  • Prioritize based on EPSS, PoC availability, and external exposure.
  • Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.

Affected scope

Vendor, product and version as the advisories word them.

Affected vendors, products and versions
VendorProductVersionsStatus
LinuxLinuxa7f6a5fb4bde142b622706e2006ba33f793e13edVulnerable
LinuxLinuxa7f6a5fb4bde142b622706e2006ba33f793e13ed to < 9b153aeca9b4cdc0d220db0871ea2f6d3b82ea81Vulnerable
LinuxLinuxa7f6a5fb4bde142b622706e2006ba33f793e13ed to < 7e21341daa3f032901a026adfb5195c6e93d6db3Vulnerable
LinuxLinuxa7f6a5fb4bde142b622706e2006ba33f793e13ed to < 6479a6201fab97c5a4414f68d8a60deba747101fVulnerable
LinuxLinuxa7f6a5fb4bde142b622706e2006ba33f793e13ed to < 34d005f236ec2fe6e3aea80c7070f28261b63fd3Vulnerable
LinuxLinuxa7f6a5fb4bde142b622706e2006ba33f793e13ed to < 2f90a8c3433854ab065d82326aa6e186a70b5b0dVulnerable
LinuxLinuxa7f6a5fb4bde142b622706e2006ba33f793e13ed to < 0edd3a7cd5185cbb616316731c3c5dd0e0442b4eVulnerable
LinuxLinuxa7f6a5fb4bde142b622706e2006ba33f793e13ed to < 0a8f258c0f012314c36b9e4818cdc0178c68f891Vulnerable
LinuxLinux2.6.16Vulnerable
LinuxLinux0 to < 2.6.16Patched
LinuxLinux5.10.275 to <= 5.10.*Patched
LinuxLinux5.15.226 to <= 5.15.*Patched

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Search application, proxy, and WAF logs for requests touching /heartbeat, /0x2f0.

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Initial · CVE published

    Nov 30, 2026 · NVD

References

8 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1

What should defenders know first?

CVE-2026-139796 is ocfs2/heartbeat: serialize concurrent writes to a region's dev attribute, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-139796. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-139796. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.