ocfs2/cluster: keep heartbeat local node stable (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 11 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
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/ocfs2/cluster/heartbeat.c:1079) srso_alias_return_thunk+0x5/0xfbef5 __virt_addr_valid+0x188/0x2f0 kasan_report+0xe4/0x120 o2hb_do_disk_heartbeat+0x5/0xb30 (fs/ocfs2/cluster/heartbeat.c:1079) o2hb_thread+0x14e/0x770 kthread_affine_node+0x139/0x180 lockdep_hardirqs_on_prepare+0xda/0x190 trace_hardirqs_on+0x18/0x130 kthread+0x19d/0x1e0 ret_from_fork+0x37a/0x4d0 __switch_to+0x2d5/0x6f0 ret_from_fork_asm+0x1a/0x30
Références
- https://git.kernel.org/stable/c/d429482a67df16a30afaf9a3f1fe239fe73b44de
- https://git.kernel.org/stable/c/d64708cc119db01fbc55017ee6e987b680ebd59c
- https://git.kernel.org/stable/c/8e5cb90f212fda9f6cd29915a1ed74353108ceb3
- https://git.kernel.org/stable/c/8abb2b7c60d2b2c0f40606048c873096c03874d2
- https://git.kernel.org/stable/c/70d7bb7a0be033e5ebe8a2c48974692b1318891c
- https://git.kernel.org/stable/c/688bc88e2046dd6ce81ce18079b5254cb8dadc0e
Références européennes
- ENISA EUVD · EUVD-2026-81983
- GCVE · GCVE-0-2026-90322
Avis du CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ a7f6a5fb4bde142b622706e2006ba33f793e13ed < d429482a67df16a30afaf9a3f1fe239fe73b44de affectée : ≥ a7f6a5fb4bde142b622706e2006ba33f793e13ed < d64708cc119db01fbc55017ee6e987b680ebd59c affectée : ≥ a7f6a5fb4bde142b622706e2006ba33f793e13ed < 8e5cb90f212fda9f6cd29915a1ed74353108ceb3 affectée : ≥ a7f6a5fb4bde142b622706e2006ba33f793e13ed < 8abb2b7c60d2b2c0f40606048c873096c03874d2 affectée : ≥ a7f6a5fb4bde142b622706e2006ba33f793e13ed < 70d7bb7a0be033e5ebe8a2c48974692b1318891c affectée : ≥ a7f6a5fb4bde142b622706e2006ba33f793e13ed < 688bc88e2046dd6ce81ce18079b5254cb8dadc0e Autres versions : non affectée |
| Linux · Linux | affectée : 2.6.16 non affectée : ≥ 0 < 2.6.16 non affectée : ≥ 6.1.191 ≤ 6.1.* non affectée : ≥ 6.6.160 ≤ 6.6.* non affectée : ≥ 6.12.110 ≤ 6.12.* non affectée : ≥ 6.18.52 ≤ 6.18.* non affectée : ≥ 7.2.6 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |