CVE-2026-142956: iio: trigger: Return an error when the trigger has no free irq

Published Dec 3, 2026
·
Updated

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

iio: trigger: Return an error when the trigger has no free irq

iiotriggerattachpollfunc() prints an error when all CONFIGIIOCONSUMERSPERTRIGGER irqs of the trigger are in use, but returns 0. The buffer of the extra consumer is enabled without a poll function.

Disabling that buffer calls clearbit() with a negative bit number and drops a module reference for the second time. On arm and arm64 the clearbit() goes about 512 MB past the pool bitmap. That is an oops if the address is not mapped, and a bit cleared in unrelated memory if it is.

Return the error from iiotriggergetirq().

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel IIO trigger code, return the error from iio_trigger_get_irq() when the trigger has no free IRQ.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:16 AM
Data Sourced
via MITRE·09:16 AM
Description

Frequently Asked Questions

1

What condition is required to trigger the issue?

All CONFIG_IIO_CONSUMERS_PER_TRIGGER IRQs for an IIO trigger must already be in use, and an additional consumer buffer must then be enabled. The extra consumer is enabled without a poll function because the attach operation incorrectly returns success.

2

What are the likely effects on affected systems?

Disabling the extra consumer buffer calls clear_bit() with a negative bit number and drops a module reference a second time. On arm and arm64, this can access roughly 512 MB beyond the pool bitmap, causing an oops when unmapped or clearing a bit in unrelated memory when mapped.

3

How can this be mitigated before applying the fix?

Avoid configuring more than CONFIG_IIO_CONSUMERS_PER_TRIGGER consumers on the same IIO trigger. Do not enable an additional buffer once all trigger IRQ slots are in use.

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