# CVE-2026-90302: ocfs2: synchronize heartbeat callbacks with o2net teardown

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:08:25.808Z
- **Modified:** 2026-10-19T09:19:24.177Z

## Who should check

- Anyone running Linux \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 7601db4c9d3bd9ab2482a863cb05204154d51ae8; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< fb61882e184ee5ca745806bc5b2a8483fa129bca; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< a03078a9a2a1c5e4a62f65d389c1f75f9898e21d; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< cbb4efc2f99d6a8dba09c96b10acad82da982cf9; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 8f96b78314cff0778a3466e49e5edbc1e459c95c; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< aee687a2fb36974dc37e4e0f5b03802067c6c4ec; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 073f51e39bed354452a057d38a4cc3952727c304; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 3e326f3bf16506873777444608e8b715aab74a7a
- Anyone running Linux 2.6.16

## Description

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

ocfs2: synchronize heartbeat callbacks with o2net teardown

Patch series "ocfs2: harden heartbeat teardown races".

This series fixes two OCFS2 heartbeat/o2net teardown races found by
KASAN.


This patch (of 2):

Heartbeat callbacks stay registered while configfs local-node teardown
enters o2net\_stop\_listening().  A node-down event can still run through
o2net\_disconnect\_node() and o2net\_set\_nn\_state() while teardown is
destroying o2net\_wq, so the later queue/flush operations can hit a dead
workqueue.  KASAN has caught this as a slab-use-after-free in
\_\_queue\_work() with the call chain:

KASAN slab-use-after-free in \_\_queue\_work+0x56/0xa90
Read of size 4
Call trace:
  dump\_stack\_lvl+0x66/0xa0
  print\_report+0xce/0x630
  \_\_queue\_work+0x56/0xa90
  srso\_alias\_return\_thunk+0x5/0xfbef5
  \_\_virt\_addr\_valid+0x19f/0x330
  kasan\_report+0xe0/0x110
  \_\_queue\_delayed\_work+0x58/0x1e0
  queue\_delayed\_work\_on+0xb4/0xc0
  o2net\_set\_nn\_state+0x467/0x840
  o2net\_disconnect\_node+0x7b/0xe0
  o2net\_hb\_node\_down\_cb+0x54/0x60
  o2hb\_run\_event\_list+0x236/0x2d0
  o2hb\_check\_slot+0xad4/0xbc0
  lock\_release+0xc8/0x290
  o2hb\_check\_slot+0x9ea/0xbc0
  trace\_hardirqs\_on+0x18/0x130
  o2hb\_do\_disk\_heartbeat+0x646/0xb30 (fs/ocfs2/cluster/heartbeat.c:1079)
  \_\_lock\_acquire+0x466/0x2260
  lockdep\_hardirqs\_on\_prepare+0xea/0x1a0
  ktime\_get\_with\_offset+0xe9/0x230
  o2hb\_thread+0x14e/0x770
  kthread+0x1ad/0x1f0
  ret\_from\_fork+0x3c9/0x540
  \_\_switch\_to+0x2e9/0x730
  ret\_from\_fork\_asm+0x1a/0x30
Allocated by task stack:
  kasan\_save\_stack+0x33/0x60
  kasan\_save\_track+0x14/0x30
  \_\_kasan\_kmalloc+0xaa/0xb0
  \_\_kmalloc\_noprof+0x292/0x760
  \_\_alloc\_workqueue+0x736/0xc60
  alloc\_workqueue\_noprof+0xb1/0x110
  o2net\_start\_listening+0xe5/0x430
  o2nm\_node\_local\_store+0x184/0x310
  configfs\_write\_iter+0x18a/0x210
  vfs\_write+0x469/0x810
  ksys\_write+0xd2/0x170
  do\_syscall\_64+0x115/0x6a0 (arch/x86/entry/syscall\_64.c:87)
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
Freed by task stack:
  kasan\_save\_stack+0x33/0x60
  kasan\_save\_track+0x14/0x30
  kasan\_save\_free\_info+0x3b/0x60
  \_\_kasan\_slab\_free+0x5f/0x80
  kfree+0x313/0x590
  rcu\_core+0x4f4/0x1320
  handle\_softirqs+0x156/0x660

queue\_delayed\_work\_on
o2net\_set\_nn\_state
o2net\_disconnect\_node
o2net\_hb\_node\_down\_cb
o2hb\_run\_event\_list

Keep heartbeat callbacks registered so quorum state still tracks node
state, but stop them from driving o2net reconnect/disconnect work once
local teardown starts. Mark the transport offline before destroying
o2net\_wq, wait for any in-flight heartbeat callback to finish, and delay
bring-up replay until the new local node is published through
o2nm\_this\_node().

