{"id":"CVE-2026-143053","summary":"gpiolib: synchronize updates of descriptor labels","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpiolib: synchronize updates of descriptor labels\n\ndesc_set_label() swaps desc-\u003elabel with rcu_replace_pointer() but\nwithout any synchronization of concurrent updates. The swap is a plain\nread + write: two threads can observe the same old label and then call\ncall_scru() on the same SRCU head corrupting the state of the chain.\n\nAdd a spinlock to struct gpio_device - we're using a single spinlock for\nall descriptors as using a per-descriptor lock would unnecessarily bloat\nthe size of the desc array with very little chance and no consequences of\ncontention - and use it to serialize the pointer update.","modified":"2026-12-03T11:01:15.262253356Z","published":"2026-12-03T09:18:30.371Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143053.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82028344caeed2ea3536708906adee02e472633d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1c8e662cd14db2f3ae98fc224f64f3cc7adaa11"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143053.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143053"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6"},{"fixed":"d1c8e662cd14db2f3ae98fc224f64f3cc7adaa11"},{"fixed":"82028344caeed2ea3536708906adee02e472633d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143053.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143053.json"}}],"schema_version":"1.9.2"}