ocfs2/cluster: keep heartbeat local node stable
In the Linux kernel, the following vulnerability has been resolved: ocfs2/cluster: keep heartbeat local node stable o2nm_node_local_store() handles local=0 by stopping o2net and setting cl_local_node to O2NM_INVALID_NODE_NUM, but it leaves cl_has_local set. That stale state makes o2nm_this_node() return 255, blocks a later local=1 attempt with -EBUSY, and can feed 255 to heartbeat users that call o2nm_this_node() dynamically. Clearing cl_has_local is required when the local node is reset. But heartbeat threads can still be running at that point. They pin the local node config item at startup, yet o2hb_do_disk_heartbeat() and thread teardown re-read o2nm_this_node() for the local slot and for o2nm_undepend_this_node(). Once local=0 has cleared the live local-node state, those dynamic reads return O2NM_MAX_NODES, which is also the invalid node number 255. Store the local node number in the heartbeat region when the region starts. Use that stable node for heartbeat slot writes/checks, negotiation messages, and the final configfs undepend. Stop the heartbeat loop when the current local node no longer matches the stored node, and clear cl_has_local together with cl_local_node in the local=0 path so nodemanager state matches node removal. Validation reproduced this kernel report: KASAN slab-out-of-bounds in o2hb_do_disk_heartbeat+0x372/0xb30 RIP: 0010:memset+0xf/0x20 Read of size 8 Call trace: dump_stack_lvl+0x66/0xa0 print_report+0xd0/0x630 o2hb_do_disk_heartbeat+0x372/0xb30 (fs/o
CVE-2026-90322
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90322
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "a7f6a5fb4bde142b622706e2006ba33f793e13ed",
"lessThan": "d64708cc119db01fbc55017ee6e987b680ebd59c",
"versionType": "git"
},
{
"status": "affected",
"version": "a7f6a5fb4bde142b622706e2006ba33f793e13ed",
"lessThan": "8e5cb90f212fda9f6cd29915a1ed74353108ceb3",
"versionType": "git"
},
{
"status": "affected",
"version": "a7f6a5fb4bde142b622706e2006ba33f793e13ed",
"lessThan": "8abb2b7c60d2b2c0f40606048c873096c03874d2",
"versionType": "git"
},
{
"status": "affected",
"version": "a7f6a5fb4bde142b622706e2006ba33f793e13ed",
"lessThan": "70d7bb7a0be033e5ebe8a2c48974692b1318891c",
"versionType": "git"
},
{
"status": "affected",
"version": "a7f6a5fb4bde142b622706e2006ba33f793e13ed",
"lessThan": "688bc88e2046dd6ce81ce18079b5254cb8dadc0e",
"versionType": "git"
}
],
"programFiles": [
"fs/ocfs2/cluster/heartbeat.c",
"fs/ocfs2/cluster/nodemanager.c",
"fs/ocfs2/cluster/nodemanager.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.16"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.16",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/ocfs2/cluster/heartbeat.c",
"fs/ocfs2/cluster/nodemanager.c",
"fs/ocfs2/cluster/nodemanager.h"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90322
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48661 · Revision 1
- Added to Heist Feed
- Publisher date