CVE-2026-143053: gpiolib: synchronize updates of descriptor labels

Published Dec 3, 2026
·
Updated

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

gpiolib: synchronize updates of descriptor labels

descsetlabel() swaps desc->label with rcureplacepointer() but without any synchronization of concurrent updates. The swap is a plain read + write: two threads can observe the same old label and then call callscru() on the same SRCU head corrupting the state of the chain.

Add a spinlock to struct gpiodevice - we're using a single spinlock for all descriptors as using a per-descriptor lock would unnecessarily bloat the size of the desc array with very little chance and no consequences of contention - and use it to serialize the pointer update.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Add a single spinlock to struct gpio_device and use it to serialize descriptor label pointer updates in desc_set_label().

Event History

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

Frequently Asked Questions

1

What conditions are required to trigger this issue?

Concurrent updates to GPIO descriptor labels are required. Two threads must race while replacing the same descriptor label, allowing both to act on the same old label and corrupt the SRCU callback chain state.

2

Which systems are realistically exposed?

Linux kernel systems that use gpiolib and perform concurrent GPIO descriptor label updates are exposed to the described race. The provided information does not identify specific kernel versions, configurations, or affected hardware platforms.

3

What can be done if an update cannot be applied immediately?

Avoid or serialize concurrent updates to GPIO descriptor labels where operationally possible. The resolved implementation serializes label pointer updates with a spinlock in the GPIO device structure.

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