Skip to content
DayZeroHub
High Not yet writtenCVSS 8.8CVE-2026-99432

CVE-2026-99432: ocfs2/dlm: hold the lookup reference across convert AST enqueue

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99432: high-severity vulnerability (CVSS 8.8) in Linux Linux.

What happened

Original description from the source: In the Linux kernel, the following vulnerability has been resolved: ocfs2/dlm: hold the lookup reference across convert AST enqueue dlm_convert_lock_handler() drops the reference it took when it found the lock on res->granted at its leave label, one statement before it calls dlm_queue_ast(). dlm_free_dead_locks() takes res->spinlock and drops the list and base references, so a peer death landing in that gap leaves the handler's own put as the one that frees the lock, and __dlm_queue_ast() then reads lock->lockres from freed memory. The handler is registered next to dlm_create_lock_handler(), so a convert message buffered on a dying peer's socket arrives on the same o2net receive work that o2net_disconnect_node() does not wait for. The two can interleave as follows, with the reference counts as they are before this fix: Socket data-ready Node-down thread Receive worker ----------------- ---------------- -------------- o2net_data_ready() select sc under callback read lock o2net_disconnect_node() queue shutdown begin flush; new color queue sc_rx_work in the new color release callback lock shutdown socket flush returns read buffered convert_lock dlm_convert_lock_handler() find lock on res->granted dlm_lock_get() refs = 3 lock res->spinlock __dlmconvert_master() call_ast = 1 unlock res->spinlock DLM node-down cleanup lock res->spinlock dlm_free_dead_locks() unlink lock put list ref refs = 2 put base ref refs = 1 unlock res->spinlock dlm_lock_put() refs = 0 free lock dlm_queue_ast() __dlm_queue_ast() read lock->lockres (use-after-free) __dlmconvert_master() only moves the lock between lists, so the count entering the gap is base, list and lookup. Drop the lookup reference afte…

Why it matters

High severity, CVSS 8.8.

Affected products and versions

Linux Linux >= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < a57126a2f5a81232b3453fab8fd9f2f8fcf27017; Linux Linux >= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < 059d951ef87959435d6f1126ed7d2305dc836d45; Linux Linux >= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < c736487fc0b933238ca59ec976dbd628c6ba1bf7; Linux Linux >= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < 7b8a7bb21a478dc1f0212f99bbfa017f2ee566d0; Linux Linux >= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < ecc5b17b8d2b1f720262e991896da2c909154a4d; Linux Linux >= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < a3dd8d3af023837516d8715393acbaa7b252f6d7; Linux Linux >= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < 574aa7782c780b130463e1d7c0605a9e617880d1; Linux Linux >= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < 125fe08ff6cfa064e1212f586f01993ee45c0330; Linux Linux 2.6.25; Linux Linux < 2.6.25; Linux Linux 5.10.275 (fixed in 5.10.275); Linux Linux 5.15.226 (fixed in 5.15.226)

ProductVersionsFixed in
Linux Linux>= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < a57126a2f5a81232b3453fab8fd9f2f8fcf27017—
Linux Linux>= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < 059d951ef87959435d6f1126ed7d2305dc836d45—
Linux Linux>= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < c736487fc0b933238ca59ec976dbd628c6ba1bf7—
Linux Linux>= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < 7b8a7bb21a478dc1f0212f99bbfa017f2ee566d0—
Linux Linux>= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < ecc5b17b8d2b1f720262e991896da2c909154a4d—
Linux Linux>= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < a3dd8d3af023837516d8715393acbaa7b252f6d7—
Linux Linux>= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < 574aa7782c780b130463e1d7c0605a9e617880d1—
Linux Linux>= 2c5c54aca9d0263f81bd4886232835ba31f7635a, < 125fe08ff6cfa064e1212f586f01993ee45c0330—
Linux Linux2.6.25—
Linux Linux< 2.6.25—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1176.12.117
Linux Linux6.18.616.18.61
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Action recommended by the source

Upgrade to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1.

Fixed in: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.