cvelo
P4 · InfoEPSS 0.3%

gpiolib: synchronize updates of descriptor labels

  • CVE-2026-143053
  • GHSA-7wj5-r55g-27pc
  • EUVD-2026-142670

Description

In the Linux kernel, the following vulnerability has been resolved: gpiolib: synchronize updates of descriptor labels desc_set_label() swaps desc->label with rcu_replace_pointer() 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 call_scru() on the same SRCU head corrupting the state of the chain. Add a spinlock to struct gpio_device - 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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.9none stated
    before 6.9: not affectednone stated
    from 7.3.7 up to 7.3.*: not affectednone stated
    from 7.4-rc3 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.