{"id":"CVE-2026-23071","state":"PUBLISHED","title":"regmap: Fix race condition in hwspinlock irqsave routine","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nregmap: Fix race condition in hwspinlock irqsave routine\n\nPreviously, the address of the shared member '&map->spinlock_flags' was\npassed directly to 'hwspin_lock_timeout_irqsave'. This creates a race\ncondition where multiple contexts contending for the lock could overwrite\nthe shared flags variable, potentially corrupting the state for the\ncurrent lock owner.\n\nFix this by using a local stack variable 'flags' to store the IRQ state\ntemporarily.","publishedAt":"2026-02-04T16:07:51.603Z","updatedAt":"2026-10-19T18:25:29.039Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"766e243ae8c8b27087a4cc605752c0d5ee2daeab","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"f1e2fe26a51eca95b41420af76d22c2e613efd5e","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"24f31be6ad70537fd7706269d99c92cade465a09","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"4aab0ca0a0f7760e33edcb4e47576064d05128f5","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"c2d2cf710dc3ee1a69e00b4ed8de607a92a07889","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"4b58aac989c1e3fafb1c68a733811859df388250","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/regmap/regmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.15","versionType":"semver"},{"version":"5.10.249","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.199","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.162","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.122","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.68","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.8","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/regmap/regmap.c"]}],"references":["https://git.kernel.org/stable/c/e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5","https://git.kernel.org/stable/c/766e243ae8c8b27087a4cc605752c0d5ee2daeab","https://git.kernel.org/stable/c/f1e2fe26a51eca95b41420af76d22c2e613efd5e","https://git.kernel.org/stable/c/24f31be6ad70537fd7706269d99c92cade465a09","https://git.kernel.org/stable/c/4aab0ca0a0f7760e33edcb4e47576064d05128f5","https://git.kernel.org/stable/c/c2d2cf710dc3ee1a69e00b4ed8de607a92a07889","https://git.kernel.org/stable/c/4b58aac989c1e3fafb1c68a733811859df388250"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23071.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23071","state":"PUBLISHED","datePublished":"2026-02-04T16:07:51.603Z","dateUpdated":"2026-10-19T18:25:29.039Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:45.955Z"},"containers":{"cna":{"title":"regmap: Fix race condition in hwspinlock irqsave routine","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nregmap: Fix race condition in hwspinlock irqsave routine\n\nPreviously, the address of the shared member '&map->spinlock_flags' was\npassed directly to 'hwspin_lock_timeout_irqsave'. This creates a race\ncondition where multiple contexts contending for the lock could overwrite\nthe shared flags variable, potentially corrupting the state for the\ncurrent lock owner.\n\nFix this by using a local stack variable 'flags' to store the IRQ state\ntemporarily."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"766e243ae8c8b27087a4cc605752c0d5ee2daeab","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"f1e2fe26a51eca95b41420af76d22c2e613efd5e","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"24f31be6ad70537fd7706269d99c92cade465a09","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"4aab0ca0a0f7760e33edcb4e47576064d05128f5","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"c2d2cf710dc3ee1a69e00b4ed8de607a92a07889","versionType":"git"},{"version":"8698b9364710e7bac84b3af07dd410e39c8c2e08","status":"affected","lessThan":"4b58aac989c1e3fafb1c68a733811859df388250","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/regmap/regmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.15","versionType":"semver"},{"version":"5.10.249","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.199","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.162","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.122","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.68","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.8","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/regmap/regmap.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5"},{"url":"https://git.kernel.org/stable/c/766e243ae8c8b27087a4cc605752c0d5ee2daeab"},{"url":"https://git.kernel.org/stable/c/f1e2fe26a51eca95b41420af76d22c2e613efd5e"},{"url":"https://git.kernel.org/stable/c/24f31be6ad70537fd7706269d99c92cade465a09"},{"url":"https://git.kernel.org/stable/c/4aab0ca0a0f7760e33edcb4e47576064d05128f5"},{"url":"https://git.kernel.org/stable/c/c2d2cf710dc3ee1a69e00b4ed8de607a92a07889"},{"url":"https://git.kernel.org/stable/c/4b58aac989c1e3fafb1c68a733811859df388250"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:59:26.280Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"5.10.249"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"5.15.199"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.1.162"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.6.122"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.12.68"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.18.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-23071","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-06-10T20:40:57.245934Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","type":"CWE","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T18:25:29.039Z"}}]}}}