The replay also has to stay serialized with heartbeat callback delivery.
Otherwise a live-node snapshot can be copied, a real hb\_down callback
can install -ENOTCONN for a peer, and the stale replay can call
o2net\_hb\_node\_up() for that same peer and queue reconnect work even
though heartbeat is already down.

The buggy scenario involves two paths, with each column showing the order
within that path:

local-node teardown:                 heartbeat node-down callback:
1. configfs local-off enters         1. o2hb\_run\_event\_list() invokes
   o2net\_stop\_listening().              o2net\_hb\_node\_down\_cb().
2. teardown heads for                2. the callback reaches
   destroy\_workqueue(o2net\_wq).         o2net\_disconnect\_node() and
                                        o2net\_set\_nn\_state().
3. teardown destroys and NULLs       3. the callback flushes or queues
   o2net\_wq.                            work through o2net\_wq.

## Affected and fixed versions

- Linux: \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 7601db4c9d3bd9ab2482a863cb05204154d51ae8; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< fb61882e184ee5ca745806bc5b2a8483fa129bca; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< a03078a9a2a1c5e4a62f65d389c1f75f9898e21d; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< cbb4efc2f99d6a8dba09c96b10acad82da982cf9; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 8f96b78314cff0778a3466e49e5edbc1e459c95c; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< aee687a2fb36974dc37e4e0f5b03802067c6c4ec; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 073f51e39bed354452a057d38a4cc3952727c304; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 3e326f3bf16506873777444608e8b715aab74a7a (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- Upgrade Linux to 3e326f3bf16506873777444608e8b715aab74a7a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90302. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90302.md
Affected: Linux >= 98211489d4147e41b11703e4245846d60b3acce4, < 7601db4c9d3bd9ab2482a863cb05204154d51ae8; >= 98211489d4147e41b11703e4245846d60b3acce4, < fb61882e184ee5ca745806bc5b2a8483fa129bca; >= 98211489d4147e41b11703e4245846d60b3acce4, < a03078a9a2a1c5e4a62f65d389c1f75f9898e21d; >= 98211489d4147e41b11703e…
Fixed in: Linux 7601db4c9d3bd9ab2482a863cb05204154d51ae8, Linux 8f96b78314cff0778a3466e49e5edbc1e459c95c, Linux 073f51e39bed354452a057d38a4cc3952727c304, Linux 3e326f3bf16506873777444608e8b715aab74a7a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90302 being exploited?

There is no confirmed exploitation: CVE-2026-90302 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90302?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90302?

Linux \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 7601db4c9d3bd9ab2482a863cb05204154d51ae8; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< fb61882e184ee5ca745806bc5b2a8483fa129bca; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< a03078a9a2a1c5e4a62f65d389c1f75f9898e21d; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< cbb4efc2f99d6a8dba09c96b10acad82da982cf9; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 8f96b78314cff0778a3466e49e5edbc1e459c95c; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< aee687a2fb36974dc37e4e0f5b03802067c6c4ec; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 073f51e39bed354452a057d38a4cc3952727c304; \>= 98211489d4147e41b11703e4245846d60b3acce4, \< 3e326f3bf16506873777444608e8b715aab74a7a; Linux 2.6.16.

### Is there a fix for CVE-2026-90302?

Yes. Fixed in Linux 7601db4c9d3bd9ab2482a863cb05204154d51ae8, Linux 8f96b78314cff0778a3466e49e5edbc1e459c95c, Linux 073f51e39bed354452a057d38a4cc3952727c304, Linux 3e326f3bf16506873777444608e8b715aab74a7a. Upgrade Linux to 3e326f3bf16506873777444608e8b715aab74a7a or later.

### How do I check if I'm affected by CVE-2026-90302?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/7601db4c9d3bd9ab2482a863cb05204154d51ae8>
- other: <https://git.kernel.org/stable/c/fb61882e184ee5ca745806bc5b2a8483fa129bca>
- other: <https://git.kernel.org/stable/c/a03078a9a2a1c5e4a62f65d389c1f75f9898e21d>
- other: <https://git.kernel.org/stable/c/cbb4efc2f99d6a8dba09c96b10acad82da982cf9>
- other: <https://git.kernel.org/stable/c/8f96b78314cff0778a3466e49e5edbc1e459c95c>
- other: <https://git.kernel.org/stable/c/aee687a2fb36974dc37e4e0f5b03802067c6c4ec>
- other: <https://git.kernel.org/stable/c/073f51e39bed354452a057d38a4cc3952727c304>
- other: <https://git.kernel.org/stable/c/3e326f3bf16506873777444608e8b715aab74a7a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90302>

HTML: <https://flawdb.com/CVE-2026-90302> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90302>
