CVE-2026-139770: dlm: validate lock modes in recovery messages

Published Nov 30, 2026
·
Updated

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

dlm: validate lock modes in recovery messages

The DLM recovery path restores lock state from rcomlock messages received from remote nodes. The lock modes in these messages are copied directly into the local lkb state without validating that they are within the valid DLM lock mode range.

The rest of the DLM code assumes that lkbrqmode and lkbgrmode contain valid lock modes. In particular, LVB callback handling in dlmmayskipcallback() uses lock modes as indexes into the dlmlvboperations array:

dlmlvboperations[prevmode + 1][mode + 1]

An invalid lock mode received during recovery could therefore result in an out-of-bounds read during subsequent LVB callback processing.

Validate rlrqmode and rlgrmode before storing them into the local LKB state. This preserves the lock mode invariant required by the rest of the DLM code.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203