Missing error return in Linux kernel IIO trigger attach
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 6 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
The Linux kernel IIO trigger code is affected in several branches, from 3.2.82 before 3.3 and from 4.7 onward. When all consumer IRQs of a trigger are in use, iio_trigger_attach_poll_func() prints an error but returns 0, so an extra buffer is enabled without a poll function. Disabling that buffer clears a bit with a negative number and drops a module reference twice, which can crash the kernel or corrupt unrelated memory.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: iio: trigger: Return an error when the trigger has no free irq iio_trigger_attach_poll_func() prints an error when all CONFIG_IIO_CONSUMERS_PER_TRIGGER 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 clear_bit() with a negative bit number and drops a module reference for the second time. On arm and arm64 the clear_bit() 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 iio_trigger_get_irq().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.2.82 to before 3.3; 3.10.103 to before 3.11; 3.12.63 to before 3.13; 3.14.74 to before 3.15; 3.16.37 to before 3.17; 4.1.31 to before 4.2; 4.4.16 to before 4.5; 4.6.5 to before 4.7 | 3.3, 3.11, 3.13, 3.15, 3.17, 4.2, 4.5, 4.7 | Patch available | CNA |
| Linux | Linux | 4.7 and later | 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc4 | Patch available | CNA |
- Linux VendorLinux Affected 3.2.82 to before 3.3; 3.10.103 to before 3.11; 3.12.63 to before 3.13; 3.14.74 to before 3.15; 3.16.37 to before 3.17; 4.1.31 to before 4.2; 4.4.16 to before 4.5; 4.6.5 to before 4.7 Fixed in 3.3, 3.11, 3.13, 3.15, 3.17, 4.2, 4.5, 4.7 Patch available CNA
- Linux VendorLinux Affected 4.7 and later Fixed in 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc4 Patch available CNA
Remediation
Fixed Linux kernel versions are 3.3, 3.11, 3.13, 3.15, 3.17, 4.2, 4.5, 4.7, 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7 and 7.4-rc4. Red Hat Enterprise Linux 7, 8, 9 and 10 and Red Hat OpenShift Container Platform 4 and 5 are affected, and Red Hat has no fix plan available for them.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA Linux (Linux) Fixed in 3.3, 3.11, 3.13, 3.15, 3.17, 4.2, 4.5, 4.7
- Fix · CNA Linux (Linux) Fixed in 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc4
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-12-03 Threatist record created from CVE-2026-142956
- 2026-12-03 Alias added: GHSA-c3rr-phff-p7m5
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
References
Other 6
- https://git.kernel.org/stable/c/5b3594b6b51d0438ed0ae288a805c84937957bbf
- https://git.kernel.org/stable/c/56ea28f8252dfb8db4c49a6f662aacf274f307af
- https://git.kernel.org/stable/c/0ee790d688606c5afae55afd083f5264e0d489d4
- https://git.kernel.org/stable/c/c90eab7a4c252a0f3eafeb666dce0f4c93b9f88f
- https://git.kernel.org/stable/c/8622258bb57e2bbd987b4a84ec6a0efbe9585c67
- https://git.kernel.org/stable/c/dff701806ab6252f6a0fccba880c47cd09602625
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-142956 · CVE Program
- CVE-2026-142956 · NVD
- FIRST EPSS
- GHSA-c3rr-phff-p7m5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-142956 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences