CVE-2026-98669: iio: buffer: serialize buffer teardown with mode claims

Published Oct 18, 2026
·
Updated

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

iio: buffer: serialize buffer teardown with mode claims

Buffer-mode claims hold mlock to guarantee that the device remains in buffer mode until the claim is released. Normal buffer updates take infoexistlock followed by mlock in iioupdatebuffers().

However, iiodeviceunregister() disables and deactivates all buffers without taking mlock. This can invalidate buffer state, including activescanmask, while a buffer-mode claim is held.

Take mlock in iiodisableallbuffers() so that unregister honors the mode-claim lifetime guarantee. The infoexistlock -> mlock ordering matches iioupdatebuffers().

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 18, 2026
CVE Published
via MITRE·03:45 PM
Data Sourced
via MITRE·03:45 PM
Description
Data Sourced
via NVD·04:17 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this race condition?

Systems using the Linux Industrial I/O buffer subsystem are relevant when a device can be unregistered while a buffer-mode claim remains held. The issue concerns buffer teardown and mode-claim lifetime handling.

2

What conditions are required for the issue to occur?

A buffer-mode claim must be active, and device unregistration must disable and deactivate buffers concurrently with that claim. The unsafe condition arises because teardown previously occurred without taking mlock, unlike normal buffer updates.

3

What change resolves the synchronization problem?

The fix takes mlock in iio_disable_all_buffers() during device unregistration. This serializes teardown with buffer-mode claims and preserves the established info_exist_lock followed by mlock locking order.

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