CVE-2026-89574: dm array: validate array block headers on read

Published Sep 11, 2026
·
Updated

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

dm array: validate array block headers on read

arrayblockcheck() validates blocknr and csum and nothing else, while nodecheck(), next to it, has bounded the structural fields since both were written. dmarraycursornext() takes its loop bound from the on-disk nrentries and elementat() is unguarded pointer arithmetic, so a count larger than the block holds keeps the cursor in one block while the index grows past it and the read walks off the dm-bufio buffer -- dmcacheloadmappings() drives it once per cache block at activation.

Check the header against itself: reject a zero valuesize, require maxentries to equal calcmaxentries() for that valuesize and block size, and require nrentries to fit. Equality rather than an upper bound, since a count below the real capacity trips BUGON() in fillablock() and trimablock(). Metadata dm-array writes satisfies all three.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 11, 2026
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
Description

Frequently Asked Questions

1

When is the affected code path exercised?

The path is exercised when dm_cache_load_mappings() runs during dm-cache activation, once for each cache block.

2

What metadata conditions indicate a problematic array block?

A problematic header can have a zero value_size, a max_entries value that does not equal the calculated capacity for its value_size and block size, or an nr_entries value that exceeds the block’s capacity.

3

What behavior can malformed metadata trigger before the fix?

An oversized on-disk nr_entries value can keep the cursor on one block while its index advances beyond that block, causing reads to walk off the dm-bufio buffer.

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