{"id":"CVE-2026-143053","state":"PUBLISHED","title":"gpiolib: synchronize updates of descriptor labels","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpiolib: synchronize updates of descriptor labels\n\ndesc_set_label() swaps desc->label 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.","publishedAt":"2026-12-03T09:18:30.371Z","updatedAt":"2026-12-03T09:18:30.371Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6","status":"affected","lessThan":"d1c8e662cd14db2f3ae98fc224f64f3cc7adaa11","versionType":"git"},{"version":"1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6","status":"affected","lessThan":"82028344caeed2ea3536708906adee02e472633d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpiolib.c","drivers/gpio/gpiolib.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpiolib.c","drivers/gpio/gpiolib.h"]}],"references":["https://git.kernel.org/stable/c/d1c8e662cd14db2f3ae98fc224f64f3cc7adaa11","https://git.kernel.org/stable/c/82028344caeed2ea3536708906adee02e472633d"],"weaknesses":[],"ingestedAt":"2026-12-03T09:28:04.553Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143053.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143053","state":"PUBLISHED","datePublished":"2026-12-03T09:18:30.371Z","dateUpdated":"2026-12-03T09:18:30.371Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.345Z"},"containers":{"cna":{"title":"gpiolib: synchronize updates of descriptor labels","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpiolib: synchronize updates of descriptor labels\n\ndesc_set_label() swaps desc->label 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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6","status":"affected","lessThan":"d1c8e662cd14db2f3ae98fc224f64f3cc7adaa11","versionType":"git"},{"version":"1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6","status":"affected","lessThan":"82028344caeed2ea3536708906adee02e472633d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpiolib.c","drivers/gpio/gpiolib.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpiolib.c","drivers/gpio/gpiolib.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/d1c8e662cd14db2f3ae98fc224f64f3cc7adaa11"},{"url":"https://git.kernel.org/stable/c/82028344caeed2ea3536708906adee02e472633d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:18:30.371Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}