CVE-2026-98669 PUBLISHED

iio: buffer: serialize buffer teardown with mode claims

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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 info_exist_lock followed by mlock in iio_update_buffers().

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

Take mlock in iio_disable_all_buffers() so that unregister honors the mode-claim lifetime guarantee. The info_exist_lock -> mlock ordering matches iio_update_buffers().

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0a8565425afd8ba0e1a0ea73e21da119ee6dacea to 89f3852a28fcf7bab599280cb082baa0675536db (excl.)
  • affected from 0a8565425afd8ba0e1a0ea73e21da119ee6dacea to b466db9e68b4741af85f6c017e2bb0a2f025053f (excl.)
  • affected from 0a8565425afd8ba0e1a0ea73e21da119ee6dacea to e63188d77e10c0951bf67da6c295f768fd1abf4b (excl.)
  • affected from 0a8565425afd8ba0e1a0ea73e21da119ee6dacea to 84bb0fc46ccf6a545b8fdf57cda83770186ed8dd (excl.)
  • Version a9c471892d75847671a246619c2148578f22bbc6 is affected
  • Version 7bca0af538a49dacb1470f233be0676bdc09605b is affected
  • affected from 5.15.137 to 5.16 (excl.)
  • affected from 6.1.60 to 6.2 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.2 is affected
  • unaffected from 0 to 6.2 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References